You are not logged in.

#1 2021-10-08 07:48:02

kristerv
Member
Registered: 2021-09-09
Posts: 8

ASUS ZenBook UM425UA keyboard not working before encrypt

Problem is I can't enter the encryption password at boot using my laptops keyboard. USB keyboard works, that's what I use to get in.
I figured out that the laptop keyboard does work after a restart, but not after poweroff.

Firstly - mkinitcpio already has the changed keyboard in front of autodetect.

➜ ~ cat /etc/mkinitcpio.conf
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base udev keyboard autodetect keymap modconf block encrypt filesystems fsck)

Some debugging from a previous thread https://bbs.archlinux.org/viewtopic.php?id=264868&p=2

➜ ~ uname -a
Linux krister-zenbook-2021 5.14.8-arch1-1 #1 SMP PREEMPT Sun, 26 Sep 2021 19:36:15 +0000 x86_64 GNU/Linux
➜ ~ zgrep -E '(KEYBOARD_ATKBD|MOUSE_PS2|CONFIG_SERIO)' /proc/config.gz
CONFIG_KEYBOARD_ATKBD=m
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_MOUSE_PS2_ELANTECH_SMBUS=y
CONFIG_MOUSE_PS2_SENTELIC=y

Journal from a good boot (after restart): https://termbin.com/xl5r
Journal from a bad boot (after poweroff, logged in with USB keyboard): https://termbin.com/v7gg

Offline

#2 2021-10-08 09:12:42

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,298

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

Problem is I can't enter the encryption password at boot using my laptops keyboard. USB keyboard works, that's what I use to get in.

So this is pre-boot (only?)

I figured out that the laptop keyboard does work after a restart, but not after poweroff.

And acpi related

Does the internal keyboard work after the system actually booted?
(Both journals have

Oct 08 07:36:23 krister-zenbook-2021 kernel: asus_wmi: ASUS WMI generic driver loaded
Oct 08 07:36:23 krister-zenbook-2021 kernel: asus_wmi: Initialization: 0x1
Oct 08 07:36:23 krister-zenbook-2021 kernel: asus_wmi: SFUN value: 0x21
Oct 08 07:36:23 krister-zenbook-2021 kernel: asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
Oct 08 07:36:23 krister-zenbook-2021 kernel: asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue

)

Can you use the internal keyboard to enter the BIOS/UEFI on a cold boot and does such delay also enable it for the bootloader?

Offline

#3 2021-10-08 13:22:02

kristerv
Member
Registered: 2021-09-09
Posts: 8

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

The laptop keyboard does always work at boot-leader, which is where i can choose between Arch Linux, and other options. I can also enter BIOS every time. And the laptop keyboard does resume working after SwayWM has started. I could try to disable autologin, but if I remember correctly it was always working after the encryption part.

So really the problem is only at the encryption password entering stage.

Offline

#4 2021-10-08 15:10:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,298

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

Are you positive the keyboard doesn't work or is it maybe just the layout (making you enter the wrong password) - you don't get an echo in any case, are you?
https://unix.stackexchange.com/question … p-password

Offline

#5 2021-10-08 15:41:26

kristerv
Member
Registered: 2021-09-09
Posts: 8

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

When I press Enter (on a working keyboard) the cursor goes to the next line. Enter is also layout insensitive. I only have one anyway. So yes, I'm positive it doesn't actually work. I don't think showing password characters would help much.

Offline

#6 2021-10-10 09:20:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,298

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

'key hmm

Because of

the laptop keyboard does work after a restart, but not after poweroff.

Is maybe the Fn lock active? Can you configure input settings in the BIOS (legacy input, xhci handoff)?

Offline

#7 2021-10-13 15:45:44

kristerv
Member
Registered: 2021-09-09
Posts: 8

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

BIOS didn't let me change anything to do with keyboard.
Tried everything with FnLock. Enter isn't affected by Fn anyway.

Offline

#8 2022-04-09 06:27:37

TheMY3
Member
Registered: 2022-04-09
Posts: 3

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

Same problem for me with Linux 5.17.1 and ASUS UM425Q.
I will try to downgrade the kernel version until I find a working one.

Offline

#9 2022-04-09 12:59:27

TheMY3
Member
Registered: 2022-04-09
Posts: 3

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

I found working kernel for me, it is 5.14.16, other versions to 5.17.1 still disabled keyboard after hibernate.
For downgrade I used package downgrade and list of kernels I got from here.

Last edited by TheMY3 (2022-04-09 12:59:44)

Offline

#10 2022-04-09 13:34:38

icar
Member
Registered: 2020-07-31
Posts: 548

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

Have you tried updating the bios? I had a similar issue that went away with an update.

Offline

#11 2022-04-09 18:00:17

TheMY3
Member
Registered: 2022-04-09
Posts: 3

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

icar wrote:

Have you tried updating the bios? I had a similar issue that went away with an update.

No, but do it now and now all good, thanks a lot, now I can use last kernel version smile

Bios version was something like 206, but last now 301, I bought laptop 1 week ago and didn't check it, I think it was new sad

P.S. Boot after few hours and not working again, so I downgrade kernel version again

Last edited by TheMY3 (2022-04-09 19:39:48)

Offline

#12 2022-04-23 16:49:03

Khris190
Member
Registered: 2022-04-23
Posts: 1

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

I think i've found it after a few very long hours try i8042.probe_defer
this commit was made for UX425UA but it helped on my QA version
https://lore.kernel.org/lkml/2021111218 … suse.de/T/

Offline

#13 2025-09-20 11:01:21

k0orne
Member
Registered: 2025-09-20
Posts: 1

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

This worked for me:

Install the USB utilities package

pacman -Sy usbutils

Offline

#14 2025-09-20 11:43:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,807

Re: ASUS ZenBook UM425UA keyboard not working before encrypt

Doubtful, these utils are for querying state and will not fix anything on their own and it's not even about the USB bus in this particular instance.

Also this thread is 3 years old, please don't necrobump

Closing.

Offline

Board footer

Powered by FluxBB