Kernel 4.15.0-59 (and onwards) breaks scroll wheel of USB mouse (A4Tech X5-50D)

Bug #1843323 reported by Christian Schrötter
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Linux
Confirmed
High
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The latest kernel upgrade makes it impossible to use the scroll wheel of one specific mouse.

 Affected Ubuntu release: 18.04.3
 Last working kernel version: 4.15.0-58
 Affected kernel versions: 4.15.0-59, 4.15.0-60, 4.15.0-62, …

I've several X5-50D input devices, tested at three different systems, connected via USB2 and USB3. I can reproduce the issue at all machines at any time. All others mouses are working fine. When booting the old kernel the problem is gone.

Please tell me what details are required to trace this issue down. I should be able to test custom patches and build packages, if required.

> usb 3-11: new low-speed USB device number 5 using xhci_hcd
> usb 3-11: New USB device found, idVendor=09da, idProduct=000a
> usb 3-11: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> usb 3-11: Product: PS/2+USB Mouse
> usb 3-11: Manufacturer: A4Tech
> input: A4Tech PS/2+USB Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-11/3-11:1.0/0003:09DA:000A.0005/input/input21
> a4tech 0003:09DA:000A.0005: input,hidraw4: USB HID v1.10 Mouse [A4Tech PS/2+USB Mouse] on usb-0000:00:14.0-11/input0

> Bus 003 Device 004: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D / OP-620D
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 1.10
> bDeviceClass 0 (Defined at Interface level)
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 8
> idVendor 0x09da A4Tech Co., Ltd.
> idProduct 0x000a Optical Mouse Opto 510D / OP-620D
> bcdDevice 1.05
> iManufacturer 1 A4Tech
> iProduct 2 USB Mouse
> iSerial 0
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 34
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0xa0
> (Bus Powered)
> Remote Wakeup
> MaxPower 100mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 1
> bInterfaceClass 3 Human Interface Device
> bInterfaceSubClass 1 Boot Interface Subclass
> bInterfaceProtocol 2 Mouse
> iInterface 0
> HID Device Descriptor:
> bLength 9
> bDescriptorType 33
> bcdHID 1.10
> bCountryCode 0 Not supported
> bNumDescriptors 1
> bDescriptorType 34 Report
> wDescriptorLength 48
> Report Descriptors:
> ** UNAVAILABLE **
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 EP 1 IN
> bmAttributes 3
> Transfer Type Interrupt
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 10
> Device Status: 0x0000
> (Bus Powered)

---

ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=e505eab0-02d8-41dc-90f2-de6cd8658f6f
InstallationDate: Installed on 2015-07-19 (1513 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
MachineType: MSI MS-7924
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-62-generic root=UUID=f8e0335a-11ac-48ca-90af-23784d1ed592 ro quiet splash
ProcVersionSignature: Ubuntu 4.15.0-62.69-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-62-generic N/A
 linux-backports-modules-4.15.0-62-generic N/A
 linux-firmware 1.173.10
RfKill:

Tags: bionic
Uname: Linux 4.15.0-62-generic x86_64
UpgradeStatus: Upgraded to bionic on 2019-07-16 (55 days ago)
UserGroups: adm cdrom dialout dip fax floppy fuse libvirt libvirtd lpadmin plugdev sambashare sudo tape vboxusers video wireshark
_MarkForUpload: True

Revision history for this message
In , morfikov (morfikov-linux-kernel-bugs) wrote :

Created attachment 283689
lsusb

I have the following mouse:

$ lsusb
...
Bus 002 Device 005: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D / OP-620D

It was working well till the kernel 5.1.16. I upgraded the kernel to 5.1.18 and the mouse scroll doesn't work any more. The same issue is with the kernel 5.2.0 and 5.2.1 . I haven't tested it with the 5.1.17 version.

When I compare the kernel .config file from 5.1.16 and 5.1.18, they're pretty much the same.

Revision history for this message
In , k-kern-bugzilla (k-kern-bugzilla-linux-kernel-bugs) wrote :

(In reply to Mikhail Morfikov from comment #0)
> Created attachment 283689 [details]
> lsusb
>
> I have the following mouse:
>
> $ lsusb
> ...
> Bus 002 Device 005: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D /
> OP-620D
>
> It was working well till the kernel 5.1.16. I upgraded the kernel to 5.1.18
> and the mouse scroll doesn't work any more. The same issue is with the
> kernel 5.2.0 and 5.2.1 . I haven't tested it with the 5.1.17 version.
>
> When I compare the kernel .config file from 5.1.16 and 5.1.18, they're
> pretty much the same.

I can confirm same issue. Fedora 30, 5.1.17-300.fc30.x86_64 kernel, the same mouse :

$ lsusb
...
Bus 003 Device 002: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D /OP-620D

First time I supposed that my mouse is gone, but then I rebooted into older 5.1.16 kernel - and everything works fine there.

Revision history for this message
In , k-kern-bugzilla (k-kern-bugzilla-linux-kernel-bugs) wrote :

I've been upgraded (F30) into the 5.1.18-300.fc30.x86_64 kernel before a while, problem still remains. So it has to be something (which occurs) between 5.1.16 and 5.1.17 and it's not solved yet.

Revision history for this message
In , igorkuo (igorkuo-linux-kernel-bugs) wrote :
Revision history for this message
In , k-kern-bugzilla (k-kern-bugzilla-linux-kernel-bugs) wrote :

Yes, this patch is working well, as I tested before a while and confirmed also in RedHat bugzilla there :

https://bugzilla.redhat.com/show_bug.cgi?id=1730762

Revision history for this message
In , morfikov (morfikov-linux-kernel-bugs) wrote :

I also can confirm the patch fixes the scroll issue (tested with the kernel 5.2.1).

Revision history for this message
In , dithpri (dithpri-linux-kernel-bugs) wrote :

I can also confirm the patch works, tested on kernel 5.2.0.

Revision history for this message
In , ikalvachev (ikalvachev-linux-kernel-bugs) wrote :

This patch fixes the scroll issue for me too.

I'm with fairly old A4Tech X6-005D
a4tech 0003:09DA:000A.0001: input,hidraw0: USB HID v1.10 Mouse [A4Tech PS/2+USB Mouse]

I've tested it on 5.2.1 and 5.2.2.

I hope the patch will make it into 5.2.3.

Revision history for this message
In , k-kern-bugzilla (k-kern-bugzilla-linux-kernel-bugs) wrote :

Could anybody confirm, if this patch is (or isn't yet) included in the fresh 5.2.4 kernel, please ?

Revision history for this message
In , igorkuo (igorkuo-linux-kernel-bugs) wrote :

Probably not. You can search for "a4tech" in kernel patch change logs here: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.2.4 (replace the version number at the end of this URL to check out other versions).

Revision history for this message
In , k-kern-bugzilla (k-kern-bugzilla-linux-kernel-bugs) wrote :

Hmm, probably the same for 5.1.21 :-(. Is here somebody from upstream, who can say to us, when this patch is planned for (which) stable kernel? Or explain, why it will not be possible (in the near future) ? I understand, that sometimes the patch can have more cons than pros, can be dangerous/broken/whatever, but I guess this is not the case (as we already confirmed, inserting this patch into 5.1.18 kernel within Fedora kernel-tree works like a charm, nothing else is affected, etc.). Thanks.

Revision history for this message
In , ikalvachev (ikalvachev-linux-kernel-bugs) wrote :

This bug has been filled under Other/Other product/category, so it goes into "other" maillist. You can assume no developer would read that.

I opened a new bug into the correct category, but so far it seem to be ignored too.
https://bugzilla.kernel.org/show_bug.cgi?id=204347

I guess we need to escalate the things.

Revision history for this message
In , ikalvachev (ikalvachev-linux-kernel-bugs) wrote :

The patch has finally made it into linux-5.3-rc4

Maybe soon it will trickle down to older kernel patches.

Revision history for this message
In , ikalvachev (ikalvachev-linux-kernel-bugs) wrote :

The fix is in kernel 5.2.11 .

I don't think they would be releasing any more revisions of linux-5.1.x ,
so I consider the bug fixed.

Revision history for this message
Christian Schrötter (killerbees19) wrote :
tags: added: input mouse
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1843323

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
Revision history for this message
Christian Schrötter (killerbees19) wrote : ProcCpuinfoMinimal.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
Christian Schrötter (killerbees19) wrote : ProcEnviron.txt

apport information

Revision history for this message
Christian Schrötter (killerbees19) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Christian Schrötter (killerbees19) wrote : ProcModules.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
vlad (vladisslav) wrote :

I've tested latest mainline kernel.
This bug is fixed in mainline. I'm using A4tech X6-90D and both wheels are working fine in mainline.

Revision history for this message
vlad (vladisslav) wrote :
Revision history for this message
vlad (vladisslav) wrote :
Changed in linux:
importance: Unknown → High
status: Unknown → Confirmed
tags: added: patch
Revision history for this message
Christian Schrötter (killerbees19) wrote :

@vladisslav: Thanks! :-)

@Maintainer: I've build a test package with 1c703b53e5bfb5c2205c30f0fb157ce271fd42fb.patch and it fixes the bug for me. So it's a clear +1 from me for backporting this patch ASAP.

Revision history for this message
Pawel Duda (paw-duda) wrote :
Revision history for this message
Christian Schrötter (killerbees19) wrote :

This should be fixed at 4.15.0-63.72 (and 4.15.0-65.74) -- available at bionic-proposed.

It's mentioned in the changelog, but I've not tested it yet.

https://wiki.ubuntu.com/Testing/EnableProposed

Revision history for this message
Christian Schrötter (killerbees19) wrote :

> […] but I've not tested it yet.

Confirmed, fixed in bionic-proposed! :-)

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
vlad (vladisslav) wrote :

I've upgraded to 4.15.0-64-generic from bionic-proposed and the bug is still here. :-(

Revision history for this message
Christian Schrötter (killerbees19) wrote :

@vladisslav: Your version is too old, that's not from bionic-proposed! ;-)

> $ apt-cache policy linux-image-generic
linux-image-generic:
> Installed: 4.15.0.65.67
> Candidate: 4.15.0.65.67
> Version table:
> *** 4.15.0.65.67 500
> 500 http://at.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
> 100 /var/lib/dpkg/status
> 4.15.0.64.66 500
> 500 http://at.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
> 500 http://at.archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
> 4.15.0.20.23 500
> 500 http://at.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

I'm running 4.15.0.65.67 (uname = 4.15.0-65-generic) and it's working fine.

Revision history for this message
Christian Schrötter (killerbees19) wrote :

> $ apt-cache policy linux-image-4.15.0-65-generic
> linux-image-4.15.0-65-generic:
> Installed: 4.15.0-65.74
> Candidate: 4.15.0-65.74
> Version table:
> *** 4.15.0-65.74 500
> 500 http://at.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
> 100 /var/lib/dpkg/status

Revision history for this message
vlad (vladisslav) wrote :

For some unknown reason I did not receive 4.15.0-65-generic yesterday.
Today I've installed latest updates and both mouse wheels are working as expected.
Confirmed, fixed.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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