Re: [REGRESSION] CyberPower LE1000DG (0764:0501) USB HID regression on x86
Lovekesh Solanki <[email protected]> Wed, 5 Aug 2026 00:26:07 +0530
| Newsgroups | org.kernel.vger.linux-input,dev.linux.lists.regressions,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <anIhyHL4Kl-DX2G_@eggarch> |
--iutcx4g65ls3ovlf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Thanks for the report,
On Thu, Jul 30, 2026 at 03:28:02PM -0400, Jamie Stephens wrote:
> sudo lsusb -v -d 0764:0501
>
> reports:
>
> wDescriptorLength 504
>
> Warning: can't get report descriptor, LIBUSB_ERROR_PIPE
>
> cannot read device status, Resource temporarily unavailable (11)
>
> As a result, usbhid-ups is unable to reliably communicate with the
> device and NUT cannot reliably monitor UPS status.
The lsusb failure and NUT seem to be seperate, lsusb failure could
simply be device property.
Few possibilities I can think of worth testing:
1) It may be related to LPM, the device may be advertising this but may
not be handling it properly.
2) Commit 8020c41b39f5 (usb: core: allow ACPI-managed hard-wired ports to power off)
lets acpi managed ports be powered off even if hub does not advertise
power switching. The UPS may be sitting on such port and its power could
be cycled out and leave it in a stale state.
I'm attaching two patches to see if they have any effect, please apply
and test them seperatly and let us know the results.
And, as per Thorsten's advice above, run git bisection regardless.
Regards,
Lovekesh
--iutcx4g65ls3ovlf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="01-no-lpm.patch"
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 87ee2d938bc0..2c07e1cb7e05 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -374,6 +374,9 @@ static const struct usb_device_id usb_quirk_list[] = {
/* Midiman M-Audio Keystation 88es */
{ USB_DEVICE(0x0763, 0x0192), .driver_info = USB_QUIRK_RESET_RESUME },
+ /* CyberPower Systems UPS (LE1000DG / CP1500 AVR) */
+ { USB_DEVICE(0x0764, 0x0501), .driver_info = USB_QUIRK_NO_LPM },
+
/* SanDisk Ultra Fit and Ultra Flair */
{ USB_DEVICE(0x0781, 0x5583), .driver_info = USB_QUIRK_NO_LPM },
{ USB_DEVICE(0x0781, 0x5591), .driver_info = USB_QUIRK_NO_LPM },
--iutcx4g65ls3ovlf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="02-resume-reset.patch"
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 87ee2d938bc0..8ccc5fc6060c 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -374,6 +374,9 @@ static const struct usb_device_id usb_quirk_list[] = {
/* Midiman M-Audio Keystation 88es */
{ USB_DEVICE(0x0763, 0x0192), .driver_info = USB_QUIRK_RESET_RESUME },
+ /* CyberPower Systems UPS (LE1000DG / CP1500 AVR) */
+ { USB_DEVICE(0x0764, 0x0501), .driver_info = USB_QUIRK_RESET_RESUME},
+
/* SanDisk Ultra Fit and Ultra Flair */
{ USB_DEVICE(0x0781, 0x5583), .driver_info = USB_QUIRK_NO_LPM },
{ USB_DEVICE(0x0781, 0x5591), .driver_info = USB_QUIRK_NO_LPM },
--iutcx4g65ls3ovlf--