[mythtv-users] Implementing HD-PVR IR Blaster

Bobby Schwartz rschwartz at lastar.com
Mon Nov 30 17:35:24 UTC 2009


> If you boot the live image, and the hdpvr is connected and powered on,
> its driver should auto-load, but you'll still have to manually
modprobe
> lirc_zilog. After you do that, take a look at dmesg to see if
> lirc_zilog claims to have found anything.

Well I got around to this yesterday.  I did have to manually modprobe
lirc_zilog.  It puked on the screen.  See /var/log/messages excerpt
below.  I tried first loading the module THEN connecting USB and also
connecting USB then loading the module.  Both resulted in the same
error.  It appears that lirc_zilog finds the chip but errors trying to
request IR blaster firmware.  I installed the PVR on a Windows system to
update its firmware but I've never used the IR blaster in Windows.
Something definitely seems to be missing from the Ubuntu side, however
the Fedora side isn't working either.



Nov 29 22:57:57 localhost kernel: lirc_dev: IR Remote Control driver
registered, major 249 
Nov 29 22:57:57 localhost kernel: lirc_zilog: Zilog/Hauppauge IR driver
initializing
Nov 29 22:57:57 localhost kernel: lirc_zilog: initialization complete
Nov 29 22:59:11 localhost kernel: usb 1-1: new high speed USB device
using ehci_hcd and address 3
Nov 29 22:59:11 localhost kernel: usb 1-1: New USB device found,
idVendor=05e3, idProduct=0608
Nov 29 22:59:11 localhost kernel: usb 1-1: New USB device strings:
Mfr=0, Product=1, SerialNumber=0
Nov 29 22:59:11 localhost kernel: usb 1-1: Product: USB2.0 Hub
Nov 29 22:59:11 localhost kernel: usb 1-1: configuration #1 chosen from
1 choice
Nov 29 22:59:11 localhost kernel: hub 1-1:1.0: USB hub found
Nov 29 22:59:11 localhost kernel: hub 1-1:1.0: 4 ports detected
Nov 29 22:59:11 localhost kernel: usb 1-1.4: new high speed USB device
using ehci_hcd and address 4
Nov 29 22:59:11 localhost kernel: usb 1-1.4: New USB device found,
idVendor=2040, idProduct=4902
Nov 29 22:59:11 localhost kernel: usb 1-1.4: New USB device strings:
Mfr=1, Product=2, SerialNumber=3
Nov 29 22:59:11 localhost kernel: usb 1-1.4: Product: Hauppauge HD PVR
Nov 29 22:59:11 localhost kernel: usb 1-1.4: Manufacturer: AMBA
Nov 29 22:59:11 localhost kernel: usb 1-1.4: SerialNumber: 00A354E1
Nov 29 22:59:11 localhost kernel: usb 1-1.4: configuration #1 chosen
from 1 choice
Nov 29 22:59:16 localhost kernel: hdpvr 1-1.4:1.0: untested firmware
version 0x12, the driver might not work
Nov 29 22:59:16 localhost kernel: lirc_zilog: chip found with RX and TX
Nov 29 22:59:16 localhost kernel: lirc_dev: lirc_register_driver:
sample_rate: 0
Nov 29 22:59:16 localhost kernel: Zilog/Hauppauge i2c IR 6-0071:
firmware: requesting haup-ir-blaster.bin
Nov 29 22:59:17 localhost kernel: lirc_zilog: firmware
haup-ir-blaster.bin not available (-2)
Nov 29 22:59:17 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at 00000028
Nov 29 22:59:17 localhost kernel: IP: [<f7d4b821>]
lirc_unregister_driver+0x3d/0x12e [lirc_dev]
Nov 29 22:59:17 localhost kernel: *pde = 09871067 *pte = 00000000 
Nov 29 22:59:17 localhost kernel: Oops: 0000 [#1] SMP 
Nov 29 22:59:17 localhost kernel: last sysfs file:
/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/i2c-adapter/i2c-6/6-
0071/firmware/6-0071/loading
Nov 29 22:59:17 localhost kernel: Modules linked in: hdpvr(+) lirc_zilog
lirc_dev vfat fat fuse ip6t_REJECT nf_conntrack_ipv6 ip6table_filter
ip6_tables ipv6 dm_multipath uinput tda9887 tda8290 tuner_simple
tuner_types wm8775 tuner cx25840 ivtv cx2341x v4l2_common videodev 3c59x
v4l1_compat tveeprom i2c_nforce2 mii forcedeth serio_raw joydev squashfs
nls_utf8 usb_storage ata_generic pata_acpi sata_sil pata_amd floppy
nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded:
scsi_wait_scan]
Nov 29 22:59:17 localhost kernel:
Nov 29 22:59:17 localhost kernel: Pid: 1876, comm: modprobe Not tainted
(2.6.31.5-127.fc12.i686 #1) A7N8X2.0
Nov 29 22:59:17 localhost kernel: EIP: 0060:[<f7d4b821>] EFLAGS:
00010286 CPU: 0
Nov 29 22:59:17 localhost kernel: EIP is at
lirc_unregister_driver+0x3d/0x12e [lirc_dev]
Nov 29 22:59:17 localhost kernel: EAX: c98f2000 EBX: 00000000 ECX:
c08673f4 EDX: 00000282
Nov 29 22:59:17 localhost kernel: ESI: 00000000 EDI: c98f3cec EBP:
c98f3cd0 ESP: c98f3cc4
Nov 29 22:59:17 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0
SS: 0068
Nov 29 22:59:17 localhost kernel: Process modprobe (pid: 1876,
ti=c98f2000 task=db17bfc0 task.ti=c98f2000)
Nov 29 22:59:17 localhost kernel: Stack:
Nov 29 22:59:17 localhost kernel: e3681c00 e3681c60 c98f3cec c98f3d08
f7d5a107 c98f3cdc 00000000 00000000
Nov 29 22:59:17 localhost kernel: <0> c98f3ce4 c98f3ce4 00000000
00000000 c98f3cf4 c98f3cf4 e3681c00 eea0cee4
Nov 29 22:59:17 localhost kernel: <0> e3681e88 c98f3d40 f7d5b81c
00000001 00000001 fffffffe 00000000 00000303
Nov 29 22:59:17 localhost kernel: Call Trace:
Nov 29 22:59:17 localhost kernel: [<f7d5a107>] ? ir_remove+0xe7/0x132
[lirc_zilog]
Nov 29 22:59:17 localhost kernel: [<f7d5b81c>] ? ir_probe+0x690/0x76c
[lirc_zilog]
Nov 29 22:59:17 localhost kernel: [<f7c372b8>] ?
i2c_device_probe+0x8c/0xbf [i2c_core]
Nov 29 22:59:17 localhost kernel: [<f7d5b18c>] ? ir_probe+0x0/0x76c
[lirc_zilog]
Nov 29 22:59:17 localhost kernel: [<c0629e26>] ?
driver_probe_device+0xbc/0x1b8
Nov 29 22:59:17 localhost kernel: [<c0629fb5>] ?
__device_attach+0x2f/0x33
Nov 29 22:59:17 localhost kernel: [<c0629266>] ?
bus_for_each_drv+0x42/0x6c
Nov 29 22:59:17 localhost kernel: [<c062a029>] ? device_attach+0x4c/0x60
Nov 29 22:59:17 localhost kernel: [<c0629f86>] ?
__device_attach+0x0/0x33
Nov 29 22:59:17 localhost kernel: [<c06290c1>] ?
bus_probe_device+0x1d/0x32
Nov 29 22:59:17 localhost kernel: [<c0627c71>] ? device_add+0x343/0x4a9
Nov 29 22:59:17 localhost kernel: [<c05950f7>] ? kobject_init+0x36/0x70
Nov 29 22:59:17 localhost kernel: [<c0627dee>] ?
device_register+0x17/0x1a
Nov 29 22:59:17 localhost kernel: [<f7c385c8>] ?
i2c_new_device+0xe4/0x16f [i2c_core]
Nov 29 22:59:17 localhost kernel: [<f7d6af5f>] ?
hdpvr_register_i2c_adapter+0xb6/0xd3 [hdpvr]
Nov 29 22:59:17 localhost kernel: [<f7d6b1cd>] ?
hdpvr_register_videodev+0xa7/0xcc [hdpvr]
Nov 29 22:59:17 localhost kernel: [<f7d6abd5>] ? hdpvr_probe+0x60f/0x666
[hdpvr]
Nov 29 22:59:17 localhost kernel: [<c0673cb2>] ?
usb_probe_interface+0x119/0x1b3
Nov 29 22:59:17 localhost kernel: [<c0629e26>] ?
driver_probe_device+0xbc/0x1b8
Nov 29 22:59:17 localhost kernel: [<c0629f6a>] ?
__driver_attach+0x48/0x64
Nov 29 22:59:17 localhost kernel: [<c06294af>] ?
bus_for_each_dev+0x42/0x6c
Nov 29 22:59:17 localhost kernel: [<c0629c24>] ? driver_attach+0x19/0x1b
Nov 29 22:59:17 localhost kernel: [<c0629f22>] ?
__driver_attach+0x0/0x64
Nov 29 22:59:17 localhost kernel: [<c0629973>] ?
bus_add_driver+0xd0/0x211
Nov 29 22:59:17 localhost kernel: [<c059541c>] ? kset_find_obj+0x23/0x4f
Nov 29 22:59:17 localhost kernel: [<c062a1bf>] ?
driver_register+0x7e/0xe5
Nov 29 22:59:17 localhost kernel: [<c076816b>] ?
notifier_call_chain+0x26/0x48
Nov 29 22:59:17 localhost kernel: [<c0673a7f>] ?
usb_register_driver+0x6b/0xc5
Nov 29 22:59:17 localhost kernel: [<f7d63000>] ? hdpvr_init+0x0/0x32
[hdpvr]
Nov 29 22:59:17 localhost kernel: [<f7d63018>] ? hdpvr_init+0x18/0x32
[hdpvr]
Nov 29 22:59:17 localhost kernel: [<c0401143>] ?
do_one_initcall+0x51/0x13f
Nov 29 22:59:17 localhost kernel: [<c045bcbb>] ?
sys_init_module+0xac/0x1bd
Nov 29 22:59:17 localhost kernel: [<c040363c>] ? syscall_call+0x7/0xb
Nov 29 22:59:17 localhost kernel: Code: 6a 03 50 68 93 c2 d4 f7 e8 1f 8e
a1 c8 b8 c8 ff ff ff 83 c4 0c e9 fa 00 00 00 8b 1c 85 00 da d4 f7 b8 18
d8 d4 f7 e8 f8 9e a1 c8 <8b> 7b 28 39 f7 74 21 56 68 e0 c2 d4 f7 e8 ef
8d a1 c8 b8 18 d8 
Nov 29 22:59:17 localhost kernel: EIP: [<f7d4b821>]
lirc_unregister_driver+0x3d/0x12e [lirc_dev] SS:ESP 0068:c98f3cc4
Nov 29 22:59:17 localhost kernel: CR2: 0000000000000028
Nov 29 22:59:17 localhost kernel: ---[ end trace 1e03c8db84ebfaa8 ]---
Nov 29 22:59:17 localhost firmware.sh[1881]: Cannot find  firmware file
'haup-ir-blaster.bin'
Nov 29 22:59:17 localhost udevd-work[824]: '/sbin/modprobe -b
usb:v2040p4902d0000dc00dsc00dp00icFFisc02ip00' unexpected exit with
status 0x0009


More information about the mythtv-users mailing list