One of my recent upgrades to IVTV caused my hd-3000's cx88xx module to disagree about the version of tveeprom. So figured Hans recommended using the kernel version of tveeprom anyways, I'll just go update that. Grabbed the latest video4linux snapshot and built it, but I sure can't get ivtv to work with it's version of tveeprom. Here's the dmesg output :

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.9 (development svn snapshot revision 2670) loading
ivtv: Linux version: 2.6.12-1.1447_FC4 686 REGPARM 4KSTACKS gcc-4.0
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNK3] -> GSI 5 (level, low) -> IRQ 5
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv warning: i2c client addr: 0x50 not found for command 0x0!
ivtv: Error -19 reading Hauppauge eeprom.
ivtv: Possible causes: the tveeprom module was not loaded, or
ivtv: the eeprom kernel module was loaded before the tveeprom module.
tuner: chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
TEA5767 detected.
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=60]
tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
type set to 62 (Philips TEA5767HN FM Radio)
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840: loading /lib/modules/HcwMakoA.ROM
ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #0 ok [client=wm8775[50], addr=1b]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv: Could not detect tuner standard, defaulting to NTSC.
ivtv: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv: Create encoder radio stream
tuner: tuner type not set
ivtv: Initialized WinTV PVR 150, card #0
ivtv: ======================  NEXT CARD  ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [LNK4] -> GSI 12 (level, low) -> IRQ 12
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61]
cx25840: loading /lib/modules/HcwMakoA.ROM
ivtv: i2c attach to card #1 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #1 ok [client=wm8775[50], addr=1b]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv warning: i2c client addr: 0x50 not found for command 0x0!
ivtv: Error -19 reading Hauppauge eeprom.
ivtv: Possible causes: the tveeprom module was not loaded, or
ivtv: the eeprom kernel module was loaded before the tveeprom module.
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner: tuner type not set
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================


And here's dmesg when using all ivtv modules (from an earlier version) :

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.7 (k) loading
ivtv: Linux version: 2.6.12-1.1447_FC4 686 REGPARM 4KSTACKS gcc-4.0
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNK3] -> GSI 5 (level, low) -> IRQ 5
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 23552, rev = D492, serial# = 8023493
tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
ivtv: This is the first unit of a PVR500
tuner: chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
TEA5767 detected.
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=60]
tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
type set to 62 (Philips TEA5767HN FM Radio)
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840: firmware /lib/modules/HcwMakoA.ROM loaded
ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #0 ok [client=wm8775[50], addr=1b]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv: Encoder revision: 0x02040011
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Create DMA encoder VBI stream: 0 x 17472 buffers (0KB total)
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Create encoder radio stream
tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0
ivtv: Initialized WinTV PVR 150, card #0
ivtv: ======================  NEXT CARD  ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [LNK4] -> GSI 12 (level, low) -> IRQ 12
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 23552, rev = D492, serial# = 8023493
tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61]
cx25840: firmware /lib/modules/HcwMakoA.ROM loaded
ivtv: i2c attach to card #1 ok [client=cx25840[50], addr=44]
ivtv: i2c attach to card #1 ok [client=wm8775[50], addr=1b]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv: This is the second unit of a PVR500
ivtv: Correcting tveeprom data: no radio present on second tuner
ivtv: Encoder revision: 0x02040011
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Create DMA encoder VBI stream: 0 x 17472 buffers (0KB total)
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ====================  END INIT IVTV  ====================
<snip>
cx88xx: disagrees about version of symbol tveeprom_hauppauge_analog

To make sure tveeprom was really loaded before ivtv, I rmmod ivtv, verified that my new video4linux tveeprom was loaded, then modprobed ivtv. Same thing. I checked the tveeprom.c in my v4l2 snapshot and my card is there and listed as number 92.

I have no idea how the tveeprom maps tuners to cards, so I'm including my lspci -vv for the card:

01:08.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non- transparent mode) (rev 11) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, Cache Line Size 08
        Bus: primary=01, secondary=02, subordinate=02, sec-latency=32
        Prefetchable memory behind bridge: d4000000-dbffffff
Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
        Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1 +,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
                Bridge: PM- B3+
        Capabilities: [90] #06 [0000]

02:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device e807
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size 08
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at d4000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME (D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device e817
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size 08
        Interrupt: pin A routed to IRQ 12
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME (D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

I've tried using just tveeprom from the v4l snapshot, and both tveeprom and tuner. The rest of the modules I use from ivtv.

Thanks for reading this long email.
Keith C


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to