saa7134-20020219.tar.gz and amux_radio for FV2K

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Gerd,

I noticed that you've merged my patches into the saa7134 module. Thanks.
However, I found that in this version, the audio path handling
on my FlyVideo2000 card is messed up if amux_radio isn't defined
(a -1 works).

With the stock saa7134-20020219 code, after I modprobe saa7134,
it'd enable TV audio correctly on first invocation of xawtv or fbtv.
(And only after I've executed aumix!)
If I switch channels, the TV audio will mute. It'll unmute only when
I reselect the television input or switch to a Composite input then back
to television. If I quit xawtv and execute it again, most of the time
the audio remains muted and I can't recover until I rmmod saa7134 and
repeat the steps above.

If I defined amux_radio for the card, then the audio path is unmuted all
the time when selecting TV as input source, and switching channels does
not mute the audio. However, TV audio remains active even after I quit
xawtv. Also, I don't face the initial startup problems (no need to invoke
aumix).

I suspect that the audio path handling code is executed differently,
depending on whether aumix_radio is defined, and this affects the way the
FlyVideo2000 handles audio. I haven't figured out the code yet to
understand how audio path handling works and how it selects between
TV/Composite mode and FM radio modes.

It may be that the FlyVideo2000 uses the LINE2 audio path to handle all
audio inputs and I need to switch some other bits to mute/unmute, select
between amux_tuner and amux_extern, etc. However, without access to
proper technical documents on the saa7130 device, I'm not able to proceed.

Incidentally, I missed the card_hasaudio() macro definition in saa7134.h
the last time (to account for the saa7130 case), will submit a patch
later.

T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. Science Malaysia,
11800 Minden, Penang, Malaysia.          Ofc Ph: +604 657-7888 x 3617
Internet: tcwan@xxxxxxxxx            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg.asc
F'print : 2DB6 E00A 9B98 BD36 AF0A  0FE8 69D2 20E5 573C DBA3






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux