You are not logged in.

#1 2022-01-25 09:33:43

Najahiri
Member
Registered: 2015-06-11
Posts: 4

Mouse not recognized when resuming from suspension

Hello,

I have an Arch Linux + Gnome  desktop system and I have a mouse that is not working when resuming from suspension. I am not sure how to troubleshoot this problem. The only solution I have at the moment is to disconnect and reconnect the mouse again. The system works perfectly fine with another mouse and with the keyboard, without presenting the same problem.

Thanks everybody in advance

Offline

#2 2022-01-25 16:11:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Mouse not recognized when resuming from suspension

Disable autosuspend for that device with a udev rule as per the last code block here.

The {idVendor} & {idProduct} ATTRs can be found with

$ lsusb
Bus 004 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 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 17ef:6093 Lenovo ThinkPad USB Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$

^ In that example my mouse shows {idVendor} as 17ef and {idProduct} as 6093.


Jin, Jîyan, Azadî

Offline

#3 2022-01-27 13:14:09

Najahiri
Member
Registered: 2015-06-11
Posts: 4

Re: Mouse not recognized when resuming from suspension

Thank you for your help. I am not familiar with udev, so I tried to look online and I understood that I had to create the file in the block you mentioned as "/etc/udev/rules.d/50-usb_power_save.rules". I did that as you suggested, rebooted and the mouse still was not read. Am I missing something?
I think you are on the right track, but I don't know how to check for example that the mouse is truly suspended after coming back from suspension. Nevertheless, lsusb show the mouse after suspension.

Offline

Board footer

Powered by FluxBB