This is sporadically reproducible for me. It's probably a hardware
quirk. I have Ubuntu 20.04 with Linux 5.4.0-37-generic. I'm using a
"Microsoft Mobile Mouse 4000" which presents itself as 045e:07b2
"Microsoft Corp. 2.4GHz Transceiver v8.0 used by mouse Wireless Desktop
900". The issue only occurs when the transceiver is plugged into a
desktop USB hub (MBHUB-43ST presenting as VIA Labs 2109:2813). When it
is working, inspecting the event stream with cat
/sys/kernel/debug/hid/.../events while slowly scrolling gives a series
of events of size 3:

report (size 10) (numbered) =  1a 00 00 00 00 00 03 00 00 00
Button.0001 = 0
Button.0002 = 0
Button.0003 = 0
Button.0004 = 0
Button.0005 = 0
GenericDesktop.X = 0
GenericDesktop.Y = 0
GenericDesktop.Wheel = 3
Consumer.HorizontalWheel = 0

Fast scrolling gives events that are some multiple of 3.

After suspend/resume, the events have a size of 1:

report (size 10) (numbered) =  1a 00 00 00 00 00 01 00 00 00
Button.0001 = 0
Button.0002 = 0
Button.0003 = 0
Button.0004 = 0
Button.0005 = 0
GenericDesktop.X = 0
GenericDesktop.Y = 0
GenericDesktop.Wheel = 1
Consumer.HorizontalWheel = 0

My reading of the source implies that the kernel is not scaling these
events, the numbers are coming straight from the hardware.

The power light on the desktop hub briefly goes off as the laptop enters
suspend. This doesn't always happen but seems to be correlated with the
mouse breaking.

Removing and re-adding the usbhid kernel module does fix it, but I
suspect that's because the device is reset rather than because of any
state in the kernel.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1825736

Title:
  Mouse scroll wheel barely works after suspend

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After a resuming from a suspend the mouse scroll wheel is almost, but
  not quite, non functional. If you scroll quickly for a while you do
  get a slight movement of the scroll bar to show that there is some
  level of communication, but nothing remotely usable.

  The fix is to use the following commands to remove the hid_generic
  module and reinstate it:

  sudo rmmod hid_generic
  sudo modprobe hid_generic

  Following this all works as expected until the next suspend.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: linux-modules-5.0.0-13-generic 5.0.0-13.14
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  paul       1905 F.... pulseaudio
   /dev/snd/controlC1:  paul       1905 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Apr 21 19:02:00 2019
  Dependencies:
   
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=8032c5f7-74fd-4a23-92cb-5ad7d0642a9f
  InstallationDate: Installed on 2017-12-15 (491 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  MachineType: LENOVO 20238
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-13-generic 
root=UUID=63abd1a6-61ac-485b-9448-47d635ee8808 ro quiet splash vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-5.0.0-13-generic N/A
   linux-backports-modules-5.0.0-13-generic  N/A
   linux-firmware                            1.178
  SourcePackage: linux
  UpgradeStatus: Upgraded to disco on 2019-04-20 (1 days ago)
  dmi.bios.date: 10/20/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 79CN50WW(V3.09)
  dmi.board.asset.tag: No Asset Tag
  dmi.board.name: INVALID
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058Std
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo G510
  dmi.modalias: 
dmi:bvnLENOVO:bvr79CN50WW(V3.09):bd10/20/2014:svnLENOVO:pn20238:pvrLenovoG510:rvnLENOVO:rnINVALID:rvr31900058Std:cvnLENOVO:ct10:cvrLenovoG510:
  dmi.product.family: IDEAPAD
  dmi.product.name: 20238
  dmi.product.sku: LENOVO_MT_20238
  dmi.product.version: Lenovo G510
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825736/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to