LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2003, 03:27 AM   #1
deadream
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
TV Tuner and SoundCard


...
How can i set up my soundcard? I have a SoundBlaster 64PCI.

I also want to set up my TV-Tuner. I have a Hauppage TV-Tuner.
...
 
Old 06-05-2003, 04:44 AM   #2
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
Smile

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.

Last edited by neenee; 06-05-2003 at 04:49 AM.
 
Old 06-08-2003, 01:34 AM   #3
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 117

Rep: Reputation: 15
this may be the instructions I'm looking for to get my SB Live ALSA working.
 
Old 06-08-2003, 12:42 PM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
well, good luck. i am glad at least someone
replied... i was expecting a reply from dead-
ream though.. strange that there was no
word from him.
 
Old 06-08-2003, 08:57 PM   #5
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 117

Rep: Reputation: 15
thanks. Didn't work for me though as no matter what I try to "module" in a kernel recompile when I try to modprobe or insmod them I get "no such module" errors.

So I always end up turning them on (Yes). In the case of sound I end up saying "Yes" to SB Live which provides me sound in Linux all applications including winex games except native Linux games. I hoped ALSA would solve this. But if I can't modules to work right then installing ALSA yet won't work will it?


=======UPDATE!!!!=========

It's ALIVE!!!! IT'S ALIVE!!!!!

ignored the modprobe errors I was getting and followed the ALSA steps you have above anyway and walla! it works! Basic sound = check, music = check, Linux native games such as Quake3 and RTCW Enemy Territory = check!

thx again,
now to see if there's any drivers out there for my ASUS tv card which uses the Connexant cx23880 chip but that's not high priority.
Rob

Last edited by RRepster; 06-09-2003 at 12:21 AM.
 
Old 06-09-2003, 03:30 AM   #6
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
good to hear :) enjoy the wonders of alsa.

(one small note about updating alsa when
a new version comes out; you can just re-
peat the driver, lib, util and oss-compat lib.
steps; this will neatly replace the existing
files. after that be sure to do 'alsactl store'
oncemore, since i once had the problem of
mixer-values having changed their name for
some reason)
 
Old 06-09-2003, 03:46 AM   #7
deadream
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
well neenee... sorry i haven't replied yet but i was trying to set up my soundcard and the tv tuner first......but i didn't make it....!
i tried to download the alsa packages from the location you said but i couldn't....
any advice.....??????
 
Old 06-09-2003, 05:45 AM   #8
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 117

Rep: Reputation: 15
they're right there on the first page of http://www.alsa-project.org/ deadream under "latest Software Releases". (i missed em the first time too guess I was expecting to have to click thru a few pages but nope they have em right there).
 
Old 06-10-2003, 02:31 AM   #9
deadream
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
i tried to download them but www.alsa-project.org wasn't available...
i will try again later....
thanks a lot...
 
Old 06-10-2003, 02:44 AM   #10
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
try these:

driver
library
utils
oss compat. lib
 
Old 06-12-2003, 04:22 AM   #11
deadream
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
ok...
that worked....
i'll try to set up it and i'll tell you the result....
thanx...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pb soundcard/tv tuner alka Linux - Hardware 1 11-24-2004 04:55 AM
kernel: tuner: tuner type not set gadhiraju Linux - Hardware 2 10-05-2004 12:17 PM
the most compatible TV tuner cards, or FM/AM Tuner aliiscool Linux - Hardware 1 06-06-2004 02:59 PM
tv tuner for mercury tv tuner card sandesh_hs Linux - Hardware 1 02-22-2004 03:20 AM
TV Tuner / AM&FM Tuner hardware N3WBI3 Linux - Hardware 2 08-01-2002 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration