You are not logged in.
Hey all! I have been using Arch on this laptop (IdeaPad Flex 5, Ryzen) for about 2 months, and have recently started encountering this issue. Details to follow, but I have already tried:
- Windows (Error nonexistent)- Rebooting (Error doesn't crop up until resume from suspend) (view edit)
I believe the problem results from my suspending configuration, but not 100% sure why, or how to fix it (if even possible.)
Sometimes (maybe 80% of the time) after resuming from hybrid-suspend or hibernation, certain keys on my keyboard don't work until pressed a couple of times. They also seem to revert to a non-working state occasionally, which is temporarily fixed by pressing them a couple of times. These keys include (so far, that I've seen) 5, -, =, `, and LCTRL.
Any help, advice, or debugging tips would be appreciated.
I am using swayWM as my WM, systemd as my service manager (not sure if that's the right term), and i am using the default configuration for sleep in systemd. In Sway, my idle configuration is the following:
exec swayidle -w \
timeout 600 'swaylock -f -c 000000' \
timeout 1200 'systemctl hibernate' \
before-sleep 'swaylock -f -c 000000'I also sometimes hibernate manually by running systemctl hibernate.
Thanks for any help that is possible!
Edit: This happened today after restarting, with no hibernation. Seems though it may be more complicated than that.
The keys being pressed don't show up in evtest or libinput.
Last edited by spokr (2023-03-16 02:37:03)
Offline
Do the keypresses show up in "evtest" and/or "libinput debug-events"?
Windows
3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Offline
@seth Thank you! The Windows Fast-Start disable seems to have fixed it for now, if I have more issues, I will update. Forum question: Do I just add the [SOLVED] tag myself? I'm pretty new to forums, sorry!
Offline
After a day or so, the issue has returned, even after disabling Fast Boot in Windows. I'm gonna remove the [SOLVED] tag, and would appreciate any help ![]()
Offline
I've determined it to be related to my laptop's hardware, because a USB keyboard works fine, but it still doesn't happen on Windows, so if anyone has any ideas i would love them.
Offline
Do the keypresses show up in "evtest" and/or "libinput debug-events"?
We've to get this out of the "does nots works lol" territory, https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
I will do more research and look into it, thank you for your time seth
They didn't show up in either of those utilities, which is making me think that it's somehow hardware-related.
I am going to keep working on it.
Offline
Check dmesg/the system journal after the wakeup, there're likely errors, maybe a device not waking up.
Though the particular selection of "5, -, =, `, and LCTRL" doesn't yell "wmi breaks the multimedia keys" at me.
And the remedy
don't work until pressed a couple of times
kinda suggests it's a static build-up in the keyboard, actually impeding the electric signal.
(if it wasn't a laptop, I'd tell you to whack the keyboard and see whether that makes the keys return to function…)
Offline
Returning to this:
The "don't work until pressed a couple times" seems to have been pure coincidence. I do not know what makes them stop/start working.
I asked in r/techsupport and didn't get much help besides "ask in r/archlinux", so I might try there as well. If all else fails, I guess I make a backup of my drive and install a new OS? I unfortunately have no way of testing whether the keys are broken inside of BIOS i think, because none of them are used in BIOS. F1 and F2 also stop working along with the others, but they aren't used in BIOS either.
This is such a bizarre issue ![]()
Offline
You could also just try the behavior on a live distro like grml - if the same thing happens on a completely different SW stack, it's most likely some sort of HW issue.
Offline
Is there any update on this?
I have a very similar issue, in my case I have a Thinkpad T14s Gen2 Intel where the ZXCV. And return stop working intermittently. They don't show up in xev, don't work in TTY and do work on live distros.
I had this issue with the regular and zen kernels installed and am still searching for a solution.
Offline
I have a very similar issue
certain keys on my keyboard don't work until pressed a couple of times
True?
ZXCV
Ie. the lower left corner of your keyboard…
stop working intermittently … and do work on live distros
Because of the intermittent nature: how long/intensely did you test the live distro?
Did you use things you normally use (wifi, bluetooth, …) there as well?
Does this maybe happend when the device heats up?
Offline