FS#39981 - [linux] Cannot get input event device for some USB input devices

Attached to Project: Arch Linux
Opened by Daniele C. (legolas558) - Monday, 21 April 2014, 00:05 GMT
Last edited by Jan de Groot (JGC) - Monday, 21 April 2014, 10:18 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When I attach this device:
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=03 Dev#= 16 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0079 ProdID=0011 Rev=01.06
S: Product=USB Gamepad
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid

I get no input event device created. In dmesg:

[407350.223278] usb 1-2: new low-speed USB device number 17 using xhci_hcd
[407350.399967] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes

This guy in a mailing list mentions hid-dr.ko, although I don't know where to find that without building the kernel myself:

http://www.spinics.net/lists/linux-usb/msg105454.html

This gamepad used to work fine, and a Logitech one also works without issues, so I'd say that problem is limited to some low speed devices
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 21 April 2014, 10:18 GMT
Reason for closing:  Works for me
Comment by Doug Newgard (Scimmia) - Monday, 21 April 2014, 04:02 GMT
hid-dr is included with the standard linux package.
Comment by Daniele C. (legolas558) - Monday, 21 April 2014, 06:07 GMT
thanks Doug for your reply, however as of this morning I cannot reproduce this anymore. I repeated exactly same steps (also order of plugging devices in), and no relevant packages have been installed since yesterday:

[2014-04-21 01:58] [PACMAN] synchronizing package lists
[2014-04-21 01:58] [PACMAN] starting full system upgrade
[2014-04-21 02:00] [PACMAN] upgraded at-spi2-atk (2.12.0-1 -> 2.12.1-1)
[2014-04-21 02:00] [PACMAN] upgraded bluez-libs (5.17-1 -> 5.18-1)
[2014-04-21 02:00] [PACMAN] upgraded icu (52.1-1 -> 53.1-1)
[2014-04-21 02:00] [PACMAN] upgraded boost-libs (1.55.0-5 -> 1.55.0-6)
[2014-04-21 02:00] [PACMAN] upgraded boost (1.55.0-5 -> 1.55.0-6)
[2014-04-21 02:00] [PACMAN] upgraded mesa (10.1.0-5 -> 10.1.1-1)
[2014-04-21 02:00] [PACMAN] upgraded libxkbcommon (0.4.0-1 -> 0.4.1-1)
[2014-04-21 02:00] [PACMAN] upgraded clutter (1.18.0-1 -> 1.18.2-1)
[2014-04-21 02:00] [PACMAN] upgraded geany (1.24-1 -> 1.24.1-1)
[2014-04-21 02:00] [PACMAN] upgraded giflib (5.0.5-1 -> 5.0.6-1)
[2014-04-21 02:00] [PACMAN] upgraded gnutls (3.3.0-1 -> 3.3.1-1)
[2014-04-21 02:00] [PACMAN] upgraded harfbuzz (0.9.26-1 -> 0.9.26-2)
[2014-04-21 02:00] [PACMAN] upgraded harfbuzz-icu (0.9.26-1 -> 0.9.26-2)
[2014-04-21 02:00] [PACMAN] upgraded mesa-libgl (10.1.0-5 -> 10.1.1-1)
[2014-04-21 02:00] [PACMAN] upgraded intel-dri (10.1.0-5 -> 10.1.1-1)
[2014-04-21 02:00] [PACMAN] upgraded jre7-openjdk-headless (7.u51_2.4.6-1 -> 7.u55_2.4.7-1)
[2014-04-21 02:00] [PACMAN] upgraded jre7-openjdk (7.u51_2.4.6-1 -> 7.u55_2.4.7-1)
[2014-04-21 02:00] [PACMAN] upgraded jdk7-openjdk (7.u51_2.4.6-1 -> 7.u55_2.4.7-1)
[2014-04-21 02:00] [ALPM-SCRIPTLET] updating font cache... done.
[2014-04-21 02:00] [PACMAN] upgraded lib32-fontconfig (2.11.0-1 -> 2.11.1-1)
[2014-04-21 02:00] [PACMAN] upgraded lib32-icu (52.1-1 -> 53.1-1)
[2014-04-21 02:00] [PACMAN] upgraded lib32-harfbuzz (0.9.26-1 -> 0.9.26-2)
[2014-04-21 02:00] [PACMAN] upgraded lib32-libjpeg-turbo (1.3.0-4 -> 1.3.1-1)
[2014-04-21 02:00] [PACMAN] upgraded lib32-mesa (10.1.0-4 -> 10.1.1-1)
[2014-04-21 02:00] [PACMAN] upgraded lib32-mesa-libgl (10.1.0-4 -> 10.1.1-1)
[2014-04-21 02:00] [PACMAN] upgraded libcacard (1.7.0-2 -> 1.7.1-1)
[2014-04-21 02:00] [PACMAN] upgraded libdvdread (4.2.1-1 -> 4.9.9-1)
[2014-04-21 02:00] [PACMAN] upgraded libgphoto2 (2.5.3.1-2 -> 2.5.4-1)
[2014-04-21 02:00] [PACMAN] upgraded libvisio (0.0.31-2 -> 0.0.31-3)
[2014-04-21 02:00] [PACMAN] upgraded libreoffice-common (4.2.3-2 -> 4.2.3-3)
[2014-04-21 02:00] [PACMAN] upgraded libreoffice-calc (4.2.3-2 -> 4.2.3-3)
[2014-04-21 02:00] [PACMAN] upgraded libreoffice-writer (4.2.3-2 -> 4.2.3-3)
[2014-04-21 02:00] [PACMAN] upgraded libwbclient (4.1.6-1 -> 4.1.7-1)
[2014-04-21 02:00] [PACMAN] upgraded mupdf (1.4-1 -> 1.4-2)
[2014-04-21 02:00] [PACMAN] upgraded php (5.5.11-1 -> 5.5.11-2)
[2014-04-21 02:00] [PACMAN] upgraded pygobject-devel (3.12.0-1 -> 3.12.1-1)
[2014-04-21 02:00] [PACMAN] upgraded python2-gobject (3.12.0-1 -> 3.12.1-1)
[2014-04-21 02:00] [PACMAN] upgraded qemu (1.7.0-2 -> 1.7.1-1)
[2014-04-21 02:00] [PACMAN] upgraded qt4 (4.8.5-8 -> 4.8.5-9)
[2014-04-21 02:00] [PACMAN] upgraded qt5-base (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-xmlpatterns (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-declarative (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-location (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-sensors (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-webkit (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-translations (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded qt5-tools (5.2.1-1 -> 5.2.1-3)
[2014-04-21 02:00] [PACMAN] upgraded raptor (2.0.13-1 -> 2.0.13-2)
[2014-04-21 02:00] [PACMAN] upgraded talloc (2.1.0-1 -> 2.1.0-2)
[2014-04-21 02:00] [PACMAN] upgraded tevent (0.9.21-2 -> 0.9.21-3)
[2014-04-21 02:00] [PACMAN] upgraded smbclient (4.1.6-1 -> 4.1.7-1)
[2014-04-21 02:00] [PACMAN] upgraded samba (4.1.6-1 -> 4.1.7-1)
[2014-04-21 02:00] [PACMAN] upgraded screen (4.0.3-15 -> 4.2.0-1)
[2014-04-21 02:00] [PACMAN] upgraded webkitgtk2 (2.4.0-1 -> 2.4.1-1)
[2014-04-21 02:00] [PACMAN] upgraded wine (1.7.16-1 -> 1.7.17-1)

Thus I cannot understand what happened, because now correct dmesg lines are shown:

[ 59.208445] usb 1-2.3: new low-speed USB device number 8 using xhci_hcd
[ 59.292249] usb 1-2.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 59.307116] input: USB Gamepad as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.3/1-2.3:1.0/0003:0079:0011.0007/input/input21
[ 59.307509] dragonrise 0003:0079:0011.0007: input,hidraw4: USB HID v1.10 Joystick [USB Gamepad ] on usb-0000:00:14.0-2.3/input0

The last 2 lines were not showing yesterday. The machine had been up and running for more than 3 days on my tests of yesterday. For now I will conclude that I had high static in my hands and blame that...

Loading...