Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6430  / 2 Years ago, sun, may 1, 2022, 4:29:50

I just installed Ubuntu 20.04 on my new ASUS Zenbook 13 OLED UM325S.


Keyboard is not working after a cold boot. Keyboard will start working on the next boot, if the device is rebooted at Cryptsetup stage or later. Cryptsetup is affected as well, so encrypted installations are impossible to enter without an external keyboard.


My grub entry; GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"


Discoveries made



  1. serio_raw kernel module does not load when you do a cold boot. Discovery made in this gist.

  2. AT Translated Set 2 keyboard is the laptop keyboard. This is not visible after a cold boot, but is after a reboot. Gist here.

  3. I am unable to use xinput to manage the properties of the device as suggested by @Sancho.s in his answer below. Sometimes xinput does not show any of the keyboards attached, it only shows virtual devices. libinput on the other hand, shows all devices properly.

  4. WMI ASUS Hotkeys are working, so occasionally I see that brightness adjustments work, sound, etc when F1-F12 is used in combination with the fn key.


Attempts to make it work



  1. I have force loaded serio_raw both using initramfs and load-modules.d without success. Module loads, but does not affect keyboard problem.

  2. Tried running xinput set-prop "AT Translated Set 2 keyboard" "Device Enabled" 1 however, xinput fails that the device is not found.


Workaround at the moment is to connect an external keyboard, wait for Cryptsetup to start, and then press CTRL+ALT+DEL and then boot normally. If I do reboot from GRUB, it has no effect.


Thanks


More From » 20.04

 Answers
2

Finally, this solution works for me.


I am using ASUS Zenbook 13 OLED UM325S with Kubuntu 20.04


Edit file: /etc/default/grub


Replace bellow line


GRUB_CMDLINE_LINUX=""

WITH


GRUB_CMDLINE_LINUX="i8042.reset i8042.nomux i8042.nopnp i8042.noloop"

Update bootloader


sudo update-grub

[#1235] Monday, May 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ravturtl

Total Points: 335
Total Questions: 132
Total Answers: 110

Location: Tanzania
Member since Wed, Feb 24, 2021
3 Years ago
ravturtl questions
Wed, Feb 22, 23, 19:16, 1 Year ago
Fri, Dec 3, 21, 22:16, 2 Years ago
Wed, Nov 3, 21, 07:30, 3 Years ago
Wed, May 19, 21, 17:31, 3 Years ago
Tue, Jan 17, 23, 23:56, 1 Year ago
;