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
Registered: 2012-09-03
Posts: 23,866

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
Registered: 2012-09-03
Posts: 23,866

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
Registered: 2012-09-03
Posts: 23,866

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

Board footer

Powered by FluxBB