Keyboard doesn't work on a "cold boot" with built-in "i8042 PC Keyboard controller" (ASUS UM425UA)

Bug #1943832 reported by xalt7x
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

ASUS UM425UA internal keyboard doesn't work on a "cold boot" (first power-on). It activates only after restart.
I noticed it when tried to boot live image of Ubuntu 20.04.3
This problem probably appeared with kernel version 5.9 or 5.10 because with Ubuntu 20.04.2 live image (Linux 5.8) keyboard loads fine. Tried kernel 5.14 and it's still affected.
I tried to recompile kernels 5.11 & 5.13 with SERIO_I8042 set as a module (as suggested in an Arch Linux bug report) and keyboard now works from the first start.

In "make config" the changes are:
Device Drivers ->
  > Generic Driver Options -> [ ] Support for uevent #may slowdown boot, needed only for U14.04
  > Input device support
     > Keyboards -> [M] AT keyboard
     > Hardware I/O ports -> [M] i8042 PC Keyboard controller

It changed such lines in config:
CONFIG_KEYBOARD_ATKBD=m
CONFIG_SERIO_I8042=m
CONFIG_SERIO_LIBPS2=m

References:
https://bugs.archlinux.org/task/70384
https://ubuntuforums.org/showthread.php?t=2459149
https://linux.org/threads/asus-zenbook-14-um425ua-keyboard-not-respond-during-cold-boot.33738/#post-133830

P.S. Other option which helped me was a GRUB parameter "i8042.reset=1" but it had a positive effect only with kernel 5.11
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.20
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC3: 807 F.... pulseaudio
 /dev/snd/controlC2: 807 F.... pulseaudio
 /dev/snd/controlC1: 807 F.... pulseaudio
 /dev/snd/controlC0: 807 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-09-01 (14 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
MachineType: ASUSTeK COMPUTER INC. ZenBook UX425UA_UM425UA
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-34-generic root=UUID=3e7eadd0-dd33-487a-8e38-3e516c0dc8d5 ro quiet i8042.reset=1
ProcVersionSignature: Ubuntu 5.11.0-34.36~20.04.1-generic 5.11.22
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-34-generic N/A
 linux-backports-modules-5.11.0-34-generic N/A
 linux-firmware 1.199
Tags: focal
Uname: Linux 5.11.0-34-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 04/01/2021
dmi.bios.release: 5.19
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: UX425UA.301
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX425UA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.1
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrUX425UA.301:bd04/01/2021:br5.19:efr3.1:svnASUSTeKCOMPUTERINC.:pnZenBookUX425UA_UM425UA:pvr1.0:sku:rvnASUSTeKCOMPUTERINC.:rnUX425UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: ZenBook
dmi.product.name: ZenBook UX425UA_UM425UA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

xalt7x (xalt7x)
description: updated
description: updated
description: updated
description: updated
description: updated
xalt7x (xalt7x)
description: updated
description: updated
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1943832

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
xalt7x (xalt7x) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
xalt7x (xalt7x) wrote : CRDA.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : IwConfig.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : Lspci.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : Lspci-vt.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : Lsusb.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : Lsusb-t.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : Lsusb-v.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : ProcEnviron.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : ProcInterrupts.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : ProcModules.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : RfKill.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : UdevDb.txt

apport information

Revision history for this message
xalt7x (xalt7x) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → New
xalt7x (xalt7x)
description: updated
Revision history for this message
xalt7x (xalt7x) wrote :

apport information

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
xalt7x (xalt7x) wrote :

Here's dmesg of kernel 5.11.0-34 with i8042.reset=1

Revision history for this message
xalt7x (xalt7x) wrote :

Here's dmesg of recompiled kernel with

CONFIG_KEYBOARD_ATKBD=m
CONFIG_SERIO_I8042=m
CONFIG_SERIO_LIBPS2=m

Laszlo (alcubone)
information type: Public → Public Security
information type: Public Security → Public
information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
david_cuenca (david-cuenca-bcn82) wrote :

More information about this bug, here:
https://bugzilla.suse.com/show_bug.cgi?id=1190256

And here:
https://<email address hidden>/t/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.