Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bttv sound vanished (alsa+2.6.5 kernel)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
primus
Apprentice
Apprentice


Joined: 07 Jun 2003
Posts: 230

PostPosted: Tue Jun 01, 2004 1:08 pm    Post subject: bttv sound vanished (alsa+2.6.5 kernel) Reply with quote

hey all,

i had just gotten my tvtuner card up and running (ATI TV Wonder), and the picture was fine and i had working sound.

i dont know if it was something i changed, or something that i had loaded, but when i reset my box, the sound stopped working on the tv card, and i havent been able to get it back, but the video is still okay. i have read many posts on these forums about unmuting the "line" control in the alsamixer, but i tried that with no luck... also i am a bit confused how the tvcard uses the "line", because isnt that an input from one's soundcard? i think i am confused, but are people running a cable to their soundcard from their tv card? ...i dont think so, but it just seems odd that the line-in controls the tv tuner audio.

anyway, i really cant remember if i loaded any modules previously that may have gotten the tuner card sound. is there some type of history or something that i can check to see if i had something loaded besides what is in my kernel-2.6 file?

as for some specifications, my sound card uses the cs46xx driver, which i built as a module, and my sound from xmms works fine.

relevant lsmod:
Code:

Module                  Size  Used by
bttv                  142124  0
video_buf              16644  1 bttv
i2c_algo_bit            8904  1 bttv
v4l2_common             4928  1 bttv
btcx_risc               3848  1 bttv
videodev                7424  1 bttv
tuner                  17100  0
tvaudio                20428  0
msp3400                22164  0
i2c_core               18756  5 bttv,i2c_algo_bit,tuner,tvaudio,msp3400
snd_bt87x              11204  0
snd_cs46xx             85960  2
snd_rawmidi            20448  1 snd_cs46xx
snd_seq_device          6536  1 snd_rawmidi
snd_ac97_codec         61444  1 snd_cs46xx
snd_pcm_oss            49188  0
snd_pcm                85512  3 snd_bt87x,snd_cs46xx,snd_pcm_oss
snd_page_alloc          8964  3 snd_bt87x,snd_cs46xx,snd_pcm
snd_timer              21700  1 snd_pcm
snd_mixer_oss          17408  1 snd_pcm_oss
snd                    47524  13 snd_bt87x,snd_cs46xx,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               7584  2 bttv,snd


some of the modules i have loaded are not being used... like the "tvaudio", which i just tried for kicks. the following is a relevant dmesg:

Code:

bttv0: unloading
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0f.0, irq: 11, latency: 32, mmio: 0xe7102000
bttv0: detected: ATI TV Wonder [card=63], PCI subsystem ID is 1002:0001
bttv0: using: ATI TV-Wonder [card=63,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
msp34xx: init: chip=MSP3445G-B8 +nicam +simple +radio
msp3410: daemon started
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by insmod option
bttv0: using tuner=2
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).

tuner: type already set to 2, ignoring request for 19
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by insmod option


i have tried to do modprobe bttv tuner=2 card=63 and other variations with tuner=44 (which was from the README for the online bttv drivers). also i tried modprobe tuner type=2 which gives me great video quality, and also type=44. none of this made a difference.

as for my sound, here is the output from "amixer". i cut out a few irrelevant lines, like the "capabilities, playback channels, and limits", to try and make it more managable, but it is still rather lengthy:

Code:

Simple mixer control 'Master',0
  Front Left: Playback 63 [100%] [on]
  Front Right: Playback 63 [100%] [on]
Simple mixer control 'Master',1
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Headphone',0
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control '3D Control - Center',0
  Mono: 0 [0%]
Simple mixer control '3D Control - Center',1
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',1
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Mono: Playback [off]
Simple mixer control '3D Control - Switch',1
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Front Left: Playback 6 [19%] [on]
  Front Right: Playback 6 [19%] [on]
Simple mixer control 'PCM Out Path & Mute',0
  Mono:
Simple mixer control 'PCM Out Path & Mute',1
  Mono:
Simple mixer control 'PCM',1
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Surround',1
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Center',1
  Mono: Playback 0 [0%] [off]
Simple mixer control 'LFE',1
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Line',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Playback 16 [52%] [on] Capture [on]
  Front Right: Playback 16 [52%] [on] Capture [on]
Simple mixer control 'Line',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
  Mono: Playback [off]
Simple mixer control 'Mic Boost (+20dB)',1
  Mono: Playback [off]
Simple mixer control 'Mic',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Video',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Video',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Phone',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Phone',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958 Input',0
  Mono: Playback [off]
Simple mixer control 'IEC958 Output',0
  Mono: Playback [off]
Simple mixer control 'Aux',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Aux',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Capture',0
  Capture channels: Front Left - Front Right
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Capture',1
  Capture channels: Front Left - Front Right
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',1
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'ADC',0
  Capture channels: Front Left - Front Right
  Front Left: 32767 [100%] Capture [off]
  Front Right: 32767 [100%] Capture [off]
Simple mixer control 'DAC',0
  Capture channels: Front Left - Front Right
  Front Left: 32768 [100%] Capture [off]
  Front Right: 32768 [100%] Capture [off]
Simple mixer control 'Optical/Coaxial SPDIF Input',0
  Mono: Playback [on]


as i said before, it used to work fine... i am really at a loss, but i think there is some simple solution i am just not seeing. i would apprciate any help. thanks.
_________________

$japh=qq/62D112U107N106E28D89U104N109E89 D86U96N102E14D77U87N106E96D12U68N95E98 D102U101N101E/;
map { $i++ while chop; push (@dune,$i); undef $i; } split /[eE]/;
map { print chr ${\(shift(@dune) + $_)}; } split /[DUNE]/,$japh;
Back to top
View user's profile Send private message
trpn
n00b
n00b


Joined: 29 Dec 2002
Posts: 74

PostPosted: Wed Jun 02, 2004 3:05 am    Post subject: Reply with quote

yes people are running a line from there tv card to their sound card... thats what i have to do. I have the cheap version of your card (the VE) and there is a small wire that goes from the tv card to the line-in port on the sound card. I know that some cards do not need this line.... I think the btaudio module is used for instances such as yours.

Anyways, I had a similar problem as yours and I was able to get sound by turning up the "analog mix" and "line" in alsamixer. Hope that helps.
Back to top
View user's profile Send private message
primus
Apprentice
Apprentice


Joined: 07 Jun 2003
Posts: 230

PostPosted: Wed Jun 02, 2004 3:30 am    Post subject: Reply with quote

thank you for the reply.

yea, i have gather people are running cables from the tv tuner to the sound card, however i didnt do this before when the sound worked... it is very odd. maybe the card was horribly messed up and now it is working "properly" (with no sound).

but i do have the audio out in the back of the card, and i tried to hook up headphones to it... which should work since it is analog (i think), and i didnt get any sound.

i am curious how you "turned up the analog mix" in the alsamixer... i have "Mix", "Mix 1", "Mix Mono", "Mix Mono 1" and i tried
Code:
amixer set Mix 100 unmute
and it sent back
Code:

  Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]

which didnt do anything... at least i didnt notice.

hmm... i am still at a loss.
_________________

$japh=qq/62D112U107N106E28D89U104N109E89 D86U96N102E14D77U87N106E96D12U68N95E98 D102U101N101E/;
map { $i++ while chop; push (@dune,$i); undef $i; } split /[eE]/;
map { print chr ${\(shift(@dune) + $_)}; } split /[DUNE]/,$japh;
Back to top
View user's profile Send private message
primus
Apprentice
Apprentice


Joined: 07 Jun 2003
Posts: 230

PostPosted: Wed Jun 02, 2004 2:29 pm    Post subject: Reply with quote

well, i am getting nowhere with this sound issue... it seems to me that something is just muted, because the card is being detected and operates fine (without sound of course).

but is there a way to unmute, or control the volume of the ATI Wonder card itself? i have been reading on other posts that you can adjust it via the Mixer. can someone please explain this? it seems like the audio output from the tv tuner is just off... or something.

thanks
_________________

$japh=qq/62D112U107N106E28D89U104N109E89 D86U96N102E14D77U87N106E96D12U68N95E98 D102U101N101E/;
map { $i++ while chop; push (@dune,$i); undef $i; } split /[eE]/;
map { print chr ${\(shift(@dune) + $_)}; } split /[DUNE]/,$japh;
Back to top
View user's profile Send private message
primus
Apprentice
Apprentice


Joined: 07 Jun 2003
Posts: 230

PostPosted: Wed Jun 02, 2004 10:02 pm    Post subject: Reply with quote

well, the problem has been resolved. i just attached a cable to the line-in on the soundcard. it just seems on that it worked fine without it before. oh well. heh thanks all.
_________________

$japh=qq/62D112U107N106E28D89U104N109E89 D86U96N102E14D77U87N106E96D12U68N95E98 D102U101N101E/;
map { $i++ while chop; push (@dune,$i); undef $i; } split /[eE]/;
map { print chr ${\(shift(@dune) + $_)}; } split /[DUNE]/,$japh;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum