[linux-dvb] [RFC] Hybrid tuner refactoring, phase 1

Mauro Carvalho Chehab mchehab at infradead.org
Tue Aug 21 13:08:27 CEST 2007


> >
> > I didn't reviewed yet the tea5767 changes. I expect to do it later this
> > week (maybe today night).
> Thank you -- I appreciate that.

I did just a quick test yesterday. I didn't analyzed the source code
yet. Basically, tea5767 didn't work:

Those are the _normal_ logs from tip:

Linux video capture interface: v2.00
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
ACPI: PCI Interrupt 0000:05:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 74
cx88[0]: subsystem: 0000:0000, board: PixelView PlayTV Ultra Pro (Stereo) [card=27,insmod option]
cx88[0]: TV tuner type 59, Radio tuner type -1
tveeprom 0-0050: Huh, no eeprom present (err=-121)?
input: cx88 IR (PixelView PlayTV Ultra as /class/input/input7
cx88[0]/0: found at 0000:05:07.0, rev: 5, irq: 74, latency: 32, mmio: 0xc8000000
tuner 0-0060: TEA5767 detected.
tuner 0-0060: chip found @ 0xc0 (cx88[0])
tuner 0-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 0-0061: chip found @ 0xc2 (cx88[0])
tuner 0-0061: type set to 59 (Ymec TVision TVF-5533MF)
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0

On this log, tea5767 were correctly autodetected at 0x60 and TVF-5533MF at 0x61.

------------------------------------------------------

Those are the logs with your patch series applied:

Linux video capture interface: v2.00
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
ACPI: PCI Interrupt 0000:05:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 74
cx88[0]: subsystem: 0000:0000, board: PixelView PlayTV Ultra Pro (Stereo) [card=27,insmod option]
cx88[0]: TV tuner type 59, Radio tuner type -1
tveeprom 0-0050: Huh, no eeprom present (err=-121)?
input: cx88 IR (PixelView PlayTV Ultra as /class/input/input6
cx88[0]/0: found at 0000:05:07.0, rev: 5, irq: 74, latency: 32, mmio: 0xc8000000
i2c_adapter i2c-0: sendbytes: error - bailout.
It is not a TEA5767. Received -14 bytes.
tuner 0-0060: chip found @ 0xc0 (cx88[0])
tuner-simple 0-0060: type set to 59 (Ymec TVision TVF-5533MF)
tuner 0-0060: type set to Ymec TVision TVF-5533MF
tuner 0-0061: chip found @ 0xc2 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0

It seems that I2C reported -EFAULT (-14) to the autoprobe code. Since
tea5767 weren't detected, TVF-5533MF were also missdetected as address
0x60, instead of 0x61.
 

Cheers,
Mauro




More information about the linux-dvb mailing list