Re: GPIO readout from FV2K

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



Here's the very minimum diff to enable sound on my FV2k. It sets one 
extra bit (bit 15) of the gpiomask. Unless this causes somebody 
else's card to break, I suggest this be incorporated into the main 
tree:

Cheers,
Shaun


--- saa7134-cards.c-    Tue Apr  8 04:18:26 2003
+++ saa7134-cards.c     Tue Apr  8 21:42:31 2003
@@ -108,7 +108,7 @@
                .name           = "LifeView FlyVIDEO2000",
                .audio_clock    = 0x00200000,
                .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
-               .gpiomask       = 0x6000,
+               .gpiomask       = 0xe000,
                .inputs         = {{
                        .name = name_tv,
                        .vmux = 1,


On Tue April 8, 2003 12h07, you wrote:
> I still need to make the following change to the gpiomask to enable
> sound on my card. It does not work without this line. I found
> though my previous audio_clock change (to 0x00187de7) was not
> necessary. I expect it's one single bit of the seven that I've
> turned on that makes audio work. My next work will be to find out
> exactly which bit.
>
> Cheers,
> Shaun
>
>
> --- saa7134-cards.c-    Tue Apr  8 04:18:26 2003
> +++ saa7134-cards.c     Tue Apr  8 12:01:06 2003
> @@ -108,7 +108,7 @@
>                 .name           = "LifeView FlyVIDEO2000",
>                 .audio_clock    = 0x00200000,
>                 .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
> -               .gpiomask       = 0x6000,
> +               .gpiomask       = 0x8018e700,
>                 .inputs         = {{
>                         .name = name_tv,
>                         .vmux = 1,
>
> On Mon April 7, 2003 03h41, you wrote:
> > Gerd,
> >
> > My dmesg dump for GPIO detection (FlyVideo 2000, PAL B/G, no FM
> > radio, no remote, no EEPROM) using Apr 3 snapshot:
> >
> > 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]
> > saa7130[0]: flyvideo: gpio is 0x30500
> > i2c-core.o: adapter saa7130[0] registered as adapter 0.
> > saa7130[0]: Huh, no eeprom present (err=-5)?
> > 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).
> >
> > 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