[Bugme-new] [Bug 41452] New: LIRC/IR Drivers Crash with eHome Infrared Remote Transceiver (1784:0008)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sun Aug 21 01:46:24 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=41452

           Summary: LIRC/IR Drivers Crash with eHome Infrared Remote
                    Transceiver (1784:0008)
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.38
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Input Devices
        AssignedTo: drivers_input-devices at kernel-bugs.osdl.org
        ReportedBy: ctassell at gmail.com
        Regression: No


Since the LIRC modules were integrated into the kernel with 2.6.38, I haven't
been able to get my remote to work.  I've tried with 2.6.38-11 on Ubuntu and
vanilla 2.6.38 on Gentoo.  In both cases the same issue occurs: irrecord can
see keypresses, but ir-keytable -t does not.  Unplugging the receiver or
manualy removing the modules with rmmod causes the module to crash, after which
I need to reboot in order to load them again.

Here is the dmesg output when I plug in the device:

[  664.213111] usb 1-1.4: new full speed USB device using ehci_hcd and address
5
[  664.324877] usb 1-1.4: config 1 interface 0 altsetting 0 endpoint 0x1 has an
invalid bInterval 0, changing to 32
[  664.324883] usb 1-1.4: config 1 interface 0 altsetting 0 endpoint 0x82 has
an invalid bInterval 0, changing to 32
[  664.385273] IR NEC protocol handler initialized
[  664.388514] IR RC5(x) protocol handler initialized
[  664.390155] IR RC6 protocol handler initialized
[  664.392044] IR JVC protocol handler initialized
[  664.393251] IR Sony protocol handler initialized
[  664.395654] lirc_dev: IR Remote Control driver registered, major 250 
[  664.397164] IR LIRC bridge handler initialized
[  664.412791] Registered IR keymap rc-rc6-mce
[  664.412896] input: Media Center Ed. eHome Infrared Remote Transceiver
(1784:0008) as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/rc/rc0/input7
[  664.412957] rc0: Media Center Ed. eHome Infrared Remote Transceiver
(1784:0008) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/rc/rc0
[  664.413165] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at
minor = 0
[  664.413440] mceusb 1-1.4:1.0: Registered Topseed Technology Corp. eHome
Infrared Transceiver on usb1:5
[  664.413460] usbcore: registered new interface driver mceusb


and when I unplug it:
[ 1869.753929] usb 1-1.4: USB disconnect, address 5
[ 1869.759823] BUG: unable to handle kernel NULL pointer dereference at
0000000000000050
[ 1869.759829] IP: [<ffffffffa019a6e7>] show_protocols+0xf7/0x130 [rc_core]
[ 1869.759837] PGD a4686067 PUD 36d19067 PMD 0 
[ 1869.759842] Oops: 0000 [#1] SMP 
[ 1869.759845] last sysfs file:
/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/rc/rc0/protocols
[ 1869.759849] CPU 2 
[ 1869.759850] Modules linked in: ir_lirc_codec lirc_dev ir_sony_decoder
ir_jvc_decoder ir_rc6_decoder rc_rc6_mce ir_rc5_decoder ir_nec_decoder mceusb
rc_core pl2303 usbserial nfs lockd fscache nfs_acl auth_rpcgss sunrpc
binfmt_misc snd_hda_codec_hdmi joydev xfs exportfs nvidia(P) ppdev
snd_hda_codec_realtek parport_pc usbhid lp parport hid psmouse snd_hda_intel
snd_seq_midi snd_rawmidi snd_hda_codec snd_seq_midi_event snd_hwdep snd_seq
snd_pcm serio_raw video usb_storage eeepc_wmi sparse_keymap snd_timer
snd_seq_device uas snd soundcore snd_page_alloc xhci_hcd r8169 pata_via
[ 1869.759893] 
[ 1869.759897] Pid: 2995, comm: cat Tainted: P            2.6.38-11-generic
#48-Ubuntu System manufacturer System Product Name/P8H67-M PRO
[ 1869.759903] RIP: 0010:[<ffffffffa019a6e7>]  [<ffffffffa019a6e7>]
show_protocols+0xf7/0x130 [rc_core]
[ 1869.759910] RSP: 0018:ffff8800a4427e38  EFLAGS: 00010202
[ 1869.759912] RAX: 0000000000000000 RBX: ffffffffa019e160 RCX:
ffffffffa019a5f0
[ 1869.759914] RDX: ffff8800a45ce000 RSI: ffffffffa019e160 RDI:
ffff88012ed26800
[ 1869.759917] RBP: ffff8800a4427e68 R08: ffffffff816507c0 R09:
000000000009c448
[ 1869.759919] R10: 0000000000000002 R11: 0000000000000001 R12:
ffff8800a45ce000
[ 1869.759922] R13: 0000000000008000 R14: 0000000000d9c000 R15:
ffff880036c6a9c0
[ 1869.759925] FS:  00007f2c68eb5720(0000) GS:ffff8800bef00000(0000)
knlGS:0000000000000000
[ 1869.759928] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1869.759930] CR2: 0000000000000050 CR3: 0000000036ef0000 CR4:
00000000000406e0
[ 1869.759933] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 1869.759936] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
0000000000000400
[ 1869.759939] Process cat (pid: 2995, threadinfo ffff8800a4426000, task
ffff880132e4adc0)
[ 1869.759940] Stack:
[ 1869.759942]  0000000000000000 ffffffffa019e160 ffff8800a4427f48
0000000000008000
[ 1869.759947]  0000000000d9c000 ffff880036c6a9c0 ffff8800a4427e98
ffffffff813b6f07
[ 1869.759951]  ffff8800a4427e88 ffffffff8111082e ffff8800a4427e98
ffff880036c6a9e0
[ 1869.759955] Call Trace:
[ 1869.759962]  [<ffffffff813b6f07>] dev_attr_show+0x27/0x50
[ 1869.759967]  [<ffffffff8111082e>] ? __get_free_pages+0xe/0x50
[ 1869.759972]  [<ffffffff811d3f63>] sysfs_read_file+0xc3/0x190
[ 1869.759977]  [<ffffffff81164fc3>] vfs_read+0xc3/0x180
[ 1869.759980]  [<ffffffff811650d1>] sys_read+0x51/0x90
[ 1869.759985]  [<ffffffff8100c002>] system_call_fastpath+0x16/0x1b
[ 1869.759987] Code: 5c 41 5d 41 5e 41 5f c9 c3 0f 1f 00 49 8b 96 e8 d0 19 a0
48 c7 c6 23 d2 19 a0 eb ac 0f 1f 84 00 00 00 00 00 48 8b 87 b0 02 00 00 <4c> 8b
68 50 e8 c0 19 00 00 48 89 c3 e9 3f ff ff ff 4c 89 e9 48 
[ 1869.760023] RIP  [<ffffffffa019a6e7>] show_protocols+0xf7/0x130 [rc_core]
[ 1869.760028]  RSP <ffff8800a4427e38>
[ 1869.760029] CR2: 0000000000000050
[ 1869.760033] ---[ end trace 4c98f4e4383601dc ]---

The remote works fine with the old 2.6.37 kernel with LIRC 0.8.7 supplied
drivers.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list