Hello! I am running into an interesting issue that I just can't seem to get around. I have an HP Laptop connected to a Thunderbolt 3 dock. Everything works on it, except for my wired mouse. The mouse works when connected directly to the laptop. I have a monitor, keyboard, speakers, and an external harddrive connected to the dock and it all works fine. The mouse is detected for all that I can tell, I can see it get added when I run dmesg, and all the same devices are listed whether its connected to the laptop directly or the dock. I even tried with everything else not plugged into the dock, just in case the issue was too many devices.
OS: Kubuntu 21.10 x86_64
Host: HP ZBook 17 G6
Kernel: 5.13.0-23-generic
Uptime: 3 hours, 26 mins
Packages: 2015 (dpkg), 11 (snap)
Shell: bash 5.1.8
Resolution: 1920x1080, 1920x1080, 1920x1080
DE: Plasma 5.22.5
WM: KWin
Theme: Breeze Light [Plasma], Breeze [GTK2/3]
Icons: breeze [Plasma], breeze [GTK2/3]
Terminal: konsole
CPU: Intel i7-9850H (12) @ 4.600GHz
GPU: NVIDIA Quadro RTX 5000 Mobile / Max-Q
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
Memory: 3828MiB / 31439MiB
My laptop has 2 NVMEs one for Windows, one for Linux and a SSD for bigger volume storage
This is the device in question, plugged into laptop and then dock
Bus 001 Device 011: ID 258a:0029 SINOWEALTH Wired Gaming Mouse
Bus 005 Device 009: ID 258a:0029 SINOWEALTH Wired Gaming Mouse
This is my /dev/input/ directory. When I unplug the mouse, event15, event7, mouse0 disappear, but they come back when plugged in to either dock or laptop
ls /dev/input
by-id event0 event10 event12 event14 event16 event18 event2 event21 event23 event25 event27 event29 event30 event4 event6 event8 js0 mouse0 mouse2 mouse4
by-path event1 event11 event13 event15 event17 event19 event20 event22 event24 event26 event28 event3 event31 event5 event7 event9 mice mouse1 mouse3
(unplugged)
ls /dev/input
by-id event0 event10 event12 event14 event17 event19 event20 event22 event24 event26 event28 event3 event31 event5 event8 js0 mouse1 mouse3
by-path event1 event11 event13 event16 event18 event2 event21 event23 event25 event27 event29 event30 event4 event6 event9 mice mouse2 mouse4
(plugged into dock)
ls /dev/input
by-id event0 event10 event12 event14 event16 event18 event2 event21 event23 event25 event27 event29 event30 event4 event6 event8 js0 mouse0 mouse2 mouse4
by-path event1 event11 event13 event15 event17 event19 event20 event22 event24 event26 event28 event3 event31 event5 event7 event9 mice mouse1 mouse3
Dmesg, plugged into laptop, then dock
[19031.456384] usb 1-1: new full-speed USB device number 11 using xhci_hcd
[19031.607069] usb 1-1: New USB device found, idVendor=258a, idProduct=0029, bcdDevice= 1.00
[19031.607083] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19031.607089] usb 1-1: Product: Wired Gaming Mouse
[19031.607093] usb 1-1: Manufacturer: SINOWEALTH
[19031.610197] input: SINOWEALTH Wired Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:258A:0029.000D/input/input50
[19031.668884] hid-generic 0003:258A:0029.000D: input,hidraw0: USB HID v1.11 Mouse [SINOWEALTH Wired Gaming Mouse] on usb-0000:00:14.0-1/input0
[19031.672120] input: SINOWEALTH Wired Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:258A:0029.000E/input/input51
[19031.729456] hid-generic 0003:258A:0029.000E: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [SINOWEALTH Wired Gaming Mouse] on usb-0000:00:14.0-1/input1
[22776.659780] usb 5-1.2: new full-speed USB device number 9 using xhci_hcd
[22776.809626] usb 5-1.2: New USB device found, idVendor=258a, idProduct=0029, bcdDevice= 1.00
[22776.809640] usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[22776.809646] usb 5-1.2: Product: Wired Gaming Mouse
[22776.809650] usb 5-1.2: Manufacturer: SINOWEALTH
[22776.820985] input: SINOWEALTH Wired Gaming Mouse as /devices/pci0000:00/0000:00:1c.4/0000:06:00.0/0000:07:01.0/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/usb5/5-1/5-1.2/5-1.2:1.0/0003:258A:0029.0013/input/input58
[22776.821727] hid-generic 0003:258A:0029.0013: input,hidraw0: USB HID v1.11 Mouse [SINOWEALTH Wired Gaming Mouse] on usb-0000:0b:00.0-1.2/input0
[22776.825120] input: SINOWEALTH Wired Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:1c.4/0000:06:00.0/0000:07:01.0/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/usb5/5-1/5-1.2/5-1.2:1.1/0003:258A:0029.0014/input/input59
[22776.884233] hid-generic 0003:258A:0029.0014: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [SINOWEALTH Wired Gaming Mouse] on usb-0000:0b:00.0-1.2/input1
The biggest difference I see here is that the path is waaay longer when plugged into the dock. The keyboard behaves similarly, so not sure that the length is an issue. Files in /dev/input/by-id and /dev/input/by-path behave similarly. The mouse populates here, the difference being the specific ID values.
I just installed Kubuntu the other day, my Linux NVME quit and I just installed the replacement. I remember this being an issue previously, but I think I got it fixed by distro-hopping. Or I could be wrong and I never fixed it.
OS: Kubuntu 21.10 x86_64
Host: HP ZBook 17 G6
Kernel: 5.13.0-23-generic
Uptime: 3 hours, 26 mins
Packages: 2015 (dpkg), 11 (snap)
Shell: bash 5.1.8
Resolution: 1920x1080, 1920x1080, 1920x1080
DE: Plasma 5.22.5
WM: KWin
Theme: Breeze Light [Plasma], Breeze [GTK2/3]
Icons: breeze [Plasma], breeze [GTK2/3]
Terminal: konsole
CPU: Intel i7-9850H (12) @ 4.600GHz
GPU: NVIDIA Quadro RTX 5000 Mobile / Max-Q
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
Memory: 3828MiB / 31439MiB
My laptop has 2 NVMEs one for Windows, one for Linux and a SSD for bigger volume storage
This is the device in question, plugged into laptop and then dock
Bus 001 Device 011: ID 258a:0029 SINOWEALTH Wired Gaming Mouse
Bus 005 Device 009: ID 258a:0029 SINOWEALTH Wired Gaming Mouse
This is my /dev/input/ directory. When I unplug the mouse, event15, event7, mouse0 disappear, but they come back when plugged in to either dock or laptop
ls /dev/input
by-id event0 event10 event12 event14 event16 event18 event2 event21 event23 event25 event27 event29 event30 event4 event6 event8 js0 mouse0 mouse2 mouse4
by-path event1 event11 event13 event15 event17 event19 event20 event22 event24 event26 event28 event3 event31 event5 event7 event9 mice mouse1 mouse3
(unplugged)
ls /dev/input
by-id event0 event10 event12 event14 event17 event19 event20 event22 event24 event26 event28 event3 event31 event5 event8 js0 mouse1 mouse3
by-path event1 event11 event13 event16 event18 event2 event21 event23 event25 event27 event29 event30 event4 event6 event9 mice mouse2 mouse4
(plugged into dock)
ls /dev/input
by-id event0 event10 event12 event14 event16 event18 event2 event21 event23 event25 event27 event29 event30 event4 event6 event8 js0 mouse0 mouse2 mouse4
by-path event1 event11 event13 event15 event17 event19 event20 event22 event24 event26 event28 event3 event31 event5 event7 event9 mice mouse1 mouse3
Dmesg, plugged into laptop, then dock
[19031.456384] usb 1-1: new full-speed USB device number 11 using xhci_hcd
[19031.607069] usb 1-1: New USB device found, idVendor=258a, idProduct=0029, bcdDevice= 1.00
[19031.607083] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19031.607089] usb 1-1: Product: Wired Gaming Mouse
[19031.607093] usb 1-1: Manufacturer: SINOWEALTH
[19031.610197] input: SINOWEALTH Wired Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:258A:0029.000D/input/input50
[19031.668884] hid-generic 0003:258A:0029.000D: input,hidraw0: USB HID v1.11 Mouse [SINOWEALTH Wired Gaming Mouse] on usb-0000:00:14.0-1/input0
[19031.672120] input: SINOWEALTH Wired Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:258A:0029.000E/input/input51
[19031.729456] hid-generic 0003:258A:0029.000E: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [SINOWEALTH Wired Gaming Mouse] on usb-0000:00:14.0-1/input1
[22776.659780] usb 5-1.2: new full-speed USB device number 9 using xhci_hcd
[22776.809626] usb 5-1.2: New USB device found, idVendor=258a, idProduct=0029, bcdDevice= 1.00
[22776.809640] usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[22776.809646] usb 5-1.2: Product: Wired Gaming Mouse
[22776.809650] usb 5-1.2: Manufacturer: SINOWEALTH
[22776.820985] input: SINOWEALTH Wired Gaming Mouse as /devices/pci0000:00/0000:00:1c.4/0000:06:00.0/0000:07:01.0/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/usb5/5-1/5-1.2/5-1.2:1.0/0003:258A:0029.0013/input/input58
[22776.821727] hid-generic 0003:258A:0029.0013: input,hidraw0: USB HID v1.11 Mouse [SINOWEALTH Wired Gaming Mouse] on usb-0000:0b:00.0-1.2/input0
[22776.825120] input: SINOWEALTH Wired Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:1c.4/0000:06:00.0/0000:07:01.0/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/usb5/5-1/5-1.2/5-1.2:1.1/0003:258A:0029.0014/input/input59
[22776.884233] hid-generic 0003:258A:0029.0014: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [SINOWEALTH Wired Gaming Mouse] on usb-0000:0b:00.0-1.2/input1
The biggest difference I see here is that the path is waaay longer when plugged into the dock. The keyboard behaves similarly, so not sure that the length is an issue. Files in /dev/input/by-id and /dev/input/by-path behave similarly. The mouse populates here, the difference being the specific ID values.
I just installed Kubuntu the other day, my Linux NVME quit and I just installed the replacement. I remember this being an issue previously, but I think I got it fixed by distro-hopping. Or I could be wrong and I never fixed it.
Comment