[pvrusb2] Problems with IR receiver (latest hardware version, latest driver, 2.6.20 kernel)
David Gatwood
dgatwood at mac.com
Fri May 4 02:53:11 CDT 2007
I'm trying (unsuccessfully) to use lirc with the latest version of the WinTV-PVR USB2
with the external IR blaster. I ended up enabling full debugging in the driver
and found that the driver is just sending zeroes across the fake I2C bus. Everything
in the logs looks pretty normal until I enable debugging.
With /dev/lirc symlinked to /dev/lirc0, when I run irw or irrecord, I get an endless stream of
Apr 28 21:02:16 mythserver kernel: [ 889.568090] pvrusb2 i2c xfer 1/1: addr=0x18 len=3 read [00 00 c1] result=1
and with it symlinked to /dev/lirc1, I'm seeing
Apr 28 20:59:55 mythserver kernel: [ 747.998956] pvrusb2 i2c xfer 1/1: addr=0x71 len=6 read [00 00 00 00 00 00] result=1
Looking at the code, it's obvious that /dev/lirc0 was the right one, and by adding a few
debugging printk calls, I determined it was falling into this path:
/* Mangle the results into something that looks like the real IR
receiver. */
rdata[2] = 0xc1;
if (dat[0] != 1) {
/* No code received. */
rdata[0] = 0;
rdata[1] = 0;
printk("IR no code received.\n");
I don't see any indication in the debug logs that would suggest that anything isn't working,
it just isn't seeing any data. I've tried both third-party remotes and the remote that came
with it, and it just can't see anything.
Ironically, the only reason I'm even trying to use the remote is that nobody has remote
codes for EITHER of my DirecTV boxes (Hughes HRM-5 remote, Panasonic EUR511159
remote).
Any ideas? I've been fighting with this problem since last weekend, and if it's bad hardware,
I'd like to know now so I can swap it at Fry's for a working one. :-)
David
P.S. Non-debug log below.
P.P.S. Detailed log with debug=0xffffffff at http://www.gatwood.net/pvrusb2-debuglog.txt
Apr 28 20:48:20 mythserver kernel: [ 51.924236] cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
Apr 28 20:48:20 mythserver kernel: [ 52.398077] tuner 1-0043: chip found @ 0x86 (pvrusb2_a)
Apr 28 20:48:20 mythserver kernel: [ 52.398206] tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
Apr 28 20:48:20 mythserver kernel: [ 52.440048] tuner 1-0061: chip found @ 0xc2 (pvrusb2_a)
Apr 28 20:48:20 mythserver kernel: [ 52.495997] wm8775 1-001b: chip found @ 0x36 (pvrusb2_a)
Apr 28 20:48:20 mythserver kernel: [ 52.583961] tveeprom 1-00a2: Hauppauge model 24022, rev E1A3, serial# 8676840
Apr 28 20:48:20 mythserver kernel: [ 52.583975] tveeprom 1-00a2: tuner model is TCL MFNM05-4 (idx 103, type 43)
Apr 28 20:48:20 mythserver kernel: [ 52.583981] tveeprom 1-00a2: TV standards NTSC(M) (eeprom 0x08)
Apr 28 20:48:20 mythserver kernel: [ 52.583986] tveeprom 1-00a2: audio processor is CX25843 (idx 37)
Apr 28 20:48:20 mythserver kernel: [ 52.583990] tveeprom 1-00a2: decoder processor is CX25843 (idx 30)
Apr 28 20:48:20 mythserver kernel: [ 52.583994] tveeprom 1-00a2: has radio, has IR receiver, has IR transmitter
Apr 28 20:48:20 mythserver kernel: [ 53.263683] tuner 1-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
Apr 28 20:48:21 mythserver kernel: [ 53.751506] cx25840 1-0044: Video signal: not present
Apr 28 20:48:21 mythserver kernel: [ 53.751521] cx25840 1-0044: Detected format: NTSC-M
Apr 28 20:48:21 mythserver kernel: [ 53.751525] cx25840 1-0044: Specified standard: NTSC-M
Apr 28 20:48:21 mythserver kernel: [ 53.751529] cx25840 1-0044: Specified video input: Composite 7
Apr 28 20:48:21 mythserver kernel: [ 53.751533] cx25840 1-0044: Specified audioclock freq: 48000 Hz
Apr 28 20:48:21 mythserver kernel: [ 53.807444] cx25840 1-0044: Detected audio mode: forced mode
Apr 28 20:48:21 mythserver kernel: [ 53.807459] cx25840 1-0044: Detected audio standard: no detected audio standard
Apr 28 20:48:21 mythserver kernel: [ 53.807464] cx25840 1-0044: Audio muted: yes
Apr 28 20:48:21 mythserver kernel: [ 53.807468] cx25840 1-0044: Audio microcontroller: running
Apr 28 20:48:21 mythserver kernel: [ 53.807473] cx25840 1-0044: Configured audio standard: automatic detection
Apr 28 20:48:21 mythserver kernel: [ 53.807478] cx25840 1-0044: Configured audio system: BTSC
Apr 28 20:48:21 mythserver kernel: [ 53.807482] cx25840 1-0044: Specified audio input: Tuner (In8)
Apr 28 20:48:21 mythserver kernel: [ 53.807486] cx25840 1-0044: Preferred audio mode: stereo
Apr 28 20:48:21 mythserver kernel: [ 53.807500] tda9887 1-0043: Data bytes: b=0x14 c=0x30 e=0x44
Apr 28 20:48:21 mythserver kernel: [ 53.807506] tuner 1-0061: Tuner mode: analog TV
Apr 28 20:48:21 mythserver kernel: [ 53.807511] tuner 1-0061: Frequency: 175.25 MHz
Apr 28 20:48:21 mythserver kernel: [ 53.807514] tuner 1-0061: Standard: 0x00001000
Apr 28 20:48:21 mythserver kernel: [ 53.807521] wm8775 1-001b: Input: 2
Apr 28 20:48:21 mythserver kernel: [ 53.807535] pvrusb2: Device initialization completed successfully.
Apr 28 20:48:21 mythserver kernel: [ 53.807642] pvrusb2: registered device video0 [mpeg]
Apr 28 20:48:21 mythserver kernel: [ 53.807666] pvrusb2: registered device radio0 [mpeg]
...
Apr 28 20:48:33 mythserver kernel: [ 66.305145] lirc_dev: IR Remote Control driver registered, at major 61
Apr 28 20:48:33 mythserver kernel: [ 66.333221] lirc_i2c: no version for "lirc_unregister_plugin" found: kernel tainted.
Apr 28 20:48:34 mythserver kernel: [ 66.443072] bttv: driver version 0.9.16 loaded
Apr 28 20:48:34 mythserver kernel: [ 66.443086] bttv: using 8 buffers with 2080k (520 pages) each for capture
Apr 28 20:48:34 mythserver kernel: [ 66.637367] ivtv: ==================== START INIT IVTV ====================
Apr 28 20:48:34 mythserver kernel: [ 66.637381] ivtv: version 0.10.1 (tagged release) loading
Apr 28 20:48:34 mythserver kernel: [ 66.637385] ivtv: Linux version: 2.6.20-15-generic SMP mod_unload 586
Apr 28 20:48:34 mythserver kernel: [ 66.637388] ivtv: In case of problems please include the debug info between
Apr 28 20:48:34 mythserver kernel: [ 66.637392] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
Apr 28 20:48:34 mythserver kernel: [ 66.637395] ivtv: any module options, when mailing the ivtv-users mailinglist.
Apr 28 20:48:34 mythserver kernel: [ 66.637464] ivtv: ==================== END INIT IVTV ====================
Apr 28 20:48:34 mythserver kernel: [ 66.744461] cx2388x v4l2 driver version 0.0.6 loaded
Apr 28 20:48:34 mythserver kernel: [ 66.747457] lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Apr 28 20:48:34 mythserver kernel: [ 66.747740] lirc_dev: lirc_register_plugin: sample_rate: 10
Apr 28 20:48:34 mythserver kernel: [ 66.765973] lirc_i2c: chip found @ 0x71 (Hauppauge IR (PVR150))
Apr 28 20:48:34 mythserver kernel: [ 66.766275] lirc_dev: lirc_register_plugin: sample_rate: 10
More information about the pvrusb2
mailing list