LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-24-2004, 12:51 AM   #1
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Rep: Reputation: 15
distorted sound with tv card


hello...

my problem is this.... i have a tv card installed.... when i start it its sound is very distorted.... i have to turn down th volume to 75%.... so the problem is that the volume level is set to high....

how do i change it?.... alsaconf only list my soundblaster live and my Intel onboard card...i tried adjusting alsamixer, using alsamixer -c0 and -c1(i have two sound cards installed)......alsamixer only affects the sound card not the tv card.....i do believe it is a seperate sound device...is there a way to see a list of soundcards and or audio tuners?....is there a way to find out the name of the tv card's audio device?


the tv card uses bttv ....here is the dmesg for thsat section.....

Linux video capture interface: v1.00
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-algo-bit.o: i2c bit algorithm module
i2c-core.o: driver i2c TV tuner driver registered.
i2c-core.o: driver i2c msp3400 driver registered.
i2c-core.o: driver tv card mixer driver registered.
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea642
0,tda8425,pic16c54 (PV951),ta8874z
i2c-core.o: driver generic i2c audio driver registered.
bttv: driver version 0.7.108 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Bt8xx card found (0).
bttv0: Bt848 (rev 18) at 02:02.0, irq: 18, latency: 32, mmio: 0xec6ff000
bttv0: using: STB, Gateway P/N 6000699 (bt848) [card=3,insmod option]
i2c-algo-bit.o: Adapter: bt848 #0 scl: 1 sda: 1 -- testing...
i2c-algo-bit.o:1 scl: 1 sda: 0
i2c-algo-bit.o:2 scl: 1 sda: 1
i2c-algo-bit.o:3 scl: 0 sda: 1
i2c-algo-bit.o:4 scl: 1 sda: 1
i2c-algo-bit.o: bt848 #0 passed test.
tuner: chip found @ 0xc6
tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) [in
smod]
i2c-core.o: client [Philips NTSC (FI1236,FM1236 and] registered to adapter [bt84
8 #0](pos. 0).
msp3400: chip reset failed
tvaudio: found tea6300 @ 0x80
i2c-core.o: client [tea6300] registered to adapter [bt848 #0](pos. 1).
tvaudio: found tda9850 @ 0xb6
i2c-core.o: client [tda9850] registered to adapter [bt848 #0](pos. 2).
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: using tuner=2
tuner: type already set (2)
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0


-------------------------------------
any ideas on how to set that sucker????
 
Old 05-24-2004, 01:35 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Turn down only the line input level on one of the sound cards that you connected the tv tuner to. Then you should be fine. After you are done with alsamixer, run "alsactl store" as su or root.

You should never put the volume up to 100% for sound cards because they will clip (distort). Clipping causes speaker driver overload if you are not careful. Between 70% to 80% are good settings.
 
Old 05-24-2004, 04:22 AM   #3
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
i had tried using alsamixer to fix it already....

i have to open Xawtv and turn it down in there....it seems to be a whole other device.... how can i find the name of the device and how do i set it?...

any other ideas?
 
Old 05-24-2004, 04:58 AM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
First of all, what is the make and model of the TV card? With that information, we could look up its specifications and find out what sound chip it uses, if in fact it does use one.

Is the TV card connected to the sound card in any way? My TV card (AIW Radeon) connects to the Line-In port of my sound card. So to adjust the volume (if my Radeon had TV-in under Linux as well as Windows, which it unfortunately does not), I would have to adjust the Line-In channel on my mixer.

If your TV card does not need to connect to the sound card in any way at all, it's a fair bet that it has its own sound chip; you might try typing lspci in a terminal to see if its listed as part of the TV card's sub-devices.

Or, there's this, in the dmesg posted above:
Quote:
tvaudio: found tda9850 @ 0xb6
.

tda9850 appears to be the audio chipset; tvaudio appears to be the driver; seems to be part of the v4l (video 4 linux) kernel driver.

Since Xawtv (or any other TV display progam you might use) is the only program to use this device, it's not surprising that you might have to use the program itself to set the sound levels. Does Xawtv not retain its settings between uses?

However, it's quite possible that this can also be set in your mixer... have you used the right arrow key to make sure you've scrolled through all the mixer channels available to alsamixer? When you changed the mixer settings, did you reduce the PCM channel, or just the Main channel? PCM is normally the one that controls the guts of the main volume. There's also a "Video" channel, which on a system with a TV card might well control the chip in question. I've noticed that the GNOME sound mixer applet (I don't know about KDE) has tabs to reflect the mixers for different sound devices... if you use GNOME, you might want to check and see if there's a tab for tvaudio or something similar.

Hope this helps.
 
Old 05-24-2004, 03:19 PM   #5
derfaust
Member
 
Registered: Feb 2004
Location: TX, USA
Distribution: slack 9.1, 10, and 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
what type of card is it???....i listed the dmesg...but just in case...it is an STB TV card...card=3 and tuner=2


like i said already...i have tried using alsa mixer to adjust it...it does plug into my Aux on my SBLive!...but that does not turn stop the distortion, it just turns down the distortrion....all other sounds and sound channels are fine....

the TV card's audio, like i said, seems to be a seperate device...how do i set it?....is thier a way to set the volume in XawTV?...maybe its config....tried it....didnt work.....maybe i got the syntax wrong?....

anybody know the answer?

come on, someons's got to know

Last edited by derfaust; 05-24-2004 at 03:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Distorted sound Thulemanden Linux - Software 4 10-28-2005 05:20 PM
Sound on Gnome Distorted little_penguin Linux - Software 1 07-10-2005 02:10 PM
Sound distorted in Gnome :( little_penguin SUSE / openSUSE 0 07-04-2005 08:46 AM
Static, Distorted Sound Aeiri Linux - Software 1 02-27-2004 09:32 PM
sound distorted flump Linux - Software 1 08-23-2003 09:09 AM

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

All times are GMT -5. The time now is 11:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration