On Tue, 2008-09-16 at 10:30 -0700, Randall J. Parr wrote:
> Recently upgraded from Ubuntu Fiesty to Ubuntu 8.04 Hardy.
> Have Hauppauge PVR 500 card installed.
> 
> When I try to change inputs and/or channels on /dev/video1 I get errors 
> as follows in /var/log/syslog:
> -------------------------
> Sep 16 09:53:58 n3 kernel: [424785.738375] ivtv1: i2c addr 0x44 not 
> found for command 0xc0445624
> Sep 16 09:53:58 n3 kernel: [424785.738380] ivtv1: i2c hardware 
> 0x00000001 (cx2584x) not found for command 0xc0445624
> Sep 16 09:53:58 n3 kernel: [424785.738787] ivtv1: i2c addr 0x44 not 
> found for command 0x4008646f
> Sep 16 09:53:58 n3 kernel: [424785.741146] ivtv1: i2c hardware 
> 0x00000001 (cx2584x) not found for command 0x4008646d

The CX25843 broadcast decoder chip for the 2nd half of the card, didn't
respond on the I2C bus - weird.  The second half of the card will be
useless to you until that's resolved.


> /var/log/dmesg seems to imply things initialized OK although it seems to 
> find tuner #0 and tuner #1 at 0x43.
> 
> Any help would be greatly appreciated.
> 
> ----------------------------
> [   59.727812] Linux video capture interface: v2.00
> [   59.910377] ivtv:  Start initialization, version 1.1.0
> [   59.910528] ivtv0: Initializing card #0
> [   59.910576] ivtv0: Autodetected Hauppauge card (cx23416 based)
> [   59.962539] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 18
> [   59.962598] ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [LNKC] -> GSI 
> 18 (level, low) -> IRQ 24
> [   60.039386] tveeprom 2-0050: Hauppauge model 23552, rev D492, serial# 
> 7894525
> [   60.039440] tveeprom 2-0050: tuner model is Philips FQ1236A MK4 (idx 
> 92, type 57)
> [   60.039496] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
> [   60.039544] tveeprom 2-0050: second tuner model is Philips TEA5768HL 
> FM Radio (idx 101, type 62)
> [   60.039602] tveeprom 2-0050: audio processor is CX25843 (idx 37)
> [   60.039648] tveeprom 2-0050: decoder processor is CX25843 (idx 30)
> [   60.039696] tveeprom 2-0050: has radio, has no IR receiver, has no IR 
> transmitter
> [   60.039753] ivtv0: Autodetected WinTV PVR 500 (unit #1)
> [   60.194210] tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
> [   60.194283] tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
> [   60.194330] tuner 2-0043: type set to tda9887
> [   60.197974] TEA5767 detected.
> [   60.198018] tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> [   60.198075] tea5767 2-0060: type set to Philips TEA5767HN FM Radio
> [   60.198122] tuner 2-0060: type set to tea5767
> [   60.198390] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> [   60.254759] input: PC Speaker as /devices/platform/pcspkr/input/input4
> [   60.321441] cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)

Ok.  The CX25843 for the first half of the card was found at I2C address
44 on i2c-2, the third I2C bus in your system which is the first I2C bus
on this card.

> [   60.368425] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
> [   60.428238] tuner-simple 2-0061: type set to 57 (Philips FQ1236A MK4)
> [   60.428292] tuner 2-0061: type set to Philips FQ1236A MK4
> [   60.428597] ivtv0: Registered device video0 for encoder MPG (4096 kB)
> [   60.428666] ivtv0: Registered device video32 for encoder YUV (2048 kB)
> [   60.428734] ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
> [   60.428800] ivtv0: Registered device video24 for encoder PCM (320 kB)
> [   60.428867] ivtv0: Registered device radio0 for encoder radio
> [   60.428914] ivtv0: Initialized card #0: WinTV PVR 500 (unit #1)
> [   60.429033] ivtv1: Initializing card #1
> [   60.429079] ivtv1: Autodetected Hauppauge card (cx23416 based)
> [   60.508332] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 17
> [   60.508389] ACPI: PCI Interrupt 0000:04:09.0[A] -> Link [LNKD] -> GSI 
> 17 (level, low) -> IRQ 25
> [   60.513944] tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
> [   60.514005] tda9887 3-0043: tda988[5/6/7] found @ 0x43 (tuner)
> [   60.514052] tuner 3-0043: type set to tda9887
> [   60.517086] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> [   60.531120] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #1)
> [   60.627577] tveeprom 3-0050: Hauppauge model 23552, rev D492, serial# 
> 7894525
> [   60.627631] tveeprom 3-0050: tuner model is Philips FQ1236A MK4 (idx 
> 92, type 57)
> [   60.627688] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
> [   60.627743] tveeprom 3-0050: second tuner model is Philips TEA5768HL 
> FM Radio (idx 101, type 62)
> [   60.627801] tveeprom 3-0050: audio processor is CX25843 (idx 37)
> [   60.627848] tveeprom 3-0050: decoder processor is CX25843 (idx 30)
> [   60.627895] tveeprom 3-0050: has radio, has no IR receiver, has no IR 
> transmitter
> [   60.627952] ivtv1: Correcting tveeprom data: no radio present on 
> second unit
> [   60.628000] ivtv1: Autodetected WinTV PVR 500 (unit #2)
> [   60.706782] tuner-simple 3-0061: type set to 57 (Philips FQ1236A MK4)
> [   60.706835] tuner 3-0061: type set to Philips FQ1236A MK4

But here's the problem, the CX28543 for the second half of the card
didn't respond.  It should be on I2C address 44 on bus i2c-3, the fourth
I2C bus in your system which is the second I2C bus on this card.

> [   60.707125] ivtv1: Registered device video1 for encoder MPG (4096 kB)
> [   60.707194] ivtv1: Registered device video33 for encoder YUV (2048 kB)
> [   60.707259] ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
> [   60.707322] ivtv1: Registered device video25 for encoder PCM (320 kB)
> [   60.707370] ivtv1: Initialized card #1: WinTV PVR 500 (unit #2)
> [   60.707476] ACPI: PCI Interrupt 0000:03:02.0[A] -> Link [LNKD] -> GSI 
> 17 (level, low) -> IRQ 25
> [   60.710192] ALSA 
> /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-server/sound/alsa-driver/pci/emu10k1/../../alsa-kernel/pci/emu10k1/emufx.c:1544:
>  
> Installing spdif_bug patch: Audigy 2 ZS [SB0350]
> [   60.738955] ivtv:  End initialization

There are a number of things which could be going wrong.  Non of which
are easy to diagnose.

As a quick work-around please see if this works:

        # ivtvctl -d /dev/video1 --reset 2
        # v4l2-ctl -d /dev/video1 -i2
        # v4l2-ctl -d /dev/video1 -i0

That should reset the CX28543 broadcast decoder on the second half of
the card, try to reload it's firmware, and re-setup all it's registers.
I also added the other commands to go to Composite 1 and back to tuner,
just to make sure the chip and driver are is set up right for tuner
input.


Regards,
Andy


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to