[pvrusb2] IR receiver does not see anything
Siddhartha Jain
siddhartha at siddharthajain.net
Sun May 13 04:16:33 CDT 2007
I am running CetnOS 4.4 with 2.6.21.1. The hardware is Wintv-pvr-usb2
24xx. The in-tree kernel module works fine and this is what I see from
dmesg:
=====================================================================
Linux video capture interface: v2.00
usbcore: registered new interface driver pvrusb2
drivers/media/video/pvrusb2/pvrusb2-main.c: Hauppauge WinTV-PVR-USB2
MPEG2 Encoder/Tuner : V4L in-tree version
drivers/media/video/pvrusb2/pvrusb2-main.c: Debug mask is 15 (0xf)
usb 1-4: reset high speed USB device using ehci_hcd and address 2
cx25840 1-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
cx25840 1-0044: loaded v4l-cx25840.fw firmware (12559 bytes)
tuner 1-0043: chip found @ 0x86 (pvrusb2_a)
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0061: chip found @ 0xc2 (pvrusb2_a)
wm8775 1-001b: chip found @ 0x36 (pvrusb2_a)
tveeprom 1-00a2: Hauppauge model 24022, rev E1A3, serial# 8673594
tveeprom 1-00a2: tuner model is TCL MFNM05-4 (idx 103, type 43)
tveeprom 1-00a2: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-00a2: audio processor is CX25843 (idx 37)
tveeprom 1-00a2: decoder processor is CX25843 (idx 30)
tveeprom 1-00a2: has radio, has IR receiver, has IR transmitter
tuner 1-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
cx25840 1-0044: Video signal: not present
cx25840 1-0044: Detected format: NTSC-M
cx25840 1-0044: Specified standard: PAL-M
cx25840 1-0044: Specified video input: Composite 7
cx25840 1-0044: Specified audioclock freq: 48000 Hz
nvidia: module license 'NVIDIA' taints kernel.
cx25840 1-0044: Detected audio mode: mono with SAP
cx25840 1-0044: Detected audio standard: no detected audio standard
cx25840 1-0044: Audio muted: yes
cx25840 1-0044: Audio microcontroller: running
cx25840 1-0044: Configured audio standard: automatic detection
cx25840 1-0044: Configured audio system: BTSC
cx25840 1-0044: Specified audio input: Tuner (In8)
cx25840 1-0044: Preferred audio mode: stereo
tda9887 1-0043: Data bytes: b=0x14 c=0x30 e=0x44
tuner 1-0061: Tuner mode: analog TV
tuner 1-0061: Frequency: 175.25 MHz
tuner 1-0061: Standard: 0x00000100
wm8775 1-001b: Input: 2
pvrusb2: Device initialization completed successfully.
pvrusb2: registered device video0 [mpeg]
pvrusb2: registered device radio0 [mpeg]
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 19
NVRM: loading NVIDIA UNIX x86 Kernel Module 1.0-9755 Mon Feb 26
23:21:15 PST 2007
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
pvrusb2: ================= START STATUS CARD #0 =================
cx25840 1-0044: Video signal: present
cx25840 1-0044: Detected format: NTSC-M
cx25840 1-0044: Specified standard: PAL-M
cx25840 1-0044: Specified video input: Composite 7
cx25840 1-0044: Specified audioclock freq: 48000 Hz
cx25840 1-0044: Detected audio mode: stereo with SAP
cx25840 1-0044: Detected audio standard: BTSC
cx25840 1-0044: Audio muted: no
cx25840 1-0044: Audio microcontroller: running
cx25840 1-0044: Configured audio standard: automatic detection
cx25840 1-0044: Configured audio system: BTSC
cx25840 1-0044: Specified audio input: Tuner (In8)
cx25840 1-0044: Preferred audio mode: stereo
tda9887 1-0043: Data bytes: b=0x14 c=0x30 e=0x44
tuner 1-0061: Tuner mode: analog TV
tuner 1-0061: Frequency: 175.25 MHz
tuner 1-0061: Standard: 0x00000100
wm8775 1-001b: Input: 2
pvrusb2: cx2341x config:
pvrusb2: Stream: MPEG-2 Program Stream
pvrusb2: VBI Format: No VBI
pvrusb2: Video: 720x480, 30 fps
pvrusb2: Video: MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
pvrusb2: Video: GOP Size 12, 2 B-Frames, GOP Closure
pvrusb2: Audio: 48 kHz, Layer II, 224 kbps, Stereo, No Emphasis, No CRC
pvrusb2: Spatial Filter: Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
pvrusb2: Temporal Filter: Manual, 8
pvrusb2: Median Filter: Off, Luma [0, 255], Chroma [0, 255]
pvrusb2: ================== END STATUS CARD #0 ==================
=====================================================================
I compiled the ir-kbd-i2c module and I see this when I load it:
=====================
input: i2c IR (Hauppauge) as /class/input/input4
ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-1/1-0018/ir0 [pvrusb2_a]
======================
cat /proc/bus/input/devices
---------------------------
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="i2c IR (Hauppauge)"
P: Phys=i2c-1/1-0018/ir0
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=100003
B: KEY=c0010 2010804 0 0 0 3 200a000 180 4801 9e0000 0 0 ffc
---------------------------
Looks good. I compiled lirc with the devinput driver and ran lircd
specifying devinput as the driver.
"/usr/local/lirc/sbin/lircd -H dev/input -d /dev/input/event4"
tail /var/log/lircd
-----
lircd: lircd(devinput) ready
------
Then I run, irw
-----
May 13 01:59:48 linpvr lircd: accepted new client on /dev/lircd
May 13 01:59:48 linpvr lircd: initializing '/dev/input/event4'
-----
Presseing different keys on the remote pointing it towards the
Wintv-pvr, I get nothing on the console.
So I tested the whole thing on a WinXP machine to verify if the remote
and the IR receiver do work. And they do.
Am I missing something here? Any help or pointers are welcome.
Thanks,
- Siddhartha
More information about the pvrusb2
mailing list