Comment 0 for bug 1064490

Revision history for this message
Jacek Łukaszewicz (jacek-y2) wrote :

USB Gaming Mouse 04d9:a078 is not working.
dmesg says:

kernel: [ 2.988282] usb 4-2: new full-speed USB device number 3 using ohci_hcd
kernel: [ 3.163892] usb 4-2: New USB device found, idVendor=04d9, idProduct=a04a
kernel: [ 3.163899] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [ 3.163904] usb 4-2: Product: USB Gaming Mouse
kernel: [ 3.163908] usb 4-2: Manufacturer: Newman
kernel: [ 3.173664] input: Newman USB Gaming Mouse as /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/input/input4
kernel: [ 3.173744] hid-generic 0003:04D9:A04A.0003: input,hidraw2: USB HID v1.10 Keyboard [Newman USB Gaming Mouse] on usb-0000:00:12.0-2/input0
kernel: [ 3.181187] hid-generic 0003:04D9:A04A.0004: usage index exceeded
kernel: [ 3.181189] hid-generic 0003:04D9:A04A.0004: item 0 2 2 2 parsing failed
kernel: [ 3.181199] hid-generic: probe of 0003:04D9:A04A.0004 failed with error -22

workaroud:

In /usr/src/linux/include/linux/hid.h
change the value of the constant in line 344

#define HID_MAX_USAGES 12288

from 12288 to a value greater than 32k,
recompile and install the new kernel.

Solution found on site:
http://forums.opensuse.org/english/get-technical-help-here/hardware/473200-usb-gaming-mouse-04d9-a078-not-working-linux-plus-workaround.html

# lsb_release -rd
Description: Ubuntu quantal (development branch)
Release: 12.10

# apt-cache policy linux-image-extra-3.5.0-17-generic
linux-image-extra-3.5.0-17-generic:
  Zainstalowana: 3.5.0-17.27
  Kandydująca: 3.5.0-17.27
  Tabela wersji:
 *** 3.5.0-17.27 0
        500 http://pl.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status