Number row doesnt work on login

Hi All,

Patient

Lenovo ideapad pro 5 14ahp9

I’ve been using cachyos for a while now and I’m happy with it, but for last couple of weeks i have issue during login.

Number keys on laptop keyboard are not working expect 5 and 6, I have to click virtual keyboard two times to get rest of the keys working. External keyboard works properly

I’ve tried to fix it with turning on numlock on startup, but this only works for reboots not when laptop is waking up. Restarts before were also solving issue. I also noticed that sometimes this issues shows up when I try to provide passwords in the konsole

what kernel are you using? Did you update to kernel 7, it seems there are some problems with it.

Run in console: uname -a

to see the kernel version

The closest model with a similar issue I could find is 14ACN6. See if any of these help:

There is also this article on GitHub. Assuming you are running the same driver (check with cat /proc/bus/input/devices | less -p "keyboard"), you could write your own systemd service to reattach your keyboard after sleep.

What on that page is related?

The BIOS settings.

“Advanced Sleep” requires the hidden/advanced BIOS menus.
Which itself requires tapping many keys in succession including the number row.
The outcome being that you have extra BIOS options and/or as pertains to that sleep you could then set S3.
But I still that would not seem to be related to the OP issue of

I also happen to have one of those devices and no such issue of non-working numbers is present.

Ah. In the case its only related to after-suspend.
I guess its possible.

Thank you kind Sir,

This github.com/kartiklolla/keyboard-issue-fix-for-Lenovo-Ideapad-pcs-on-Arch seems to work,

Loosk like my google fu failed me and I was looking for generci issue not for hardware specific issue since this issues started showing up recently after months of use.

@stefa01 yes I have upgraded to kernel 7 but this issue showed before that .

Regarding hidden menu and turning off 14ahp9 doesnt have hidden menu and newer cpus dont support s3 sleep unfortunetly :frowning: only new power draining sleep

Unforturnetly issue is back in the full swing and would say it is worse.

To give more context, I often use external screen + mouse + kyb using single usbc connection to screen.

Today before leaving I have disconnected usbc and shutdown laptop.

Now when I turned it on again only 5 and 6 were working. To get rest of the number keys working i have to “click/double tap and hold” on touchpad.

This issue now involves whole system not only login screen. Even now as im writing this message i cannot type any number beside 5 and 6. This laptop doesnt have numlock or numpad since it is 14 inch laptop.

I have checked status of numlock and it was on, then I have changed so numlock is off on the start and now number key row is working.

It seems thta my external keyboard is causing this issue when i disconnects and numlock stays as ON

Another updated , after a while issue is back wihtout reboot or sleep.

Numlock state is off according to “cat /sys/class/leds/*::numlock/brightness”

I did full reinstall with disk wipe. Still expiriancing issues. afte some time number row is not responding again. I have to click several time for it to wake up. If issue shows up shift + digit for special character doesnt work until i will tap one of the numbers several times after that i hae access to special characters

After spending several hours with gemini AI and adding/removing diferent options for cmdline in limine I’ve changed system performacne mode in bios to power save and problem is gone now … This also can be changed with FN + Q shortcut. It seems i’ve encountered wierd BIOS bug

I feel so stupid right now.

All that time that was hardware issue caused by bad Lenovo desing / mean desing.

Keyboard ribbon routes in this model (and probably all others) between battery and touchpad.

On the bottom of touchpad there is IC and touchpad connector. There is no tape or sticky foam on both ic and connector. Due to that keyboard ribbon got inprint of IC and connector on it. It cause it to break connection/ inntermmiten connection breaks. I have very gently flatten the riibon with my finger and finger nails, stuck two pieces of tesa loom tape on top of ic and connector so it would not damage ribbon any mroe. And everything works now. This would also explain why number row some times worked when I was clicking touchpad… I guess it will fail again. But I know it is hardware not ACPI, not BIOS, not Linux Kernel. Thank you all who tried to help, at least I gained some knowlage about ACPI and Debuging such issues :slight_smile: