Re: [BUG] HID: logitech-hidpp: G502 LIGHTSPEED loses hi-res scroll state after S3 resume

From: Michal Pecio

Date: Wed Sep 09 2026 - 16:43:09 EST


On Wed, 9 Sep 2026 09:58:28 -0600, Quinn Schive wrote:
> After some S3 resumes, mouse wheel scrolling becomes approximately 8
> times slower.
>
> Turning the G502 off and back on immediately restores normal
> scrolling.
>
> I captured the failure before power-cycling the mouse.
>
> During the resume that triggered the problem, both PROM21 xHCI
> controllers reported:
>
> xhci-pci-prom21 0000:11:00.0: xHC error in resume, USBSTS 0x401, Reinit
> usb usb10: root hub lost power or was reset
> usb usb11: root hub lost power or was reset

Hi,

You could try if this problem is fixed by the following patch:
https://lore.kernel.org/linux-usb/178832755831.50581.1058201741431375556@xxxxxxxxx/

That being said,

> My interpretation, with the caveat that I am not familiar with the
> HID++ driver internals, is:
>
> 1. Before suspend, the G502 is configured for high-resolution
> scrolling and hid-logitech-hidpp stores wheel_multiplier=8.
>
> 2. During S3 resume, the PROM21 xHCI controller fails normal resume
> and is reinitialized.
>
> 3. The LIGHTSPEED receiver gets a USB reset while USB persistence
> keeps the logical receiver/HID device present.
>
> 4. The G502 appears to lose its high-resolution wheel reporting
> configuration. In the affected state, one physical detent generates
> only one raw increment.
>
> 5. hid-logitech-hidpp retains wheel_multiplier=8 and apparently does
> not re-run the necessary high-resolution configuration on this
> recovery path.

this still looks like missing functionality in the driver.
Needs to handle reset_resume() perhaps?

Regards,
Michal