You are not logged in.
Today my usb keyboard started malfunctioning randomly while in the middle of a session. It seems based on the logs that it is just in a loop of connecting and disconnecting. I thought maybe the USB port was at fault, and so I switched to a different port and it started working again. After doing some troubleshooting, I found out that my USB devices all work normally, even utilizing the supposedly "at fault" USB port, as long as my keyboard and mouse aren't connected to adjacent ports.
This is an example entry in the logs which repeat ad nauseam:
11月 19 12:00:29 arch kernel: usb 7-1: USB disconnect, device number 2
11月 19 12:00:30 arch kernel: usb 7-1: new full-speed USB device number 7 using xhci_hcd
11月 19 12:00:30 arch kernel: usb 7-1: New USB device found, idVendor=046d, idProduct=c33e, bcdDevice= 9.01
11月 19 12:00:30 arch kernel: usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
11月 19 12:00:30 arch kernel: usb 7-1: Product: G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD
11月 19 12:00:30 arch kernel: usb 7-1: Manufacturer: Logitech
11月 19 12:00:30 arch kernel: usb 7-1: SerialNumber: F8E80AA2
11月 19 12:00:30 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.0/0003:046D:C33E.000C/input/input32
11月 19 12:00:31 arch kernel: hid-generic 0003:046D:C33E.000C: input,hidraw1: USB HID v1.11 Keyboard [Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD] on usb-0000:0e:00.3-1/input0
11月 19 12:00:31 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD Mouse as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.1/0003:046D:C33E.000D/input/input33
11月 19 12:00:31 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.1/0003:046D:C33E.000D/input/input34
11月 19 12:00:31 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD System Control as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.1/0003:046D:C33E.000D/input/input35
11月 19 12:00:31 arch kernel: hid-generic 0003:046D:C33E.000D: input,hidraw2: USB HID v1.11 Mouse [Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD] on usb-0000:0e:00.3-1/input1
11月 19 12:00:31 arch kernel: hid-generic 0003:046D:C33E.000E: hiddev97,hidraw3: USB HID v1.11 Device [Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD] on usb-0000:0e:00.3-1/input2
11月 19 12:00:31 arch mtp-probe[34785]: checking bus 7, device 7: "/sys/devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1"
11月 19 12:00:31 arch mtp-probe[34785]: bus: 7, device: 7 was not an MTP device
11月 19 12:00:31 arch systemd-logind[604]: Watching system buttons on /dev/input/event2 (Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD)
11月 19 12:00:31 arch systemd-logind[604]: Watching system buttons on /dev/input/event5 (Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD System Control)
11月 19 12:00:31 arch systemd-logind[604]: Watching system buttons on /dev/input/event4 (Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD Consumer Control)
11月 19 12:00:31 arch mtp-probe[34818]: checking bus 7, device 7: "/sys/devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1"
11月 19 12:00:31 arch mtp-probe[34818]: bus: 7, device: 7 was not an MTP device
11月 19 12:00:33 arch kernel: usb 7-1: USB disconnect, device number 7
11月 19 12:00:34 arch kernel: usb 7-1: new full-speed USB device number 8 using xhci_hcd
11月 19 12:00:34 arch kernel: usb 7-1: Device not responding to setup address.
11月 19 12:00:34 arch kernel: usb 7-1: Device not responding to setup address.
11月 19 12:00:34 arch kernel: usb 7-1: device not accepting address 8, error -71
11月 19 12:00:35 arch kernel: usb 7-1: new full-speed USB device number 9 using xhci_hcd
11月 19 12:00:35 arch kernel: usb 7-1: New USB device found, idVendor=046d, idProduct=c33e, bcdDevice= 9.01
11月 19 12:00:35 arch kernel: usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
11月 19 12:00:35 arch kernel: usb 7-1: Product: G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD
11月 19 12:00:35 arch kernel: usb 7-1: Manufacturer: Logitech
11月 19 12:00:35 arch kernel: usb 7-1: SerialNumber: F8E80AA2
11月 19 12:00:35 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.0/0003:046D:C33E.000F/input/input36
11月 19 12:00:35 arch kernel: hid-generic 0003:046D:C33E.000F: input,hidraw1: USB HID v1.11 Keyboard [Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD] on usb-0000:0e:00.3-1/input0
11月 19 12:00:35 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD Mouse as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.1/0003:046D:C33E.0010/input/input37
11月 19 12:00:35 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.1/0003:046D:C33E.0010/input/input38
11月 19 12:00:35 arch kernel: input: Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD System Control as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1/7-1:1.1/0003:046D:C33E.0010/input/input39
11月 19 12:00:35 arch kernel: hid-generic 0003:046D:C33E.0010: input,hidraw2: USB HID v1.11 Mouse [Logitech G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD] on usb-0000:0e:00.3-1/input1
11月 19 12:00:35 arch kernel: usbhid 7-1:1.2: can't add hid device: -71
11月 19 12:00:35 arch kernel: usbhid: probe of 7-1:1.2 failed with error -71
11月 19 12:00:35 arch kernel: usb 7-1: USB disconnect, device number 9
There were also occasionally these segfault errors
11月 19 12:01:17 arch kernel: ddcutil[35285]: segfault at 0 ip 00007f5419ad5edd sp 00007ffd6007a298 error 4 in libc.so.6[7f54199a1000+15a000] likely on CPU 2 (core 2, socket 0)
11月 19 12:01:17 arch kernel: Code: 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 33 01 00 00 <c5> fd 74 0f c5 fd d7 c1 85 c0 74 57 f3 0f bc c0 c5 f8 77 c3 66 66
11月 19 12:01:17 arch systemd[1]: Created slice Slice /system/systemd-coredump.
11月 19 12:01:17 arch systemd[1]: Started Process Core Dump (PID 35289/UID 0).
11月 19 12:01:17 arch systemd-coredump[35290]: [?] Process 35285 (ddcutil) of user 0 dumped core.
Stack trace of thread 35285:
#0 0x00007f5419ad5edd n/a (libc.so.6 + 0x15aedd)
#1 0x000055e38be67231 strsplit (ddcutil + 0xa2231)
#2 0x000055e38be7913a n/a (ddcutil + 0xb413a)
#3 0x000055e38be793f8 is_possible_monitor_by_hiddev_name (ddcutil + 0xb43f8)
#4 0x000055e38be79529 check_usb_monitor (ddcutil + 0xb4529)
#5 0x000055e38be02686 main (ddcutil + 0x3d686)
#6 0x00007f54199a2cd0 n/a (libc.so.6 + 0x27cd0)
#7 0x00007f54199a2d8a __libc_start_main (libc.so.6 + 0x27d8a)
#8 0x000055e38be027a5 _start (ddcutil + 0x3d7a5)
ELF object binary architecture: AMD x86-64
11月 19 12:01:17 arch (udev-worker)[34793]: hiddev1: Process '/usr/bin/ddcutil chkusbmon /dev/usb/hiddev1 -v' terminated by signal SEGV.
11月 19 12:01:17 arch (udev-worker)[34793]: hiddev1: Failed to wait for spawned command '/usr/bin/ddcutil chkusbmon /dev/usb/hiddev1 -v': Input/output error
11月 19 12:01:17 arch mtp-probe[35299]: checking bus 7, device 39: "/sys/devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-1"
11月 19 12:01:17 arch (udev-worker)[34793]: hiddev1: /usr/lib/udev/rules.d/60-ddcutil-usb.rules:8 Failed to execute "/usr/bin/ddcutil chkusbmon /dev/usb/hiddev1 -v": Input/output error
11月 19 12:01:17 arch mtp-probe[35299]: bus: 7, device: 39 was not an MTP device
11月 19 12:01:17 arch systemd[1]: systemd-coredump@0-35289-0.service: Deactivated successfully.
11月 19 12:01:17 arch kernel: ddcutil[35300]: segfault at 0 ip 00007f588aa58edd sp 00007ffeba42a7b8 error 4 in libc.so.6[7f588a924000+15a000] likely on CPU 14 (core 6, socket 0)
11月 19 12:01:17 arch kernel: Code: 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 89 f8 48 89 fa c5 f9 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 33 01 00 00 <c5> fd 74 0f c5 fd d7 c1 85 c0 74 57 f3 0f bc c0 c5 f8 77 c3 66 66
11月 19 12:01:17 arch systemd[1]: Started Process Core Dump (PID 35304/UID 0).
11月 19 12:01:17 arch systemd-coredump[35305]: [?] Process 35300 (ddcutil) of user 0 dumped core.
Stack trace of thread 35300:
#0 0x00007f588aa58edd n/a (libc.so.6 + 0x15aedd)
#1 0x000055f3d66a0231 strsplit (ddcutil + 0xa2231)
#2 0x000055f3d66b213a n/a (ddcutil + 0xb413a)
#3 0x000055f3d66b23f8 is_possible_monitor_by_hiddev_name (ddcutil + 0xb43f8)
#4 0x000055f3d66b2529 check_usb_monitor (ddcutil + 0xb4529)
#5 0x000055f3d663b686 main (ddcutil + 0x3d686)
#6 0x00007f588a925cd0 n/a (libc.so.6 + 0x27cd0)
#7 0x00007f588a925d8a __libc_start_main (libc.so.6 + 0x27d8a)
#8 0x000055f3d663b7a5 _start (ddcutil + 0x3d7a5)
ELF object binary architecture: AMD x86-64
11月 19 12:01:17 arch (udev-worker)[34786]: hiddev1: Process '/usr/bin/ddcutil chkusbmon /dev/usb/hiddev1 -v' terminated by signal SEGV.
11月 19 12:01:17 arch (udev-worker)[34786]: hiddev1: Failed to wait for spawned command '/usr/bin/ddcutil chkusbmon /dev/usb/hiddev1 -v': Input/output error
This is the output of lsusb and lsusb -t
❯ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 1058:0820 Western Digital Technologies, Inc. My Passport Ultra (WDBMWV, WDBZFP)
Bus 002 Device 003: ID 1058:0820 Western Digital Technologies, Inc. My Passport Ultra (WDBMWV, WDBZFP)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0b05:18f3 ASUSTek Computer, Inc. AURA LED Controller
Bus 003 Device 004: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 061: ID 046d:c33e Logitech, Inc. G915 WIRELESS RGB MECHANICAL GAMING KEYBOARD
Bus 007 Device 062: ID 046d:c53a Logitech, Inc. PowerPlay Wireless Charging System
Bus 007 Device 063: ID 9886:0038 Astro Gaming Astro MixAmp Pro
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
❯ lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/6p, 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
|__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
|__ Port 002: Dev 003, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/6p, 480M
|__ Port 005: Dev 002, If 0, Class=Vendor Specific Class, Driver=[none], 12M
|__ Port 005: Dev 002, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 006: Dev 004, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 006: Dev 004, If 1, Class=Wireless, Driver=btusb, 12M
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/: Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
/: Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/: Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 001: Dev 061, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 001: Dev 061, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 001: Dev 061, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 002: Dev 063, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 002: Dev 063, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 002: Dev 063, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 002: Dev 063, If 3, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 002: Dev 063, If 4, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 002: Dev 063, If 5, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 002: Dev 063, If 6, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 003: Dev 062, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 003: Dev 062, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 003: Dev 062, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
I'm thought it might just be a problem with overloading usb bus 7 or just a bad usb port, but the fact that the devices work correctly, all on the same bus, by simply swapping the usb ports around so that the keyboard and mouse aren't adjacent is strange. I tried several combinations, including keeping the keyboard in its original port and they all work as long as the before mentioned condition is met. If anyone knows anything else I can do to try to troubleshoot the problem, that would be great.
Offline
Does actually the physical location matter or do they (also) show up on different būs when working properly?
Can you operate them on the same bus, but physicall separated?
FwwiFyi, "lsusb -tv"
Offline
So, they were working by switching the USB ports, still on the same USB bus, but the error started happening again. My computer has 7 usb ports on the back, one is on its own bus (bus 1) two are on another bus (bus 2) and four are on bus 7. I moved the keyboard to the port on bus 1 as both bus 2 ports are taken up by external hard drives, and I'm waiting to see if it happens again. If it still occurs on this isolated USB bus then I'm going to assume either the keyboard is bad, or perhaps my entire computer's usb is bad but I doubt that to be the case.
Also, this is the output of lsusb -tv with the keyboard on bus 1
❯ lsusb -tv
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/6p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 003: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c33e Logitech, Inc.
|__ Port 003: Dev 006, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c33e Logitech, Inc.
|__ Port 003: Dev 006, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c33e Logitech, Inc.
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
|__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
ID 1058:0820 Western Digital Technologies, Inc. My Passport Ultra (WDBMWV, WDBZFP)
|__ Port 002: Dev 003, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
ID 1058:0820 Western Digital Technologies, Inc. My Passport Ultra (WDBMWV, WDBZFP)
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/6p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 005: Dev 002, If 0, Class=Vendor Specific Class, Driver=[none], 12M
ID 0b05:18f3 ASUSTek Computer, Inc.
|__ Port 005: Dev 002, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 0b05:18f3 ASUSTek Computer, Inc.
|__ Port 006: Dev 004, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0029 Intel Corp. AX200 Bluetooth
|__ Port 006: Dev 004, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0029 Intel Corp. AX200 Bluetooth
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 002: Dev 063, If 0, Class=Audio, Driver=snd-usb-audio, 12M
ID 9886:0038 Astro Gaming
|__ Port 002: Dev 063, If 1, Class=Audio, Driver=snd-usb-audio, 12M
ID 9886:0038 Astro Gaming
|__ Port 002: Dev 063, If 2, Class=Audio, Driver=snd-usb-audio, 12M
ID 9886:0038 Astro Gaming
|__ Port 002: Dev 063, If 3, Class=Audio, Driver=snd-usb-audio, 12M
ID 9886:0038 Astro Gaming
|__ Port 002: Dev 063, If 4, Class=Audio, Driver=snd-usb-audio, 12M
ID 9886:0038 Astro Gaming
|__ Port 002: Dev 063, If 5, Class=Audio, Driver=snd-usb-audio, 12M
ID 9886:0038 Astro Gaming
|__ Port 002: Dev 063, If 6, Class=Human Interface Device, Driver=usbhid, 12M
ID 9886:0038 Astro Gaming
|__ Port 003: Dev 064, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c53a Logitech, Inc. PowerPlay Wireless Charging System
|__ Port 003: Dev 064, If 1, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c53a Logitech, Inc. PowerPlay Wireless Charging System
|__ Port 003: Dev 064, If 2, Class=Human Interface Device, Driver=usbhid, 12M
ID 046d:c53a Logitech, Inc. PowerPlay Wireless Charging System
/: Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
Last edited by Slysoft (2023-11-19 20:19:27)
Offline
Stupid question, are those two different unifying receivers?
Why don't you operate both devices on one?
Offline
all the devices are plugged in with a usb cable. I'm not using any receiver
Offline
At least the mouse seems to only show up w/ a charger - is the pad or the mouse corded? Does it still function when you pull the plug?
Offline
The "mouse" that is showing up as a powerplay is basically a mousepad with a wireless charger built in, and then the mouse connects to a receiver built into the mousepad. If I unplug the mousepad then the mouse doesn't function.
Offline