You are not logged in.

#1 2022-08-23 12:25:10

ilytryic64
Member
Registered: 2022-08-23
Posts: 6

[Solved] Action (fn) keys not working after resuming from suspend

I'm on a Ryzen 6000 laptop from Lenovo with xfce.

The issue I'm having is that the action keys on the keyboard (volume up, down, brightness up, down, etc.) which are located on the function keys stop working when resuming from suspend (hibernate is not affected). The keys themselves still get recognized but not as action keys.
When checking with xorg-xev I can see that the keys are being recognized as F1, F2, etc. but the action keys don't get triggered. Also when I hold down the Fn key on my keyboard and press the function keys it's the same. Somehow the actions are not working anymore, while the keys are still functioning.

I have tried every possible option for the i8042 and atkbd kernel modules but nothing has helped me so far. Also I don't see anything in the journal, that would indicate an error.
Has anyone faced something similar on a recent or similar system? And how can I go about fixing this issue, any help is appreciated.

Thanks.

Last edited by ilytryic64 (2022-09-17 14:46:02)

Offline

#2 2022-09-12 03:25:35

travisghansen
Member
Registered: 2022-06-28
Posts: 19

Re: [Solved] Action (fn) keys not working after resuming from suspend

I have the same issue with Lenovo Slim 7 Pro X 14ARH7 (also Ryzen 6000).

https://bugzilla.kernel.org/show_bug.cgi?id=216101
https://bugzilla.kernel.org/show_bug.cgi?id=216473

Offline

#3 2022-09-12 15:25:03

travisghansen
Member
Registered: 2022-06-28
Posts: 19

Re: [Solved] Action (fn) keys not working after resuming from suspend

Patchset applied from here: https://bugzilla.kernel.org/show_bug.cgi?id=216101 and setting kernel param acpi.prefer_microsoft_guid=1 resolves the issue for me. I've tested on 6.0rc4 and 6.0rc5.

Offline

#4 2022-09-17 14:45:41

ilytryic64
Member
Registered: 2022-08-23
Posts: 6

Re: [Solved] Action (fn) keys not working after resuming from suspend

Thank you, the patch works for me too! And with the v2 patchset the kernel parameter isn't necessary anymore (for me at least, this probably depends on the device). I will mark this as solved.

Offline

#5 2022-09-17 21:06:46

travisghansen
Member
Registered: 2022-06-28
Posts: 19

Re: [Solved] Action (fn) keys not working after resuming from suspend

Yeah. I have not seen the sporadic issue (complete failure) upon resume either so it appears both issues are fixed.

Offline

Board footer

Powered by FluxBB