Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1266005

Bug#1118025: USB mouse stops working after suspend on Debian 13 (usbhid error -71)

From dchan Coding <dchan.coding@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1118025: USB mouse stops working after suspend on Debian 13 (usbhid error -71)
Date 2025-10-14 00:00 +0200
Message-ID <LFyKe-4YSC-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: linux-image-amd64

After resuming from suspend-to-RAM, my USB mouse stops working: the pointer
may move, but both left and right buttons do nothing.
In previous Debian 12 builds (with a different kernel), the issue could be
fixed by clicking the right button, but this no longer works.

Kernel log (dmesg) after resume shows the following error:

usbhid 2-1.6:1.0: can't add hid device: -71
usbhid 2-1.6:1.0: probe with driver usbhid failed with error -71

The issue can be temporarily fixed by running:

sudo modprobe -r psmouse
sudo modprobe psmouse

Even though this is a standard USB mouse (not a touchpad).

As a workaround, I created a script to reload the psmouse module
automatically after resume, which resolves the problem. This suggests that
the psmouse module or related subsystem is not being reinitialized properly
after suspend.

SYSTEM:
Debian 13 (Trixie/Sid)
Kernel: 6.12.48+deb13-amd64
Generic USB mouse
Laptop: Dell Latitude

STEPS TO REPRODUCE:
Boot Debian 13 with the affected kernel
Suspend the system to RAM with: systemctl suspend
Resume from suspend
Observe that the mouse pointer may move, but the buttons do not work

WORKAROUND:
In new terminal run:
sudo modprobe -r psmouse
sudo modprobe psmouse

the psmouse module after resume restores full mouse functionality.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1118025: USB mouse stops working after suspend on Debian 13 (usbhid error -71) dchan Coding <dchan.coding@gmail.com> - 2025-10-14 00:00 +0200

csiph-web