[Bug 1825736] Re: Mouse scroll wheel barely works after suspend

2020-06-19 Thread Tim Starling
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825736

Title:
  Mouse scroll wheel barely works after suspend

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825736] Re: Mouse scroll wheel barely works after suspend

2020-01-08 Thread Paul Tansom
I've now tested the Microsoft mouse on my desktop computer and the
scroll wheel works find after a suspend / resume, so this looks to be a
clash with the hardware in the laptop - a Lenovo G510.

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

Title:
  Mouse scroll wheel barely works after suspend

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825736] Re: Mouse scroll wheel barely works after suspend

2020-01-07 Thread Paul Tansom
Updating to 19.10 hasn't fixed the problem, but I have just replaced my
mouse and found the issue is no longer there with the new one. The
original was a Microsoft Wireless Mobile Mouse 1000 (045e:0745 Microsoft
Corp. Nano Transceiver v1.0 for Bluetooth) and the new one is a Logitech
M220 (046d:c534 Logitech, Inc. Unifying Receiver).

Not a fix, but a work around perhaps and extra info for any debugging. I
still have the Microsoft one to test any fixes posted here.

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

Title:
  Mouse scroll wheel barely works after suspend

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825736] Re: Mouse scroll wheel barely works after suspend

2019-04-23 Thread Paul Tansom
I did not have this problem prior to upgrading to 19.04. The upgrade
process was an upgrade from 18.04 to 18.10 with an immediate upgrade to
19.04 (after a clean reboot), so there was no usage of 18.10 as a
desktop environment to compare with. The 18.04 install was kept up to
date.

I have tested using the installed linux-image-4.18.0-17-generic kernel
and found that there are no problems. During the test process I have
noted that there are no problems if the suspend is initiated manually
using the top right 'menu' to suspend instead of shutdown or reboot.
There is a problem, however, if the suspend is initiated by simply
closing the laptop.

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

Title:
  Mouse scroll wheel barely works after suspend

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1825736] Re: Mouse scroll wheel barely works after suspend

2019-04-21 Thread Kai-Heng Feng
Is this a regression? Does this issue happen to previous kernel
releases?

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

Title:
  Mouse scroll wheel barely works after suspend

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs