← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 454371] Re: Hauppauge HVR-1600 Remote Not Detected

 

Hello all,

I hope someone here can give me some guidance.

I am using the HVR-1600 and am trying to get the Ir functions - both
ways - working.

I have Ubuntu  10.4 - 2.6.32-21-generic (#32-Ubuntu SMP Fri Apr 16
08:10:02 UTC 2010) - installed.  Myth is up to date and I think I have
newest V4L / CX18 installed and working (mostly).  I can simultaneously
record one 1080i ATSC stream and one NTSC using the SV1 with acceptable
results.

I can't figure out what I should do to get both (most important is send
- to control a Directv receiver) working on the backend machine.

This is dmesg output if it helps:

[   26.612877] cx18:  Start initialization, version 1.4.0
[   26.612937] cx18-0: Initializing card 0
[   26.612941] cx18-0: Autodetected Hauppauge card
[   26.623812] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
[   26.623820]   alloc irq_desc for 18 on node -1
[   26.623822]   alloc kstat_irqs on node -1
[   26.623832] cx18 0000:02:06.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[   26.623842] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)
[   26.625857] cx18-0: cx23418 revision 01010000 (B)
[   26.857725] tveeprom 4-0050: Hauppauge model 74041, rev C6B2, serial# 931126
[   26.857730] tveeprom 4-0050: MAC address is 00:0d:fe:0e:35:36
[   26.857733] tveeprom 4-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
[   26.857737] tveeprom 4-0050: TV standards NTSC(M) (eeprom 0x08)
[   26.857740] tveeprom 4-0050: audio processor is CX23418 (idx 38)
[   26.857743] tveeprom 4-0050: decoder processor is CX23418 (idx 31)
[   26.857745] tveeprom 4-0050: has no radio, has IR receiver, has IR transmitter
[   26.857748] cx18-0: Autodetected Hauppauge HVR-1600
[   26.857751] cx18-0: Simultaneous Digital and Analog TV capture supported
[   26.961118] IRQ 18/cx18-0: IRQF_DISABLED is not guaranteed on shared IRQs
[   27.099066] tuner 5-0061: chip found @ 0xc2 (cx18 i2c driver #0-1)
[   27.257366] cs5345 4-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[   27.312638] Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
[   27.411675] tuner-simple 5-0061: creating new instance
[   27.411681] tuner-simple 5-0061: type set to 50 (TCL 2002N)
[   27.413415] cx18-0: Registered device video0 for encoder MPEG (64 x 32.00 kB)
[   27.413419] DVB: registering new adapter (cx18)
[   27.815684] ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 20
[   27.815691] Intel ICH 0000:00:06.0: PCI INT A -> Link[APCJ] -> GSI 20 (level, high) -> IRQ 20
[   27.815740] Intel ICH 0000:00:06.0: setting latency timer to 64
[   27.891170] MXL5005S: Attached at address 0x63
[   27.891178] DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[   27.891351] cx18-0: DVB Frontend registered
[   27.891355] cx18-0: Registered DVB adapter0 for TS (32 x 32.00 kB)
[   27.891392] cx18-0: Registered device video32 for encoder YUV (20 x 101.25 kB)
[   27.891423] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[   27.891454] cx18-0: Registered device video24 for encoder PCM audio (256 x 4.00 kB)
[   27.891458] cx18-0: Initialized card: Hauppauge HVR-1600
[   27.891491] cx18:  End initialization
[   27.932652] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-cpu.fw
[   28.168062] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[   28.208166] cx18-alsa: module loading...
[   28.271868] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-apu.fw
[   28.296023] intel8x0_measure_ac97_clock: measured 53762 usecs (2608 samples)
[   28.296028] intel8x0: clocking to 47495
[   28.699912] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[   28.706249] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[   28.763985] type=1505 audit(1274657728.709:6):  operation="profile_load" pid=986 name="/usr/share/gdm/guest-session/Xsession"
[   28.772289] type=1505 audit(1274657728.721:7):  operation="profile_replace" pid=987 name="/sbin/dhclient3"
[   28.772617] type=1505 audit(1274657728.721:8):  operation="profile_replace" pid=987 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[   28.772802] type=1505 audit(1274657728.721:9):  operation="profile_replace" pid=987 name="/usr/lib/connman/scripts/dhclient-script"
[   28.781727] type=1505 audit(1274657728.729:10):  operation="profile_load" pid=988 name="/usr/bin/evince"
[   28.798615] type=1505 audit(1274657728.745:11):  operation="profile_load" pid=988 name="/usr/bin/evince-previewer"
[   28.912046] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-cpu.fw
[   29.175818] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-apu.fw
[   29.505696] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-dig.fw
[   29.799064] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[   29.823046] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)
[84930.003381] IR NEC protocol handler initialized
[84930.070251] IR RC5(x) protocol handler initialized
[84930.088918] IR RC6 protocol handler initialized
[84930.108018] Registered IR keymap rc-hauppauge-new
[84930.108056] BUG: unable to handle kernel NULL pointer dereference at (null)
[84930.108062] IP: [<fd60fd7e>] ir_register_class+0x3e/0x190 [ir_core]
[84930.108071] *pde = 00000000 
[84930.108075] Oops: 0000 [#1] SMP 
[84930.108078] last sysfs file: /sys/module/ir_core/initstate
[84930.108081] Modules linked in: ir_rc6_decoder rc_hauppauge_new ir_rc5_decoder ir_kbd_i2c(+) ir_nec_decoder ir_common ir_core binfmt_misc cx18_alsa mxl5005s snd_intel8x0 snd_ac97_codec s5h1409 ac97_bus tuner_simple tuner_types snd_pcm_oss nfsd cs5345 snd_mixer_oss exportfs tuner snd_pcm fbcon tileblit font bitblit softcursor nfs vga16fb snd_seq_dummy lockd nfs_acl vgastate snd_seq_oss auth_rpcgss snd_seq_midi cx18 snd_rawmidi sunrpc snd_seq_midi_event dvb_core snd_seq cx2341x snd_timer v4l2_common snd_seq_device nouveau ttm videodev v4l1_compat drm_kms_helper ppdev snd tveeprom drm i2c_algo_bit lp parport_pc parport psmouse soundcore nvidia_agp serio_raw snd_page_alloc shpchp agpgart i2c_nforce2 e1000 sata_nv pata_amd floppy
[84930.108130] 
[84930.108134] Pid: 7998, comm: modprobe Not tainted (2.6.32-21-generic #32-Ubuntu)  
[84930.108137] EIP: 0060:[<fd60fd7e>] EFLAGS: 00010246 CPU: 0
[84930.108141] EIP is at ir_register_class+0x3e/0x190 [ir_core]
[84930.108144] EAX: 00000000 EBX: ef429c00 ECX: 00000000 EDX: 00000100
[84930.108147] ESI: f5481000 EDI: 00000000 EBP: d7bb7dd4 ESP: d7bb7da8
[84930.108149]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[84930.108153] Process modprobe (pid: 7998, ti=d7bb6000 task=f2e84ce0 task.ti=d7bb6000)
[84930.108155] Stack:
[84930.108156]  00000246 fd60fa47 c24054e0 fd60fa47 00bb7dc0 00000170 f5481000 0000003d
[84930.108163] <0> fd40e068 00000030 f5481000 d7bb7e0c fd60fb7c 00000074 00000000 fe8e3f6b
[84930.108169] <0> c0588f42 fd610c11 00000292 ef429d3c ef429d20 ef429c00 f6903b40 f6903b4c
[84930.108175] Call Trace:
[84930.108181]  [<fd60fa47>] ? __ir_input_register+0x167/0x350 [ir_core]
[84930.108186]  [<fd60fa47>] ? __ir_input_register+0x167/0x350 [ir_core]
[84930.108191]  [<fd60fb7c>] ? __ir_input_register+0x29c/0x350 [ir_core]
[84930.108200]  [<c0588f42>] ? printk+0x1d/0x23
[84930.108206]  [<fe8e39cc>] ? ir_probe+0x37c/0x568 [ir_kbd_i2c]
[84930.108215]  [<c04728a4>] ? i2c_device_probe+0xb4/0xd0
[84930.108219]  [<fe8e3650>] ? ir_probe+0x0/0x568 [ir_kbd_i2c]
[84930.108227]  [<c03e684d>] ? really_probe+0x4d/0x140
[84930.108233]  [<c03ed15e>] ? pm_runtime_barrier+0x4e/0xc0
[84930.108237]  [<c03e697c>] ? driver_probe_device+0x3c/0x60
[84930.108241]  [<c03e6a21>] ? __driver_attach+0x81/0x90
[84930.108245]  [<c03e5e63>] ? bus_for_each_dev+0x53/0x80
[84930.108250]  [<c03e671e>] ? driver_attach+0x1e/0x20
[84930.108253]  [<c03e69a0>] ? __driver_attach+0x0/0x90
[84930.108257]  [<c03e60e5>] ? bus_add_driver+0xd5/0x280
[84930.108262]  [<c0472570>] ? i2c_device_remove+0x0/0x60
[84930.108266]  [<c03e6d1a>] ? driver_register+0x6a/0x130
[84930.108270]  [<c047389f>] ? i2c_register_driver+0x2f/0x90
[84930.108274]  [<f81e7012>] ? ir_init+0x12/0x14 [ir_kbd_i2c]
[84930.108278]  [<c0101131>] ? do_one_initcall+0x31/0x190
[84930.108282]  [<f81e7000>] ? ir_init+0x0/0x14 [ir_kbd_i2c]
[84930.108289]  [<c0182340>] ? sys_init_module+0xb0/0x210
[84930.108293]  [<c01033ec>] ? syscall_call+0x7/0xb
[84930.108295] Code: 00 89 c6 8d 80 a0 07 00 00 e8 7f 67 dd c2 ba 00 01 00 00 89 c3 b8 0c 14 61 fd e8 6e ac d3 c2 89 c7 85 ff 78 6f 8b 83 44 01 00 00 <8b> 08 85 c9 74 74 c7 43 30 2c 12 61 fd c7 83 10 01 00 00 e0 11 
[84930.108325] EIP: [<fd60fd7e>] ir_register_class+0x3e/0x190 [ir_core] SS:ESP 0068:d7bb7da8
[84930.108331] CR2: 0000000000000000
[84930.108408] ---[ end trace dc44f6554b08e598 ]---
[84930.162777] IR JVC protocol handler initialized
[84930.211154] IR Sony protocol handler initialized

I rebooted machine after changing a few lines in the lirc config file
According to prev. comments in this thread and end get this:


[   23.489466] cx18:  Start initialization, version 1.4.0
[   23.489531] cx18-0: Initializing card 0
[   23.489536] cx18-0: Autodetected Hauppauge card
[   23.526145] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
[   23.526154]   alloc irq_desc for 18 on node -1
[   23.526156]   alloc kstat_irqs on node -1
[   23.526166] cx18 0000:02:06.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[   23.526177] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)
[   23.527781] cx18-0: cx23418 revision 01010000 (B)

[   24.069510] tveeprom 2-0050: Hauppauge model 74041, rev C6B2, serial# 931126
[   24.069515] tveeprom 2-0050: MAC address is 00:0d:fe:0e:35:36
[   24.069519] tveeprom 2-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
[   24.069523] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
[   24.069526] tveeprom 2-0050: audio processor is CX23418 (idx 38)
[   24.069528] tveeprom 2-0050: decoder processor is CX23418 (idx 31)
[   24.069531] tveeprom 2-0050: has no radio, has IR receiver, has IR transmitter
[   24.069534] cx18-0: Autodetected Hauppauge HVR-1600
[   24.069537] cx18-0: Simultaneous Digital and Analog TV capture supported
[   24.089744] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
[   24.349002] IRQ 18/cx18-0: IRQF_DISABLED is not guaranteed on shared IRQs

[   24.655437] type=1505 audit(1274749867.600:5):  operation="profile_load" pid=613 name="/usr/sbin/ntpd"
[   24.669369] tuner-simple 3-0061: creating new instance
[   24.669375] tuner-simple 3-0061: type set to 50 (TCL 2002N)
[   24.670835] cx18-0: Registered device video0 for encoder MPEG (64 x 32.00 kB)
[   24.670839] DVB: registering new adapter (cx18)
[   24.986234] MXL5005S: Attached at address 0x63
[   24.986242] DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[   24.986395] cx18-0: DVB Frontend registered
[   24.986398] cx18-0: Registered DVB adapter0 for TS (32 x 32.00 kB)
[   24.986435] cx18-0: Registered device video32 for encoder YUV (20 x 101.25 kB)
[   24.986464] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[   24.986492] cx18-0: Registered device video24 for encoder PCM audio (256 x 4.00 kB)
[   24.986496] cx18-0: Initialized card: Hauppauge HVR-1600
[   24.986527] cx18:  End initialization
[   24.990717] intel8x0_measure_ac97_clock: measured 55480 usecs (2688 samples)
[   24.990722] intel8x0: clocking to 48000
[   25.056697] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-cpu.fw
[   25.224859] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[   25.271231] cx18-alsa: module loading...
[   25.349487] type=1505 audit(1274749868.296:6):  operation="profile_load" pid=1016 name="/usr/share/gdm/guest-session/Xsession"
[   25.357686] type=1505 audit(1274749868.304:7):  operation="profile_replace" pid=1017 name="/sbin/dhclient3"
[   25.358016] type=1505 audit(1274749868.304:8):  operation="profile_replace" pid=1017 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[   25.358198] type=1505 audit(1274749868.304:9):  operation="profile_replace" pid=1017 name="/usr/lib/connman/scripts/dhclient-script"
[   25.370940] type=1505 audit(1274749868.316:10):  operation="profile_load" pid=1018 name="/usr/bin/evince"
[   25.378886] type=1505 audit(1274749868.324:11):  operation="profile_load" pid=1018 name="/usr/bin/evince-previewer"
[   25.486492] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-apu.fw
[   25.615455] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[   25.621780] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[   25.952035] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-cpu.fw
[   26.179906] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-apu.fw
[   26.509698] cx18 0000:02:06.0: firmware: requesting v4l-cx23418-dig.fw
[   26.831059] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[   26.855035] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)


I am struggling to make sense of this stuff and am rather far out of my element.

I need to have some confidence that I am making things better and not
just wasting my time due to my own ignorance.

Thanks in advance for any guidance.

Peter

-- 
Hauppauge HVR-1600 Remote Not Detected
https://bugs.launchpad.net/bugs/454371
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: Confirmed

Bug description:
Binary package hint: lirc

Running Ubuntu Karmic 9.10 64-bit.

LIRC will not find the Hauppauage HVR-1600 remote.  The same procedure below was performed on Ubuntu 9.04 Jaunty and the remote just worked:

sudo apt-get install lirc

After the install, it will configure.  I choose Hauppauge TV Card and I do not use an IR Transmitter.

Using irw, it would show that the commands were found.

/dev/lirc0 is not even created.  It seems that the previously used module (lirc_i2c) no longer is finding the card as it did previously.

ProblemType: Bug
Architecture: amd64
Date: Sat Oct 17 21:38:39 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: lirc 0.8.6-0ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: lirc
Uname: Linux 2.6.31-14-generic x86_64