Debian 9 Xfce intermittent keyboard and mouse erratic behavior or lockup
debian-user:
I have an SSD with Debian:
2022-04-19 23:24:11 dpchrist@tinkywinky ~
$ cat /etc/debian_version ; uname -a
9.13
Linux tinkywinky 4.9.0-18-amd64 #1 SMP Debian 4.9.303-1 (2022-03-07)
x86_64 GNU/Linux
I have been experiencing intermittent storms of random keyboard and
mouse GUI events over the past year or more:
a. Windows are opened, closed, minimized, resized, etc..
b. Windows and/or desktop pop-up menus are opened, and random items are
activated.
c. Text that I have previously typed is pasted into random windows.
d. Sometimes the mouse is left in a desktop rectangular selection mode (?).
The storms are triggered when I move the mouse in an active window. A
storm consists of dozens of individual random GUI events per second. The
storms typically end when I stop moving the mouse. The next time I move
the mouse, another storm may start or may not. I typically reboot if
there is more than one storm. Firefox (on heavy JavaScript sites) and
FreeCiv are applications that are likely to trigger storms.
Alternatively, instead of a GUI random event storm, the keyboard and
mouse lock up. Disconnecting and reconnecting the keyboard and mouse
has no effect; the only cure is to reboot.
I have tried various measures to isolate the problem, to no avail:
1. Power cycling and/or bypassing the KVM switch.
2. Moving the OS disk into another machine with different hardware.
3. Installing Debian 10 on another SSD and testing. Same for Debian 11.
Is anyone else seeing these GUI event storms?
I was enjoying a game of FreeCiv this evening on a desktop computer with
the KVM switch connected, and a storm occurred. I shut down, connected
the keyboard and mouse directly to the computer, and resumed my game.
Perhaps an hour later, the keyboard and mouse locked up.
If I login from another machine via SSH, disconnect the keyboard, count
to 10, and reconnect the keyboard:
2022-04-20 00:22:52 root@tinkywinky /var/log
# tail -n 17 messages
Apr 20 00:21:40 tinkywinky kernel: [18629.457897] usb 3-1.5: USB
disconnect, device number 9
Apr 20 00:21:50 tinkywinky kernel: [18640.176348] usb 3-1.5: new
low-speed USB device number 11 using ehci-pci
Apr 20 00:21:50 tinkywinky kernel: [18640.314951] usb 3-1.5: New USB
device found, idVendor=04d9, idProduct=a0b9
Apr 20 00:21:50 tinkywinky kernel: [18640.314957] usb 3-1.5: New USB
device strings: Mfr=1, Product=2, SerialNumber=0
Apr 20 00:21:50 tinkywinky kernel: [18640.314961] usb 3-1.5: Product: ES-87
Apr 20 00:21:50 tinkywinky kernel: [18640.314963] usb 3-1.5:
Manufacturer: Keyed Up Labs
Apr 20 00:21:50 tinkywinky kernel: [18640.329387] input: Keyed Up Labs
ES-87 as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/0003:04D9:A0B9.000C/input/input23
Apr 20 00:21:50 tinkywinky kernel: [18640.388751] hid-generic
0003:04D9:A0B9.000C: input,hidraw0: USB HID v1.10 Keyboard [Keyed Up
Labs ES-87] on usb-0000:00:1a.0-1.5/input0
Apr 20 00:21:50 tinkywinky kernel: [18640.408155] input: Keyed Up Labs
ES-87 as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.1/0003:04D9:A0B9.000D/input/input24
Apr 20 00:21:51 tinkywinky kernel: [18640.464649] hid-generic
0003:04D9:A0B9.000D: input,hidraw1: USB HID v1.10 Device [Keyed Up Labs
ES-87] on usb-0000:00:1a.0-1.5/input1
Apr 20 00:21:51 tinkywinky mtp-probe: checking bus 3, device 11:
"/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5"
Apr 20 00:21:51 tinkywinky mtp-probe: bus: 3, device: 11 was not an MTP
device
Apr 20 00:21:51 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported USB device type "usb".
Apr 20 00:21:51 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported input device type "/dev/input/event1".
Apr 20 00:21:51 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported input device type "(null)".
Apr 20 00:21:51 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported USB device type "usbhid".
Apr 20 00:21:51 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported USB device type "usbhid".
If I cycle the mouse:
2022-04-20 00:24:36 root@tinkywinky /var/log
# tail -n 13 messages
Apr 20 00:24:00 tinkywinky kernel: [18769.493620] usb 3-1.6: USB
disconnect, device number 10
Apr 20 00:24:13 tinkywinky kernel: [18782.515065] usb 3-1.6: new
low-speed USB device number 12 using ehci-pci
Apr 20 00:24:13 tinkywinky kernel: [18782.645247] usb 3-1.6: New USB
device found, idVendor=045e, idProduct=0040
Apr 20 00:24:13 tinkywinky kernel: [18782.645253] usb 3-1.6: New USB
device strings: Mfr=1, Product=2, SerialNumber=0
Apr 20 00:24:13 tinkywinky kernel: [18782.645257] usb 3-1.6: Product:
Microsoft Wheel Mouse Optical®
Apr 20 00:24:13 tinkywinky kernel: [18782.645260] usb 3-1.6:
Manufacturer: Microsoft
Apr 20 00:24:13 tinkywinky mtp-probe: checking bus 3, device 12:
"/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6"
Apr 20 00:24:13 tinkywinky kernel: [18782.655370] input: Microsoft
Microsoft Wheel Mouse Optical® as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/0003:045E:0040.000E/input/input25
Apr 20 00:24:13 tinkywinky kernel: [18782.655660] hid-generic
0003:045E:0040.000E: input,hidraw2: USB HID v1.00 Mouse [Microsoft
Microsoft Wheel Mouse Optical®] on usb-0000:00:1a.0-1.6/input0
Apr 20 00:24:13 tinkywinky mtp-probe: bus: 3, device: 12 was not an MTP
device
Apr 20 00:24:13 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported USB device type "usb".
Apr 20 00:24:13 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported USB device type "usbhid".
Apr 20 00:24:13 tinkywinky org.xfce.FileManager[1155]: thunar-volman:
Unsupported input device type "/dev/input/event2".
Any ideas for where to look for clues?
I can leave the machine running for a while, if anyone has suggestions
for commands to try.
David
Reply to: