2009-11-25 21:09:17 |
Justin Seubert |
bug |
|
|
added bug |
2009-11-25 21:09:17 |
Justin Seubert |
attachment added |
|
uname -a http://launchpadlibrarian.net/36078322/uname-a.log |
|
2009-11-25 21:10:00 |
Justin Seubert |
attachment added |
|
version http://launchpadlibrarian.net/36078388/version.log |
|
2009-11-25 21:10:31 |
Justin Seubert |
attachment added |
|
dmesg http://launchpadlibrarian.net/36078401/dmesg.log |
|
2009-11-25 21:11:01 |
Justin Seubert |
attachment added |
|
lspci -vnvn http://launchpadlibrarian.net/36078406/lspci-vnvn.log |
|
2009-11-25 21:11:45 |
Justin Seubert |
attachment added |
|
modinfo lirc_imon for aliasas of devices to add http://launchpadlibrarian.net/36078437/modinfo_lirc_imon.log |
|
2009-11-25 21:15:55 |
Justin Seubert |
summary |
lirc_imon aliasas need to be added for usbhid quirks module |
lirc_imon devices need to be added to usbhid module quirks |
|
2009-11-29 18:22:16 |
Leann Ogasawara |
nominated for series |
|
Ubuntu Karmic |
|
2009-11-29 18:22:16 |
Leann Ogasawara |
bug task added |
|
linux (Ubuntu Karmic) |
|
2009-11-29 18:24:36 |
Leann Ogasawara |
linux (Ubuntu): status |
New |
Fix Released |
|
2009-11-29 18:25:02 |
Leann Ogasawara |
linux (Ubuntu Karmic): importance |
Undecided |
Medium |
|
2009-11-29 18:25:02 |
Leann Ogasawara |
linux (Ubuntu Karmic): status |
New |
Triaged |
|
2010-02-02 20:01:54 |
Surbhi Palande |
description |
Soundgraph devices come in a variety of configurations and a majority of the time are listed at the device level of a USB HID device, such as a mouse or keyboard. This causes the usbcore driver to load usbhid which binds to the device. After this, the lirc_imon module is loaded but is unable to bind to the device:
[ 1.883191] usbcore: registered new interface driver usbhid
[ 1.883194] usbhid: v2.6:USB HID core driver
[ 2.284009] usb 4-1: new low speed USB device using ohci_hcd and address 2
[ 2.540142] usb 4-1: configuration #1 chosen from 1 choice
[ 2.557154] input: HID 15c2:0042 as /devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1:1.0/input/input6
[ 2.557222] generic-usb 0003:15C2:0042.0003: input,hidraw2: USB HID v1.01 Mouse [HID 15c2:0042] on usb-0000:00:06.0-1/input0
[ 2.567143] generic-usb 0003:15C2:0042.0004: hiddev96,hidraw3: USB HID v1.00 Device [HID 15c2:0042] on usb-0000:00:06.0-1/input1
My only fix to this is to instruct udev to unbind the usbhid module from the device which allows lirc_imon to bind to it thereafter. It would be better though if all devices listed for this module, were to be listed in hid-quirks.c as HID_QUIRK_IGNORE. There already seems to be a Soundgraph device defined for this, which I think all devices supported by lirc_imon should be patched in. File is attached for supported module device aliases.
Also to note, that the usbhid module defines options to allow quirks to be passed to the module, but all options passed though modprobe to usbhid seem to be ignored (reference http://www.lirc.org/html/imon.html):
parm: quirks:Add/modify USB HID quirks by specifying quirks=vendorID:productID:quirks where vendorID, productID, and quirks are all in 0x-prefixed hex (array of charp)
modprobe.d/usbhid.conf
options usbhid quirks=0x15c2:0x0043:0x0004
This option should work, but fails, which I why the proposed fix is necessary. |
Justification:
Impact:
The original lirc_imon driver did not support ranges of device ids, but a few specific ones. Some new device have been added which are thus not supported.
Fix:
This patch adds a check for a range of device ids to the lirc_imon driver. This bug requests support for device id 0x43 which is supported in this range checked by this patch. Its a simple quirk and is available in linus tree upstream.
Test Case:
Was tested with 2.6.32 kernel which has this same patch.
========
Soundgraph devices come in a variety of configurations and a majority of the time are listed at the device level of a USB HID device, such as a mouse or keyboard. This causes the usbcore driver to load usbhid which binds to the device. After this, the lirc_imon module is loaded but is unable to bind to the device:
[ 1.883191] usbcore: registered new interface driver usbhid
[ 1.883194] usbhid: v2.6:USB HID core driver
[ 2.284009] usb 4-1: new low speed USB device using ohci_hcd and address 2
[ 2.540142] usb 4-1: configuration #1 chosen from 1 choice
[ 2.557154] input: HID 15c2:0042 as /devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1:1.0/input/input6
[ 2.557222] generic-usb 0003:15C2:0042.0003: input,hidraw2: USB HID v1.01 Mouse [HID 15c2:0042] on usb-0000:00:06.0-1/input0
[ 2.567143] generic-usb 0003:15C2:0042.0004: hiddev96,hidraw3: USB HID v1.00 Device [HID 15c2:0042] on usb-0000:00:06.0-1/input1
My only fix to this is to instruct udev to unbind the usbhid module from the device which allows lirc_imon to bind to it thereafter. It would be better though if all devices listed for this module, were to be listed in hid-quirks.c as HID_QUIRK_IGNORE. There already seems to be a Soundgraph device defined for this, which I think all devices supported by lirc_imon should be patched in. File is attached for supported module device aliases.
Also to note, that the usbhid module defines options to allow quirks to be passed to the module, but all options passed though modprobe to usbhid seem to be ignored (reference http://www.lirc.org/html/imon.html):
parm: quirks:Add/modify USB HID quirks by specifying quirks=vendorID:productID:quirks where vendorID, productID, and quirks are all in 0x-prefixed hex (array of charp)
modprobe.d/usbhid.conf
options usbhid quirks=0x15c2:0x0043:0x0004
This option should work, but fails, which I why the proposed fix is necessary.
|
|
2010-02-02 20:02:00 |
Surbhi Palande |
linux (Ubuntu Karmic): assignee |
|
Surbhi Palande (csurbhi) |
|
2010-02-02 20:02:11 |
Surbhi Palande |
linux (Ubuntu Karmic): status |
Triaged |
In Progress |
|
2010-02-18 15:01:59 |
Surbhi Palande |
linux (Ubuntu Karmic): status |
In Progress |
Fix Committed |
|
2010-02-18 15:07:02 |
Surbhi Palande |
linux (Ubuntu Karmic): status |
Fix Committed |
Fix Released |
|
2010-03-17 16:37:31 |
Stefan Bader |
linux (Ubuntu Karmic): status |
Fix Released |
Fix Committed |
|
2010-03-24 07:29:06 |
Martin Pitt |
tags |
|
verification-needed |
|
2010-03-24 08:21:11 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic-proposed/linux-mvl-dove |
|
2010-03-24 08:24:14 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic-proposed/linux-ec2 |
|
2010-03-31 23:13:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/linux-qcm-msm |
|
2010-04-28 17:36:06 |
Launchpad Janitor |
linux (Ubuntu Karmic): status |
Fix Committed |
Fix Released |
|