LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-29-2004, 04:33 PM   #1
Techweenie1
Member
 
Registered: Feb 2003
Location: Hinsdale/Chicago, IL, USA
Distribution: Slackware 10 (2.6.8.1)
Posts: 43

Rep: Reputation: 15
Automuting sound from TV Tuner?


On my linux box I have a Sound Blaster AWE64 ISA Card and a 3dfx Desktop TV/FM PCI Card (also goes by STB Desktop TV/FM). The TV/FM card is based on the bt878 chipset with a Phillips NTSC Tuner. Anyway I have the audio from the TV tuner going into the Auxiliary port (internal) on my AWE and I have the CD out going to the CD-IN (internal) on the AWE. For sound I am using the ALSA version 1.0.5a with OSS Compatibility modules loaded.

When I launch the Gnome Mixer (gnome-volume-control) I have two tabs one saying CTL1745 [Audio Mixer (OSS)] and another that says Sound Blaster 16 [Alsa Mixer]. They both control my AWE Card. At startup as soon as ALSA loads my OSS Compatibility modules I get this loud deafening sound of static coming from my speaker.

Next I try using my Alsa Mixer to adjust the sound, of course no AUX control is present so I try one by one, and to my surprise it turns out that my AUX is controlled by the CD Volume. But not only that the CD Volume also controls the CD-IN volume, making it hard to listen to an audio cd if I wanted to without hearing either static or a properly tuned channel. On the ALSA Mixer checking the Mute box does nothing under the CD volume control...while if I go to the OSS Mixer and click the mute box under the CD Mixer it actually mutes!

So I push mute, effectively muting my CD-IN and AUX. So I fire up a tv app to make sure my tuner is working right. I tried both xawtv and tvtime, both load the tuner fine, with no sound, unless I actually adjust the volume from the mixer or from tvtime's or xawtv's volume control. After quiting tvtime or xawtv with the volume from my tuner unmuted it stays unmuted. So I have to go to the OSS mixer in gnome again and mute it!

Anyway this is very frustrating, how can I have it so that 1) My Aux and my CD volumes don't correspond to the same volume control in my mixer, 2) how can I get the ALSA Mute button working on the the volume controlling my AUX , and 3) How do I setup my tv/radio audio so that it mutes when I am not using a tv or radio application and unmute when I am?

Thank you in advance
 
Old 08-30-2004, 01:53 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Gnome mixer should not see both sb16 and CTL1745. What does your conf.modules, modules.conf or a file similar to it lists.
 
Old 08-30-2004, 02:25 AM   #3
Techweenie1
Member
 
Registered: Feb 2003
Location: Hinsdale/Chicago, IL, USA
Distribution: Slackware 10 (2.6.8.1)
Posts: 43

Original Poster
Rep: Reputation: 15
Here is my modules.conf:

# ALSA portion
alias char-major-116 snd

alias snd-card-0 snd-sbawe
alias snd-card-1 snd-bt87x

#i2c
alias char-major-89 i2c-dev

# module options should go here
# options snd-sbawe index=0
# options snd-bt87x index=1
# options i2c-core i2c_debug=1
# options i2c-algo-bit bit_test=1

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 -snd-card-0

# card #1 Sound Blaster AWE 64
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

# card #2 bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv card=40 tuner=2 radio=1 automute=1 audiomux=0

also I have the line /sbin/modprobe snd-sbawe in my rc.modules file, so that I get sound from my AWE Card, without that line the only thing that loads up I think is the audio chip from my tv tuner card? There's no name or tab that says what it is, all I see is a volume control for "Synth" and "In-Gain" Anyway is this the proper way to load that module? Also it seems that this rc.hotplug script loads a bunch of things.
 
Old 08-30-2004, 01:55 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The lines in modules.conf should be in rc.modules. Then just comment "/sbin/modprobe snd-sbawe". Slackware is different than other Linux distirbutions to automatically load up modules at boot up.
 
Old 08-30-2004, 02:10 PM   #5
Techweenie1
Member
 
Registered: Feb 2003
Location: Hinsdale/Chicago, IL, USA
Distribution: Slackware 10 (2.6.8.1)
Posts: 43

Original Poster
Rep: Reputation: 15
well I tried that but it didn't really like it...got a bunch of errors on startup from rc.S didn't load any of the snd-sbawe modules either, it did load the bttv stuff though, however it loads the bttv without any of the stuff I added to rc.modules. Another thing I noticed is that by adding these lines to my modules.conf

options snd-sbawe index=0
options snd-bt87x index=1

the snd-sbawe modules load (without /sbin/modprobe snd-sbawe in rc.modules) and so do the snd-bt87x ones, however I still encounter the same problem with the mixers and automuting.

Last edited by Techweenie1; 08-30-2004 at 02:15 PM.
 
Old 08-30-2004, 09:01 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I think ALSA may stop writing software for AWE64 because it is a very old sound card. Also ISA is becoming none existing in motherboards. I suggest getting PCI sound card like Turtle Beach Santa Cruz. It will be a great improvement on terms of sound quality and much easier to adjust the mixer. I do not know anything setting up ISA cards with kernel version 2.6.x You can try the OSS modules. Those will not have snd- prefix.


BTW, you probably have another version of AWE64 that the module can not detect what port to use.
 
Old 08-30-2004, 09:03 PM   #7
Techweenie1
Member
 
Registered: Feb 2003
Location: Hinsdale/Chicago, IL, USA
Distribution: Slackware 10 (2.6.8.1)
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Electro
I think ALSA may stop writing software for AWE64 because it is a very old sound card. Also ISA is becoming none existing in motherboards. I suggest getting PCI sound card like Turtle Beach Santa Cruz. It will be a great improvement on terms of sound quality and much easier to adjust the mixer. I do not know anything setting up ISA cards with kernel version 2.6.x You can try the OSS modules. Those will not have snd- prefix.


BTW, you probably have another version of AWE64 that the module can not detect what port to use.
Yeah I'm already in the process of throwing in a Sound Blaster 16 PCI I have lying around, thanks for your help though.
 
  


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
Wintv go tv tuner sound problems xuper Linux - Newbie 1 06-17-2005 10:10 PM
TV tuner sound problems xuper Linux - Newbie 1 06-04-2005 09:25 PM
TV Tuner (Pic. but no sound) ntamp Linux - Hardware 10 01-10-2005 03:45 AM
tv tuner; no sound?!?! aliiscool Linux - Software 5 08-30-2004 03:02 PM
Automuting sound from TV Tuner? Techweenie1 Linux - Distributions 1 08-29-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:10 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