hi deadream.
since i run slackware as well, as well as using a bt878 tv-card
and a soundcard in the soundblaster series, i will try to guide
you through setting up alsa and the bttv module.
i will assume you have not recompiled your kernel.
step 1: add your emu10k1 (soundblaster) soundcard module and
any existing bttv module to slackwares' hotplug blacklist so that it
is not loaded at boot and will not interfere with alsa.
go to a root console, and edit /etc/hotplug/blacklist
(example: 'pico /etc/hotplug/blacklist')
add the following at the bottom:
emu10k1
emu10k1-gp
bttv
use ctrl + x and press enter to save changes.
step 2: get the alsa packages and compile and install them.
filenames:
alsa-driver-0.9.4.tar.bz2
alsa-lib-0.9.4.tar.bz2
alsa-utils.0.9.4.tar.bz2
alsa-oss-0.9.4.tar.bz2
download mirrors:
click here
now, go to a root console again and extract the packages:
tar vxfj *driver*
tar vxfj *lib*
tar vxfj *util*
tar vxfj *oss*
go to the driver directory, and run the following commands in order:
./configure --with-sequencer=yes --with-oss=yes --with-cards=emu10k1
make all
make install
./snddevices
now compile and install the other packages:
cd ..
cd *lib*
./configure && make && make install
cd ..
cd *oss*
./configure && make && make install
cd ..
cd *utils*
./configure && make && make install
step 3: loading alsa and modifying your startup files.
now, after installing your alsa modules, run the following commands
to register the modules and load them:
depmod -a
modprobe snd-emu10k1
modprobe snd-pcm-oss
modprobe snd-seq-oss
to have these modules loaded at boot, edit /etc/rc.d/rc.local,
and add the following to the end of the file:
modprobe snd-MODUL
modprobe snd-pcm-oss
modprobe snd-seq-oss
step 4: configuring your mixer values and volume settings:
you will now be able to run alsamixer, or if you're in gnome, run
gnome-alsamixer (alsamixer is run in a console, gnome-alsamixer is
the pretty gui-version).
make sure you un-mute the pcm + master channel, and play
with the volumes until you have set for you acceptable values.
*note* i have noticed that with a 4.1/5.1/etc setup, the pcm
mixer value controls the balance between back and front speakers.
so set that about halfway or play some music and center it on you.
after setting the proper mixer values, run the following command
in a root console:
alsactl store (this will save the mixer values)
edit /etc/rc.d/rc.local again, and add 'alsactl restore' to the
end of it, to have the mixer-values loaded at boot.
step 5: loading your bttv module in a way it does not conflict.
since i assume you are using a stock kernel with accompanying
modules, the bttv module is already included and only needs to
be modprobed.
(if it is not installed for some reason, i can help you with that too).
go to a root console, and edit /etc/rc.d/rc.local again.
add 'modprobe bttv' to the end of the file.
step 6: create modules.conf
in a root console, open up pico (or any other text editor), and
create a new file /etc/modules.conf and add the following:
# add stuff for alsa
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-card-emu10k1
alias snd-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
# end alsa additions
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound emu10k1
this will map services to your mixer and such (not sure what it all
means, but i know i had to add this to get it to work :P)
step 7: reboot your machine to unload and load new modules
in the proper order.
^ reboot. after boot, you should be done and alsa + your tv
card should work. test alsa by playing an mp3, and test your
tv card using xawtv, zapping, or any other tv-card application.
good luck and let me know if everything works out.