You are not logged in.

#1 2021-01-02 18:16:41

quidnovum
Member
Registered: 2021-01-02
Posts: 4

Keyboard and Mouse don't work temporarily after suspend

Hello! I'm pretty new to Arch, and I've been having some trouble with using my keyboard and mouse after resuming from suspend. For ~3-4 seconds after resuming, my mouse does not work. My keyboard works for roughly a second after suspend, then stops working for ~4 seconds, and then starts working again.

This combination of things makes logging in after suspend pretty frustrating. Does anyone have any advice on why this might be happening/how to fix it?

For some context, I'm running Arch on a Dell XPS 9500 (don't think there's a wiki page for this yet) with the root partition encrypted with LUKS. Thanks!

Offline

#2 2021-01-02 18:20:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,694

Re: Keyboard and Mouse don't work temporarily after suspend

What desktop environment / log in manager are you using?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2021-01-02 18:22:17

quidnovum
Member
Registered: 2021-01-02
Posts: 4

Re: Keyboard and Mouse don't work temporarily after suspend

I'm just running AwesomeWM with startx, but I'm able to reproduce the issue without the X server running at all, so I don't think it's related to that?

Offline

#4 2021-01-02 18:28:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,694

Re: Keyboard and Mouse don't work temporarily after suspend

Anything of interest in the journal after resume?   I have a feeling that your USB subsystem is restarting and re enumerating the bus.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2021-01-02 18:46:04

quidnovum
Member
Registered: 2021-01-02
Posts: 4

Re: Keyboard and Mouse don't work temporarily after suspend

Thanks so much for your help! The only messages from

journalctl

that weren't related to internet or acpid were the following:

kernel: psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x0f5002)
kernel: psmouse serio1: elantech: elantech_send_cmd query 0x02 failed.
kernel: psmouse serio1: elantech: failed to query capabilities.
kernel: input: PS/2 Logitech Wheel Mouse as /devices/platform/>

The 2nd and 3rd were highlighted red.

Offline

#6 2021-01-14 22:21:13

quidnovum
Member
Registered: 2021-01-02
Posts: 4

Re: Keyboard and Mouse don't work temporarily after suspend

bump

Does anyone have advice on how to debug this issue? I'm not sure how to proceed

Offline

#7 2021-05-16 09:16:46

fbl
Member
Registered: 2021-05-16
Posts: 1

Re: Keyboard and Mouse don't work temporarily after suspend

I was able to hide the error and also work around the long delay after suspend on my XPS 15 9500 by loading the psmouse driver with proto=exps.

$ cat /etc/modprobe.d/psmouse.conf 
options psmouse proto=exps

Offline

Board footer

Powered by FluxBB