[linux-dvb] Pinnacle PCTV 310i - remote control problem

my.dvb my.dvb at bigmike.it
Mon Nov 27 23:38:33 CET 2006


I'm using the PCTV 310i, and the video is working fine both for analog
and digital signals.

Currently my system is running with OpenSuse 10.1 with kernel 2.6.18.2
and the last v4l-dvb CVS available.

I have encountered problems with the remote control (no problems found
with Windows): keypresses are rarely recognised (and when it works,
there's a long delay, about 1-3 seconds). Enabling debug I have captured
a strange error message: an I2C device, sometimes, is not recognized
(maybe an hardware hangs?)

Here is a partial log (search "read error (-5)"):

Nov 25 22:15:01 mediacenter kernel: start xfer
Nov 25 22:15:01 mediacenter kernel: send address
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c data => 0x8f
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: read bytes
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c data <= 0x9b
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c data <= 0x7b
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c data <= 0xfb
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c data <= 0x1
Nov 25 22:15:01 mediacenter kernel: xfer done
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c attr => STOP
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_STOP
Nov 25 22:15:01 mediacenter kernel: saa7133[0]: i2c stat <= DONE_STOP
Nov 25 22:15:01 mediacenter kernel: ir-kbd-i2c: ok (4)
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_STOP
Nov 25 22:15:02 mediacenter kernel: start xfer
Nov 25 22:15:02 mediacenter kernel: send address
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data => 0x8f
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= NO_DEVICE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= NO_DEVICE
Nov 25 22:15:02 mediacenter kernel: ir-kbd-i2c: read error (-5)
Nov 25 22:15:02 mediacenter kernel: ir-kbd-i2c: error
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= NO_DEVICE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c reset
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= NO_DEVICE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat => NO_DEVICE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= NO_DEVICE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= IDLE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c attr => NOP
Nov 25 22:15:02 mediacenter kernel: start xfer
Nov 25 22:15:02 mediacenter kernel: send address
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data => 0x8f
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: read bytes
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data <= 0x60
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data <= 0x2
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data <= 0x0
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c attr => CONTINUE
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_READ
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data <= 0x10
Nov 25 22:15:02 mediacenter kernel: xfer done
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c attr => STOP
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= BUSY
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_STOP
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_STOP
Nov 25 22:15:02 mediacenter kernel: ir-kbd-i2c: ok (4)
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c stat <= DONE_STOP


Sometimes this works:
Nov 25 22:15:02 mediacenter kernel: start xfer
Nov 25 22:15:02 mediacenter kernel: send address
Nov 25 22:15:02 mediacenter kernel: saa7133[0]: i2c data => 0x8f

Sometimes this doesn't works, and an I2C reset is needed.


I have made these tests with lirc (using irw), with "cat
/dev/input/event3" and with... nothing (with a xterm console open. A
recognised keypress write the relative char on the command line).


Here is a dmesg output (filtered):

saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 17 (level, low) -> IRQ 209
saa7133[0]: found at 0000:00:08.0, rev: 209, irq: 209, latency: 32,
mmio: 0xfdfff000
saa7133[0]: subsystem: 11bd:002f, board: Pinnacle PCTV 310i
[card=101,autodetected]
saa7133[0]: board init: gpio is 600c000
ir-kbd-i2c: probe 0x7a @ saa7133[0]: no
ir-kbd-i2c: probe 0x47 @ saa7133[0]: yes
input: Pinnacle PCTV as /class/input/input3
ir-kbd-i2c: Pinnacle PCTV detected at i2c-1/1-0047/ir0 [saa7133[0]]
saa7133[0]: i2c eeprom 00: bd 11 2f 00 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: ff e0 60 06 ff 20 ff ff 00 30 8d 2c 8c 0a ff ff
saa7133[0]: i2c eeprom 20: 01 2c 01 23 23 01 04 30 98 ff 00 e7 ff 21 00 c2
saa7133[0]: i2c eeprom 30: 96 10 03 32 15 20 ff 15 0e 6c a3 eb 03 ad 8e 5f
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
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
tuner 1-004b: chip found @ 0x96 (saa7133[0])
tuner 1-004b: setting tuner address to 61
tuner 1-004b: type set to tda8290+75a
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)...


Any ideas?

Thanks to all,

Mike.







More information about the linux-dvb mailing list