USB Gaming Mouse 04d9:a078 not working

Bug #1064490 reported by Jacek Łukaszewicz
90
This bug affects 19 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

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
---
ApportVersion: 2.6.1-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jarzabek 2309 F.... pulseaudio
 /dev/snd/controlC0: jarzabek 2309 F.... pulseaudio
 /dev/snd/pcmC0D0p: jarzabek 2309 F...m pulseaudio
CRDA: Error: [Errno 2] Nie ma takiego pliku ani katalogu
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=UUID=44032fe5-8c62-4706-adf6-036103183a07
IwConfig:
 tun0 no wireless extensions.

 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: To be filled by O.E.M. To be filled by O.E.M.
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-16-generic root=UUID=b395cc47-d2bd-4d63-856b-ce6c5d291d3e ro splash quiet
ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-16-generic N/A
 linux-backports-modules-3.5.0-16-generic N/A
 linux-firmware 1.94
RfKill:

Tags: quantal
Uname: Linux 3.5.0-16-generic x86_64
UpgradeStatus: Upgraded to quantal on 2012-09-27 (11 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 04/20/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1208
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M5A97 PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1208:bd04/20/2012:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnM5A97PRO:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

Revision history for this message
Jacek Łukaszewicz (jacek-y2) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1064490

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: quantal
Revision history for this message
Jacek Łukaszewicz (jacek-y2) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jacek Łukaszewicz (jacek-y2) wrote : BootDmesg.txt

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

Logs from kernel linux-image-3.5.0-16
3.5.0-17 i have allready patched.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thank you for providing a patch, and making Ubuntu better.

Can you provide some information on the status of the patch with regards to getting it merged upstream? Has it been sent upstream, what sort of feedback has it received, is it getting applied to a subsystem maintainer's tree, etc?

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Jacek Łukaszewicz (jacek-y2) wrote :

This bug is also report in Suse linux:

https://bugzilla.novell.com/show_bug.cgi?id=774676

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

I found code in kernel for proper work Holtek keyboard:
It looks like same problem with mouse:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob;f=drivers/hid/hid-holtek-kbd.c

Changed in linux (Ubuntu):
assignee: nobody → Urajimiru Erirofu (openmindead)
Changed in linux (Ubuntu):
assignee: Urajimiru Erirofu (openmindead) → nobody
Revision history for this message
Vladimir Yerilov (openmindead) wrote :

Ubuntu 13.04 (Beta 2).
Bug still persists. Recompiling kernel mentioned in Bug Description section resolves the promlem but it's too geeky way to make mouse work properly.

Revision history for this message
Vladimir Yerilov (openmindead) wrote :

This bug hasn't been fixed yet?! I was very surprised to face it during testing one of Saucy's dailies a week ago. It is ridiculous to recompile kernel each time one receives update because of one incorrect value.

Revision history for this message
Gregor Rebel (gregor-k) wrote :

Bug also occurs in Trusty Tar with an Easy-Acc X900-M gaming Mouse.

$ uname -a
Linux hlb21 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$dmesg
...
[35396.307207] hid-generic 0003:062A:0252.0005: can't reset device, 0000:00:1d.0-1.6.3/input0, status -71
[35399.932243] usb 1-1.3: new full-speed USB device number 5 using ehci-pci
[35400.033323] usb 1-1.3: New USB device found, idVendor=04d9, idProduct=a070
[35400.033330] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[35400.033334] usb 1-1.3: Product: USB Gaming Mouse
[35400.033338] usb 1-1.3: Manufacturer: Sun Sonny
[35400.037313] input: Sun Sonny USB Gaming Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input26
[35400.037535] hid-generic 0003:04D9:A070.0011: input,hidraw2: USB HID v1.10 Keyboard [Sun Sonny USB Gaming Mouse] on usb-0000:00:1a.0-1.3/input0
[35400.044513] hid (null): usage index exceeded
[35400.044868] hid-generic 0003:04D9:A070.0012: usage index exceeded
[35400.044873] hid-generic 0003:04D9:A070.0012: item 0 2 2 2 parsing failed
[35400.044892] hid-generic: probe of 0003:04D9:A070.0012 failed with error -22
[35400.047369] hid-generic 0003:04D9:A070.0013: hiddev0,hidraw5: USB HID v1.10 Device [Sun Sonny USB Gaming Mouse] on usb-0000:00:1a.0-1.3/input2

Is there a chance to get it fixed?

Revision history for this message
mercuriete (mercuriete) wrote :

i have the same problem but with another usb device:

Bus 005 Device 002: ID 147a:e02c Formosa Industrial Computing, Inc. Infrared Receiver

it is a infrared receiver but in fact is like a usb keyboard.

my laptop is an old Acer Aspire 5510 and i never was able to make my infrared get working but i read this thread and now i could fix the problem..

quoting to this guy....

#define HID_MAX_USAGES 12288

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

i did this and now its working:

[ 3.417227] usbhid 5-1:1.0: usb_probe_interface
[ 3.417232] usbhid 5-1:1.0: usb_probe_interface - got id
[ 3.470040] input: Formosa21 Industrial Computing USB Remote as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input9
[ 3.470070] uhci_hcd 0000:00:1d.3: reserve dev 2 ep81-INT, period 8, phase 4, 93 us
[ 3.470650] usbhid 5-1:1.0: looking for a minor, starting at 96
[ 3.471219] hid-generic 0003:147A:E02C.0001: input,hiddev0,hidraw0: USB HID v1.10 Keyboard [Formosa21 Industrial Computing USB Remote] on usb-0000:00:1d.3-1/input0

Revision history for this message
Ismond (ismond) wrote :

Solved with Ubuntu 14.04

Revision history for this message
James Cordell (cordell-james) wrote :

Hi

I have tried to get this working on Ubuntu 14.04 and found it not to work. And on gentoo neither linux-3.14.14-gentoo. I edited the hid.h as directed.

all I get is.

Oct 17 00:57:38 bell kernel: [842014.020801] usb 2-1.1: new full-speed USB device number 25 using ehci-pci
Oct 17 00:57:38 bell kernel: [842014.114937] usb 2-1.1: New USB device found, idVendor=04d9, idProduct=a070
Oct 17 00:57:38 bell kernel: [842014.114947] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 00:57:38 bell kernel: [842014.114953] usb 2-1.1: Product: USB Gaming Mouse
Oct 17 00:57:38 bell kernel: [842014.114958] usb 2-1.1: Manufacturer: Sun Sonny
Oct 17 00:57:38 bell mtp-probe: checking bus 2, device 25: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Oct 17 00:57:38 bell mtp-probe: bus: 2, device: 25 was not an MTP device

Revision history for this message
James Cordell (cordell-james) wrote :

I now have it working on gentoo. after following this.

https://forums.gentoo.org/viewtopic-t-998532.html?sid=68d9fe889eab0cb2d420ea7276335c06

I had not enabled the HOLTEK kernel modules.

When I did plugging in the mouse produced the following.

Oct 17 00:57:38 bell kernel: [842014.020801] usb 2-1.1: new full-speed USB device number 25 using ehci-pci
Oct 17 00:57:38 bell kernel: [842014.114937] usb 2-1.1: New USB device found, idVendor=04d9, idProduct=a070
Oct 17 00:57:38 bell kernel: [842014.114947] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 00:57:38 bell kernel: [842014.114953] usb 2-1.1: Product: USB Gaming Mouse
Oct 17 00:57:38 bell kernel: [842014.114958] usb 2-1.1: Manufacturer: Sun Sonny
Oct 17 00:57:38 bell mtp-probe: checking bus 2, device 25: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Oct 17 00:57:38 bell mtp-probe: bus: 2, device: 25 was not an MTP device
Oct 17 00:59:01 bell cron[29291]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Oct 17 00:59:12 bell kernel: [842107.561120] usb 2-1.1: USB disconnect, device number 25
Oct 17 01:00:01 bell cron[29310]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Oct 17 01:06:39 bell kernel: [842555.071574] usb 2-1.1: new full-speed USB device number 26 using ehci-pci
Oct 17 01:06:39 bell kernel: [842555.165718] usb 2-1.1: New USB device found, idVendor=04d9, idProduct=a070
Oct 17 01:06:39 bell kernel: [842555.165726] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 01:06:39 bell kernel: [842555.165730] usb 2-1.1: Product: USB Gaming Mouse
Oct 17 01:06:39 bell kernel: [842555.165733] usb 2-1.1: Manufacturer: Sun Sonny
Oct 17 01:06:40 bell mtp-probe: checking bus 2, device 26: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Oct 17 01:06:40 bell mtp-probe: bus: 2, device: 26 was not an MTP device
Oct 17 01:06:40 bell kernel: [842556.065450] input: Sun Sonny USB Gaming Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:04D9:A070.0008/input/input8
Oct 17 01:06:40 bell kernel: [842556.065581] holtek_mouse 0003:04D9:A070.0008: input,hidraw0: USB HID v1.10 Keyboard [Sun Sonny USB Gaming Mouse] on usb-0000:00:1d.0-1.1/input0
Oct 17 01:06:40 bell kernel: [842556.065596] holtek_mouse 0003:04D9:A070.0009: Fixing up report descriptor
Oct 17 01:06:40 bell kernel: [842556.095607] input: Sun Sonny USB Gaming Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:04D9:A070.0009/input/input9
Oct 17 01:06:40 bell kernel: [842556.095842] holtek_mouse 0003:04D9:A070.0009: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Sun Sonny USB Gaming Mouse] on usb-0000:00:1d.0-1.1/input1
Oct 17 01:06:40 bell kernel: [842556.096680] holtek_mouse 0003:04D9:A070.000A: hiddev0,hidraw2: USB HID v1.10 Device [Sun Sonny USB Gaming Mouse] on usb-0000:00:1d.0-1.1/input2

Revision history for this message
Hanno (hzulla) wrote :

I am not affected.

But while reading up on a possible purchase of a Medion Akoya P2214T computer, users reported that its attachable keyboard doesn't work with Ubuntu 14.04. In the same thread, one user reported that the HID_MAX_USAGES change fixes this.

See http://ubuntuforums.org/showthread.php?t=2247265

Revision history for this message
Christians (script-vollbio) wrote :

I have had a similar issue on 14.04 with a different mouse reported here https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1360293.
Problem was fixed after upgrading to 14.10, 3.16.0-31-generic #41-Ubuntu SMP Tue Feb 10 15:24:46 UTC 2015 i686 i686 i686 GNU/Linux.

My problem was with gaming mouse EasyAcc- X900-M.

Revision history for this message
Simplehuman (simplehuman) wrote :

Hello, everyone affected. Is this bug still actual on new kernel versions?

Revision history for this message
Edson Oliveira (elo-edson) wrote :

I´m buy a mouse of this type and do not work.
I know much choises and functions but i don´t know how solve-it.

Revision history for this message
Edson Oliveira (elo-edson) wrote :

lsusb :
Bus 002 Device 007: ID 04d9:a077 Holtek Semiconductor, Inc.

Revision history for this message
Edson Oliveira (elo-edson) wrote :

The mouse is a gaming mouse satellite A-52

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.