Microsoft Surface Laptop 4 keyboard not available during early boot (can't enter disk unlock password)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Mantic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
With 22.04 LTS, fully updated, freshly built initrd's for both 5.15 (linux-
The keyboard works fine on the fully booted system.
Secure boot is disabled on this system.
[ Test Plan ]
The -generic kernel and probably all kernel flavors contain the needed driver (on amd64). On mantic systems, you can verify the current initrd doesn't contain these modules by decompressing the initramfs and listing its files:
$ lsinitramfs /boot/initrd.
After installing the updated initramfs-tools package, your current initramfs should be automatically rebuilt and pick up the kernel modules:
$ lsinitramfs /boot/initrd.
usr/lib/
usr/lib/
Test case on Microsoft Surface Laptop 4: Remove all previous workarounds. Install the fixed initramfs-tools version. Then the keyboard should work during boot to enter the passphrase.
[ Where problems could occur ]
This is making the initramfs slightly bigger. In my testing, both added were 11,868 bytes in total (or 0.01 % on a 102 MB initramfs).
[ Apport report ]
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 13 00:53:34 2023
Dependencies:
adduser 3.118ubuntu5
apt 2.4.8
apt-utils 2.4.8
busybox-initramfs 1:1.30.1-7ubuntu3
ca-certificates 20211016ubuntu0
coreutils 8.32-4.1ubuntu1
cpio 2.13+dfsg-7
debconf 1.5.79ubuntu1
debconf-i18n 1.5.79ubuntu1
dmsetup 2:1.02.
dpkg 1.21.1ubuntu2.1
gcc-12-base 12.1.0-
gettext-base 0.21-4ubuntu4
gpgv 2.2.27-3ubuntu2.1
grub-common 2.06-2ubuntu7.1
grub-gfxpayloa
grub-pc 2.06-2ubuntu7.1
grub-pc-bin 2.06-2ubuntu7.1
grub2-common 2.06-2ubuntu7.1
init-system-
initramfs-tools 0.140ubuntu13.1
initramfs-
initramfs-
klibc-utils 2.0.10-4
kmod 29-1ubuntu1
libacl1 2.3.1-1
libapt-pkg6.0 2.4.8
libattr1 1:2.5.1-1build1
libaudit-common 1:3.0.7-1build1
libaudit1 1:3.0.7-1build1
libblkid1 2.37.2-4ubuntu3
libbrotli1 1.0.9-2build6
libbz2-1.0 1.0.8-5build1
libc6 2.35-0ubuntu3.1
libcap-ng0 0.7.9-2.2build3
libcap2 1:2.44-1build3
libcom-err2 1.46.5-2ubuntu1.1
libcrypt1 1:4.4.27-1
libdb5.3 5.3.28+
libdevmapper1.02.1 2:1.02.
libefiboot1 37-6ubuntu2
libefivar1 37-6ubuntu2
libffi8 3.4.2-4
libfreetype6 2.11.1+
libfuse3-3 3.10.5-1build1
libgcc-s1 12.1.0-
libgcrypt20 1.9.4-3ubuntu3
libgmp10 2:6.2.1+
libgnutls30 3.7.3-4ubuntu1.1
libgpg-error0 1.43-3
libgssapi-krb5-2 1.19.2-2ubuntu0.1
libhogweed6 3.7.3-1build2
libidn2-0 2.3.2-2build1
libk5crypto3 1.19.2-2ubuntu0.1
libkeyutils1 1.6.1-2ubuntu3
libklibc 2.0.10-4
libkmod2 29-1ubuntu1
libkrb5-3 1.19.2-2ubuntu0.1
libkrb5support0 1.19.2-2ubuntu0.1
liblocale-
liblz4-1 1.9.3-2build2
liblzma5 5.2.5-2ubuntu1
libmount1 2.37.2-4ubuntu3
libnettle8 3.7.3-1build2
libnsl2 1.3.0-2build2
libp11-kit0 0.24.0-6build1
libpam-modules 1.4.0-11ubuntu2.3
libpam-modules-bin 1.4.0-11ubuntu2.3
libpam0g 1.4.0-11ubuntu2.3
libpcre2-8-0 10.39-3ubuntu0.1
libpng16-16 1.6.37-3build5
libseccomp2 2.5.3-2ubuntu2
libselinux1 3.3-1build2
libsemanage-common 3.3-1build2
libsemanage2 3.3-1build2
libsepol2 3.3-1build1
libsmartcols1 2.37.2-4ubuntu3
libssl3 3.0.2-0ubuntu1.8
libstdc++6 12.1.0-
libsystemd0 249.11-0ubuntu3.6
libtasn1-6 4.18.0-4build1
libtext-
libtext-iconv-perl 1.7-7build3
libtext-
libtinfo6 6.3-2
libtirpc-common 1.3.2-2ubuntu0.1
libtirpc3 1.3.2-2ubuntu0.1
libudev1 249.11-0ubuntu3.6
libunistring2 1.0-1
libuuid1 2.37.2-4ubuntu3
libxxhash0 0.8.1-1
libzstd1 1.4.8+dfsg-3build1
linux-base 4.5ubuntu9
linux-
logsave 1.46.5-2ubuntu1.1
lsb-base 11.1.0ubuntu4
mount 2.37.2-4ubuntu3
openssl 3.0.2-0ubuntu1.8
os-prober 1.79ubuntu2
passwd 1:4.8.1-2ubuntu2.1
perl-base 5.34.0-3ubuntu1.1
sensible-utils 0.0.17
systemd-hwe-hwdb 249.11.2
tar 1.34+dfsg-1build3
ubuntu-keyring 2021.03.26
ucf 3.0043
udev 249.11-0ubuntu3.6
util-linux 2.37.2-4ubuntu3
uuid-runtime 2.37.2-4ubuntu3
zlib1g 1:1.2.11.
zstd 1.4.8+dfsg-3build1
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-02-12 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Package: linux-image-
PackageArchitec
ProcCpuinfoMinimal:
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 140
model name : 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
stepping : 1
microcode : 0xa4
cpu MHz : 4643.410
cache size : 12288 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 27
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 invpcid_single cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb
bogomips : 5990.40
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
ProcEnviron:
LC_TIME=
LC_MONETARY=
TERM=xterm-
PATH=(custom, no user)
LC_ADDRESS=
XDG_RUNTIME_
LANG=en_US.UTF-8
LC_TELEPHONE=
SHELL=/bin/bash
LC_NAME=
LC_MEASUREMENT
LC_IDENTIFICAT
LC_NUMERIC=
LC_PAPER=
ProcVersionSign
SourcePackage: linux-signed-
Tags: wayland-session jammy
Uname: Linux 5.19.0-28-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: N/A
CasperMD5CheckR
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-02-12 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: Microsoft Corporation Surface Laptop 4
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
Tags: jammy
Uname: Linux 5.19.0-28-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: 06/17/2021
dmi.bios.vendor: Microsoft Corporation
dmi.bios.version: 10.300.141
dmi.board.name: Surface Laptop 4
dmi.board.vendor: Microsoft Corporation
dmi.chassis.type: 9
dmi.chassis.vendor: Microsoft Corporation
dmi.modalias: dmi:bvnMicrosof
dmi.product.family: Surface
dmi.product.name: Surface Laptop 4
dmi.product.sku: Surface_
dmi.product.
dmi.sys.vendor: Microsoft Corporation
Changed in initramfs-tools (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Mantic): | |
status: | New → Invalid |
tags: | added: patch |
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 2007050
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.