Missed audio patch patches for FV2K

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



Gerd,

I'm resending the audio path patches for FV2K to use the Analog Mux for
muting/unmuting, as well changed the radio input to be consistent with
FV3K. The radio input change was reported to work fine (with the patch or
without the patch). This patch works fine with the Apr 3rd snapshot
(audio path is muted until a v4l application, e.g., fbtv selects a tv
channel).

--- saa7134-cards.c~	2003-04-15 11:12:53.000000000 +0800
+++ saa7134-cards.c	2003-04-15 11:14:34.000000000 +0800
@@ -134,10 +134,12 @@
                 .radio = {
                         .name = name_radio,
                         .amux = LINE2,
+			.gpio = 0x2000,
                 },
 		.mute = {
 			.name = name_mute,
-			.amux = LINE1,
+			.amux = LINE2,
+			.gpio = 0x8000,
 		},
 	},
 	[SAA7134_BOARD_EMPRESS] = {

--------------------- cut here ---------------------

However, when applied against the Apr 10 snapshot, I find that the
audiopath unmutes automatically when the saa7134 module is first loaded.
This happens even though the gpio_tracking output says it's muted?!
Audio behaves normally only after running fbtv, for example, which
exercises the audio muting/unmuting logic.

saa7130/34: v4l2 driver version 0.2.7 loaded
PCI: Found IRQ 5 for device 00:0b.0
PCI: Sharing IRQ 5 with 00:02.2
saa7130[0]: found at 00:0b.0, rev: 1, irq: 5, latency: 32, mmio: 0xe5000000
saa7130[0]: subsystem: 1131:0000, board: LifeView FlyVIDEO2000 [card=3,insmod option]
i2c-core.o: adapter saa7130[0] registered as adapter 0.
saa7130[0]: Huh, no eeprom present (err=-5)?
saa7130[0]: gpio: mode=0x000e000 in=0x0030500 out=0x0008000 [pre-init]
saa7130[0]: gpio: mode=0x000e000 in=0x0030500 out=0x0008000 [mute]
saa7130[0]: flyvideo: gpio is 0x38500
i2c-core.o: driver i2c TV tuner driver registered.
tuner: chip found @ 0xc2
tuner: type set to 37 (LG PAL (newer TAPC series))
i2c-core.o: client [LG PAL (newer TAPC series)] registered to adapter [saa7130[0]](pos. 0).
saa7130[0]: registered device video0 [v4l2]
saa7130[0]: registered device vbi0
saa7130[0]: registered device radio0

T.C.
----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. Science Malaysia,
11800 Minden, Penang, Malaysia.          Ofc Ph: +604 653-3888 x 3617
Internet: tcwan@xxxxxxxxx            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7







[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