[mythtv-users] HDPVR and lirc_zilog assistance
Jim Morton
Jim at Morton.hrcoxmail.com
Thu Aug 12 11:25:24 UTC 2010
Bob wrote:
> Jim Morton wrote:
>> Following the HDPVR wiki page to install my new HD-PVR and I've hit a
>> snag.
>> all went well up to step 9 where it says to backup the existing
>> lirc_zilog.ko and my install did not have it to backup, so I
>> continued on.
>>
>> At step 10 I put lirc_zilog.ko at
>> /lib/modules/2.6.32-24-generic/kernel/ubuntu/lirc/lirc_dev/lirc_zilog.ko
>> Since there was no original I had to guess where to put it. This is
>> probably a mistake...
>>
> This is probably OK. If you already have a lirc installation, put
> this file in the same place as lirc_dev.ko.
>> Now at step 12 "sudo modprobe lirc_zilog" I get -
>> FATAL: Module lirc_zilog not found.
>>
>> So I have a few questions -
>> 1.Where is lirc_zilog.ko supposed to be so modprobe will find it
> Same place as lirc_dev.ko. The problem most likely is that after you
> installed the modules you did not run "depmod" so the kernel could
> find the new modules.
>> 2. When I backed up the existing hdpvr.ko and lirc_dev.ko I made the
>> backups in their same directories. Is that ok or do I need to move
>> the backups to where they won't be found?
> OK as long as the file name does not end in ".ko". I usually use
> .korig so the kernel will ignore (e.g. lirc_dev.korig).
>>
>> This is Mythbuntu 10.04
>> mythbackend version: branches/release-0-23-fixes [25423]
>>
Thanks, 'depmod' got me a little further along. Now when I 'sudo
modprobe lirc_zilog' (the first time) I get 'Killed' as a response. If I
do that a second time it seems to just hang. Here are the entries in dmesg -
[ 14.056202] hdpvr 1-4:1.0: untested firmware version 0x15, the driver
might not work
[ 14.392226] hdpvr 1-4:1.0: device now attached to /dev/video0
[ 14.392249] usbcore: registered new interface driver hdpvr
...
[ 649.573697] lirc_zilog: Zilog/Hauppauge IR driver initializing
[ 649.581107] lirc_zilog: chip found with RX and TX
[ 649.581142] lirc_dev: lirc_register_driver: sample_rate: 0
[ 649.581215] Zilog/Hauppauge i2c IR 0-0071: firmware: requesting
haup-ir-blaster.bin
[ 649.612889] lirc_zilog: firmware haup-ir-blaster.bin not available (-2)
[ 649.613271] BUG: unable to handle kernel NULL pointer dereference at
0000000000000028
[ 649.613274] IP: [<ffffffffa00bb9e5>]
lirc_unregister_driver+0x35/0x1a0 [lirc_dev]
[ 649.613283] PGD 121f3e067 PUD 128575067 PMD 0
[ 649.613287] Oops: 0000 [#1] SMP
[ 649.613289] last sysfs file:
/sys/devices/pci0000:00/0000:00:12.2/usb1/1-4/i2c-0/0-0071/firmware/0-0071/loading
[ 649.613292] CPU 0
[ 649.613293] Modules linked in: lirc_zilog(+) binfmt_misc ppdev
vboxdrv nfsd n
fs lockd nfs_acl auth_rpcgss xfs exportfs sunrpc snd_hda_codec_realtek
snd_hda_i
ntel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm
snd_seq_dummy snd
_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event hdpvr snd_seq
v4l2_common s
nd_timer snd_seq_device snd videodev soundcore i2c_piix4 psmouse
edac_core fbcon
tileblit font bitblit v4l1_compat v4l2_compat_ioctl32 edac_mce_amd
snd_page_all
oc serio_raw softcursor nvidia(P) vga16fb vgastate lirc_dev lp parport
usbhid hi
d ohci1394 floppy ieee1394 tg3 ahci pata_atiixp
[ 649.613324] Pid: 2531, comm: modprobe Tainted: P
2.6.32-24-generic
#39-Ubuntu To Be Filled By O.E.M.
[ 649.613326] RIP: 0010:[<ffffffffa00bb9e5>] [<ffffffffa00bb9e5>]
lirc_unregis
ter_driver+0x35/0x1a0 [lirc_dev]
[ 649.613331] RSP: 0018:ffff880127ea5c28 EFLAGS: 00010286
[ 649.613333] RAX: ffff880127ea4000 RBX: 0000000000000000 RCX:
ffff88010e9fe000
[ 649.613335] RDX: 0000000000000000 RSI: ffffea0003b32e40 RDI:
ffffffffa00bd420
[ 649.613337] RBP: ffff880127ea5c48 R08: 0000000000000000 R09:
00000000000000c1
[ 649.613338] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff88010e9f8890
[ 649.613340] R13: 0000000000000000 R14: ffff880127ea5c58 R15:
ffff88010e9f8af8
[ 649.613342] FS: 00007f75e9517700(0000) GS:ffff880028200000(0000)
knlGS:00000
00000000000
[ 649.613344] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 649.613346] CR2: 0000000000000028 CR3: 000000012980a000 CR4:
00000000000006f0
[ 649.613347] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 649.613349] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
0000000000000400
[ 649.613351] Process modprobe (pid: 2531, threadinfo ffff880127ea4000,
task ffff88010876ade0)
[ 649.613353] Stack:
[ 649.613354] ffff880127ea5c48 ffff88010e9f8800 ffff88010e9f8890
ffff880127ea5c78
[ 649.613357] <0> ffff880127ea5cb8 ffffffffa0b5a15d ffff880100000000
ffffffff00000000
[ 649.613360] <0> ffff880127ea5c68 ffff880127ea5c68 ffff880100000000
ffff880100000000
[ 649.613363] Call Trace:
[ 649.613368] [<ffffffffa0b5a15d>] ir_remove+0x12d/0x190 [lirc_zilog]
[ 649.613372] [<ffffffffa0b5b321>] ir_probe+0x281/0xa20 [lirc_zilog]
[ 649.613376] [<ffffffffa0b5b0a0>] ? ir_probe+0x0/0xa20 [lirc_zilog]
[ 649.613381] [<ffffffff81409923>] i2c_device_probe+0xf3/0x120
[ 649.613385] [<ffffffff8136b975>] really_probe+0x65/0x170
[ 649.613388] [<ffffffff8136bac5>] driver_probe_device+0x45/0x70
[ 649.613390] [<ffffffff8136bb8b>] __driver_attach+0x9b/0xa0
[ 649.613392] [<ffffffff8136baf0>] ? __driver_attach+0x0/0xa0
[ 649.613394] [<ffffffff8136add8>] bus_for_each_dev+0x68/0x90
[ 649.613397] [<ffffffff8136b7ee>] driver_attach+0x1e/0x20
[ 649.613399] [<ffffffff8136b0ae>] bus_add_driver+0xde/0x280
[ 649.613401] [<ffffffff8136bec0>] driver_register+0x80/0x150
[ 649.613404] [<ffffffff8140aa98>] i2c_register_driver+0x38/0xb0
[ 649.613407] [<ffffffffa00c6000>] ? zilog_init+0x0/0x82 [lirc_zilog]
[ 649.613410] [<ffffffffa00c6057>] zilog_init+0x57/0x82 [lirc_zilog]
[ 649.613414] [<ffffffff8100a04c>] do_one_initcall+0x3c/0x1a0
[ 649.613418] [<ffffffff810a1a5f>] sys_init_module+0xdf/0x260
[ 649.613422] [<ffffffff810131b2>] system_call_fastpath+0x16/0x1b
[ 649.613424] Code: 83 ec 08 0f 1f 44 00 00 83 ff 03 41 89 fd 0f 87 3c
01 00 00
48 63 c7 48 c7 c7 20 d4 0b a0 48 8b 1c c5 a0 d7 0b a0 e8 cb 72 48 e1
<44> 8b 63
28 45 39 ec 0f 85 f4 00 00 00 48 8b bb c8 00 00 00 48
[ 649.613445] RIP [<ffffffffa00bb9e5>]
lirc_unregister_driver+0x35/0x1a0 [lirc_dev]
[ 649.613449] RSP <ffff880127ea5c28>
[ 649.613450] CR2: 0000000000000028
[ 649.613452] ---[ end trace bdf23a95a1ff274d ]---
I don't understand this line
[ 649.612889] lirc_zilog: firmware haup-ir-blaster.bin not available (-2)
as the file is most definitely there and with full permissions -
root at docbuntu:/# find . -name haup-ir-blaster.bin -print
./lib/firmware/hdpvr/hdpvr-blaster-drivers/haup-ir-blaster.bin
root at docbuntu:/# ls -l
/lib/firmware/hdpvr/hdpvr-blaster-drivers/haup-ir-blaster.bin
-rwxrwxrwx 1 root root 302355 2010-05-27 21:06
/lib/firmware/hdpvr/hdpvr-blaster
-drivers/haup-ir-blaster.bin
--
Jim
More information about the mythtv-users
mailing list