Ah, SOLVED, like this: Triggered by your remarks, I found https://unix.stackexchange.com/a/656183, which says:
RUB_CMDLINE_LINUX_DEFAULT="atkbd.reset i8042.reset i8042.nomux quiet splash". If this doesn't work, follow the same process but try GRUB_CMDLINE_LINUX_DEFAULT="i8042.direct i8042.dumbkbd" ... and that last line worked for me: keyboard works immediatly after boot and resume. So my grub line is now GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.debug=1 i8042.direct i8042.dumbkbd" I guess I can remove i8042.debug=1 Thank you! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1976396 Title: laptop keyboard not working for about 30 seconds after resume from suspend Status in linux package in Ubuntu: Incomplete Bug description: Fresh install of Ubuntu 22.04, fully updated, no changes or configuration at all. Newish HP laptop (so recent hardware) Problem: After resuming from suspend, the laptop's keyboard is not working for about 30 seconds (the laptop's touchpad is working at once). Looking at dmesg, it looks the keyboard only starts working after: [di mei 31 19:10:21 2022] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input106 ... which happens about 35 seconds after the resume sequence completes. From dmesg: suspend: [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:50 2022] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7 [di mei 31 19:06:51 2022] usb 1-1: USB disconnect, device number 2 [di mei 31 19:06:51 2022] PM: suspend entry (s2idle) [di mei 31 19:06:51 2022] Filesystems sync: 0.007 seconds [di mei 31 19:06:51 2022] Freezing user space processes ... (elapsed 0.001 seconds) done. [di mei 31 19:06:51 2022] OOM killer disabled. [di mei 31 19:06:51 2022] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [di mei 31 19:06:51 2022] printk: Suspending console(s) (use no_console_suspend to debug) [di mei 31 19:06:52 2022] ACPI: EC: interrupt blocked After 3 minutes: open laptop lid, and it wakes up: [di mei 31 19:09:45 2022] ACPI: EC: interrupt unblocked [di mei 31 19:09:46 2022] usb 1-10: reset full-speed USB device number 4 using xhci_hcd [di mei 31 19:09:46 2022] OOM killer enabled. [di mei 31 19:09:46 2022] Restarting tasks ... [di mei 31 19:09:46 2022] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915]) [di mei 31 19:09:46 2022] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821 [di mei 31 19:09:46 2022] Bluetooth: hci0: RTL: rom_version status=0 version=1 [di mei 31 19:09:46 2022] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin [di mei 31 19:09:46 2022] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin [di mei 31 19:09:46 2022] Bluetooth: hci0: RTL: cfg_sz 10, total sz 31990 [di mei 31 19:09:46 2022] done. [di mei 31 19:09:46 2022] PM: suspend exit [di mei 31 19:09:46 2022] Bluetooth: hci0: RTL: fw version 0x829a7644 ... and then after 35 seconds [di mei 31 19:10:21 2022] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input106 ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-33-generic 5.15.0-33.34 ProcVersionSignature: Ubuntu 5.15.0-33.34-generic 5.15.30 Uname: Linux 5.15.0-33-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: sander 1329 F.... pulseaudio CRDA: N/A CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Tue May 31 19:24:02 2022 InstallationDate: Installed on 2022-05-31 (0 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0408:5365 Quanta Computer, Inc. HP TrueVision HD Camera Bus 001 Device 005: ID 046d:c077 Logitech, Inc. M105 Optical Mouse Bus 001 Device 004: ID 0bda:b00e Realtek Semiconductor Corp. Bluetooth Radio Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: HP HP Laptop 14s-dq2xxx ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-33-generic root=UUID=6b217a97-66c0-4829-bbef-01ac3d8034c9 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-5.15.0-33-generic N/A linux-backports-modules-5.15.0-33-generic N/A linux-firmware 20220329.git681281e4-0ubuntu3.2 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 02/19/2021 dmi.bios.release: 15.9 dmi.bios.vendor: AMI dmi.bios.version: F.09 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 87FD dmi.board.vendor: HP dmi.board.version: 57.16 dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.ec.firmware.release: 57.16 dmi.modalias: dmi:bvnAMI:bvrF.09:bd02/19/2021:br15.9:efr57.16:svnHP:pnHPLaptop14s-dq2xxx:pvr:rvnHP:rn87FD:rvr57.16:cvnHP:ct10:cvrChassisVersion:sku33X67EA#ABH: dmi.product.family: 103C_5335KV HP Notebook dmi.product.name: HP Laptop 14s-dq2xxx dmi.product.sku: 33X67EA#ABH dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1976396/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp