USB mouse stopped working after plugging into a USB-C dock

So i bought an usb-c dock (jeswo), i plugged my usb mouse into that and it worked fine.
I unplugged the dock, plugged into my steamdeck, played (worked fine) and then plugged back, my laptop did not recognize the mouse. (I tried every port on the dock and every port on my laptop).
The led is working, but no input whatsoever.

uname -r
6.6.90-1-MANJARO
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b604 Chicony Electronics Co., Ltd Integrated Camera (1280x720@30)
Bus 001 Device 004: ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader
Bus 001 Device 016: ID 05e3:0618 Genesys Logic, Inc. Hub
Bus 001 Device 017: ID 05e3:0752 Genesys Logic, Inc. micros Reader
Bus 001 Device 018: ID 09da:9066 A4Tech Co., Ltd. F3 V-Track Gaming Mouse
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Synaptics TM3276-022                    	id=9	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
↳ Power Button                            	id=6	[slave  keyboard (3)]
↳ Video Bus                               	id=7	[slave  keyboard (3)]
↳ Sleep Button                            	id=8	[slave  keyboard (3)]
↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
↳ ThinkPad Extra Buttons

Right after plugging in

sudo dmesg | tail -n 30
[ 8828.438612] usb 1-4.2: USB disconnect, device number 15
[ 8829.342636] usb 1-4: new high-speed USB device number 16 using xhci_hcd
[ 8829.484666] usb 1-4: New USB device found, idVendor=05e3, idProduct=0618, bcdDevice=87.54
[ 8829.484679] usb 1-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 8829.484685] usb 1-4: Product: USB2.0 Hub
[ 8829.487760] hub 1-4:1.0: USB hub found
[ 8829.488026] hub 1-4:1.0: 4 ports detected
[ 8829.772224] usb 1-4.1: new high-speed USB device number 17 using xhci_hcd
[ 8829.865128] usb 1-4.1: New USB device found, idVendor=05e3, idProduct=0752, bcdDevice= 2.33
[ 8829.865137] usb 1-4.1: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[ 8829.865141] usb 1-4.1: Product: USB Storage
[ 8829.865144] usb 1-4.1: Manufacturer: Generic
[ 8829.866637] usb-storage 1-4.1:1.0: USB Mass Storage device detected
[ 8829.866824] scsi host0: usb-storage 1-4.1:1.0
[ 8829.941321] usb 1-4.2: new full-speed USB device number 18 using xhci_hcd
[ 8830.037359] usb 1-4.2: New USB device found, idVendor=09da, idProduct=9066, bcdDevice= 1.02
[ 8830.037367] usb 1-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8830.037371] usb 1-4.2: Product: USB Device
[ 8830.037373] usb 1-4.2: Manufacturer: A4TECH
[ 8830.885752] scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   0233 PQ: 0 ANSI: 0
[ 8830.886041] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 8830.886491] sd 0:0:0:0: [sda] Media removed, stopped polling
[ 8830.886886] sd 0:0:0:0: [sda] Attached SCSI removable disk
[10393.357050] perf: interrupt took too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 79800
[10836.412493] usb 1-4.2: USB disconnect, device number 18
[10838.408776] usb 1-4.2: new full-speed USB device number 19 using xhci_hcd
[10838.503789] usb 1-4.2: New USB device found, idVendor=09da, idProduct=9066, bcdDevice= 1.02
[10838.503798] usb 1-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10838.503801] usb 1-4.2: Product: USB Device
[10838.503804] usb 1-4.2: Manufacturer: A4TECH
lsmod | grep hid
usbhid                 86016  0
mac_hid                12288  0
usb-devices | grep -A 20 '09da'
P:  Vendor=09da ProdID=9066 Rev=01.02
S:  Manufacturer=A4TECH
S:  Product=USB Device
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  12 Ivl=1ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=1ms

T:  Bus=01 Lev=01 Prnt=19 Port=07 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04f2 ProdID=b604 Rev=00.27
S:  Manufacturer=Chicony Electronics Co.,Ltd.
S:  Product=Integrated Camera
S:  SerialNumber=0001
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=4ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T: Bus=01 Lev=01 Prnt=03 Port=08 Cnt=01 Dev#= 4 Spd=12 MxCh= 0

The mouse works just fine with the steamdeck and with other devices too.
Nothing changes if I use the dock usb port or on the laptop.
I tried to use ChatGPT to solve the problem, but got into a loop and did not find any solution.

What info do you need?

UPDATE:
I rolled back to the 6.1 kernel, but it’s still not working.

when you need fixes with proof, specially on configuration never ever rely on ChatGPT or any LLMs with no source.

recently went in cicles for a entire day getting mouse to to work on freeBSD, first query on perplexity fixed it though

1 Like

Is the laptop in AC or BAT mode? Is the power cord plugged in? This makes a difference, because TLP is generally used on Manjaro, but also power saving or shutting down ports in BAT mode is the default unless configured otherwise, e.g. by TLP.

You can try force switching to AC:

sudo tlp ac
1 Like

The mouse isn’t working on either AC or battery power. I’m not using TLP.

I tought about USB auto-suspend but i don’t think i configured that feature.

[i3hunor@HunorT480 ~]$ systemctl status tlp
○ tlp.service - TLP system startup/shutdown
     Loaded: loaded (/usr/lib/systemd/system/tlp.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: https://linrunner.de/tlp

Auto suspend, so power saving is always the default. It will always suspend. With TLP, you could disable it or configure it more finely.

1 Like

I run auto-cpufreq so i dont want to run TLP. I dont think auto-suspend is the problem cause the mouse is not recognized either in xinput either in lib-input.

Well, you can think what you would like. Prove it.

Based on this, it must be this path:

echo 1 | sudo tee /sys/bus/usb/devices/1-4.2/power/autosuspend_delay_ms
echo "on" | sudo tee /sys/bus/usb/devices/1-4.2/power/control
cat /sys/bus/usb/devices/1-4.2/power/autosuspend_delay_ms
cat /sys/bus/usb/devices/1-4.2/power/control

You are right.

After turning auto-suspend off (your path was right)

1
on
1
on

But still no mouse and no changes in xinput.

Then do the same with the hub aka the dock. However, it is much easier with TLP to disable it everywhere. :man_shrugging:

Btw… TLP is not just for the CPU, it can control more.

I know but they said that it is good practice to not run them side by side cause they can intervene. And the mouse worked just fine before the dock.

Currently it is plugged into the dock.

This is with the laptop’s USB ports.

$ echo 1 | sudo tee /sys/bus/usb/devices/1-1/power/autosuspend_delay_ms
1
$ echo "on" | sudo tee /sys/bus/usb/devices/1-1/power/control
on

Still no mouse and no change in xinput.