Re: [linux-audio-user] SB-Live users

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] SB-Live users
From: Jörn Nettingsmeier (nettings_AT_folkwang-hochschule.de)
Date: Sun Sep 09 2001 - 19:54:01 EEST


Chuck Busby wrote:
>
> Can anyone point me in the right direction to set up my SBlive card with
> the latest alsa cvs?
> What files do I need to set up and how in order to get it working on my
> Mandrake 8.0 system?
>

* download alsa-driver, alsa-lib and alsa-utils v. 0.9.0beta7,
compile them in that order. for details, read the readme and all the
docs that come with the packages.
* if you get errors that something was not found, make sure you have
the appropriate packages from your distro installed. sometimes,
there are -devel packages, which you will need if you compile stuff
yourself (namely ncurses-devel).
* add the following to your /etc/modules.conf:

# ALSA specific settings
alias char-major-116 snd
alias snd-card-0 snd-card-emu10k1
 
# OSS compatibility
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# Options
options snd-card-emu10k1 snd_index=0 snd_id="SBLIVE" snd_enable=1
options snd snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=17
\
  snd_device_pre-remove snd /usr/sbin/alsactl store

the gid 17 is group "audio" on my system, if you don't want it, set
it to "users" or something.
the mode 0666 means anyone can play or record (which makes the group
setting pretty useless). normally no problem, unless you are on a
network. in that case, people might easily spy on you by listening
to your microphone if you have one.

the following lines will save your mixer settings on shutdown and
retrieve them when you boot:
 
pre-remove snd /usr/sbin/alsactl store
post-install snd /usr/sbin/alsactl restore

if you want to use the midi synth, you need to load a soundfont,
otherwise the card will stay silent when you play MIDI. you can
automate that using the same mechanism as above:

post-install snd-seq /usr/bin/sfxload
/usr/share/sounds/sf2/8mbgmsfx.sf2

be sure to adapt this to your system, and don't rely on your $PATH
variable, but give full, absolute paths.
a soundfont can be found on the cd that should have come with your
card.

the sfxload program is unfortunately not distributed with the alsa
packages. google for "takashi iwai" (the author), and maybe
"sfxload", "soundblaster" and "emu".

good luck !

jörn

ps: while i'm glad to help, i suggest that questions of this kind be
directed to the alsa-user list instead. you will find many of your
questions will be answered by an archive search of alsa-user.

 

-- 
Jörn Nettingsmeier     
home://Kurfürstenstr.49.45138.Essen.Germany      
phone://+49.201.491621
http://spunk.dnsalias.org
http://www.linuxdj.com/audio/lad/


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Sep 09 2001 - 19:52:04 EEST