Web lists-archives.com

Re: Support for Medion CTX953




Am Freitag, 10. August 2007 21:58 schrieben Sie:
> here is a patch for further testing on card=109.
>
> Of course still only a guess.
> (remove with "patch -R -p1 < patch.name" from mercurial v4l-dvb if
> useless or edit manually accordingly)

I disabled all v4l/dvb stuff in the kernel, make, make modules, make 
modules_install.

Downloaded the dvb-sources via mercurial and changed saa7134-cards.c to look 
like this:

        [SAA7134_BOARD_PHILIPS_TIGER_S] = {
                .name           = "Philips Tiger - S Reference design",
                .audio_clock    = 0x00187de7,
                .tuner_type     = TUNER_PHILIPS_TDA8290,
                .radio_type     = UNSET,
                .tuner_addr     = ADDR_UNSET,
                .radio_addr     = ADDR_UNSET,
                .tuner_config   = 2,
                .mpeg           = SAA7134_MPEG_DVB,
                .gpiomask       = 0x0200000,
                .inputs = {{
                        .name   = name_tv,
                        .vmux   = 1,
                        .amux   = TV,
                        .tv     = 1,
                        .gpio   = 0x0200000,
                },{
                        .name   = name_comp1,
                        .vmux   = 3,
                        .amux   = LINE1,
                },{
                        .name   = name_svideo,
                        .vmux   = 8,
                        .amux   = LINE1,
                }},
                .radio = {
                        .name   = name_radio,
                        .amux   = TV,
                        .gpio   = 0x0000000,
                },
        },

make, make install. reboot with new kernel.

modprobe saa7134 card=109 now yields:

Linux video capture interface: v2.00
saa7130/34: v4l2 driver version 0.2.14 loaded
saa7133[0]: found at 0000:04:01.0, rev: 209, irq: 22, latency: 64, mmio: 
0xff9ff800
saa7133[0]: subsystem: 16be:0010, board: Philips Tiger - S Reference design 
[card=109,insmod option]
saa7133[0]: board init: gpio is 0
saa7133[0]: i2c eeprom 00: be 16 10 00 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff 00 01 50 32 79 01 3c ca 50
saa7133[0]: i2c eeprom 20: 01 40 01 02 02 03 01 00 06 ff 00 2c 02 51 96 2b
saa7133[0]: i2c eeprom 30: a7 58 7a 1f 03 8e 84 5e da 7a 04 b3 05 87 b2 3c
saa7133[0]: i2c eeprom 40: ff 21 00 c0 96 10 03 22 15 00 fd 79 44 9f c2 8f
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0
DVB: registering new adapter (saa7133[0])
DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
tda1004x: setting up plls for 48MHz sampling clock
tda1004x: found firmware revision 26 -- ok
tda827x_probe_version: could not read from tuner at addr: 0xc2

Is this any better? Didn't you say you'd like to change some tuner address, 
too? Or was this already done by changing the gpio values?

thanks hermann!
ben

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list