[Bug 1531964] Re: Unable to unlock cryptsetup with external keyboard when using MODULES=dep
Benjamin Drung
1531964 at bugs.launchpad.net
Fri Oct 4 18:15:47 UTC 2024
I tried the same on Ubuntu 24.04 and these modules are included there:
```
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
Bus 001 Device 003: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
$ lsinitramfs /boot/initrd.img | grep -E '/(hid|hid-generic|usbhid)\.ko'
usr/lib/modules/6.8.0-45-generic/kernel/drivers/hid/hid-generic.ko.zst
usr/lib/modules/6.8.0-45-generic/kernel/drivers/hid/hid.ko.zst
usr/lib/modules/6.8.0-45-generic/kernel/drivers/hid/usbhid/usbhid.ko.zst
$ echo "MODULES=dep" | sudo tee /etc/initramfs-tools/conf.d/dep.conf
$ sudo LANG=C update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.8.0-45-generic
$ lsinitramfs /boot/initrd.img | grep -E '/(hid|hid-generic|usbhid)\.ko'
usr/lib/modules/6.8.0-45-generic/kernel/drivers/hid/hid-generic.ko.zst
usr/lib/modules/6.8.0-45-generic/kernel/drivers/hid/hid.ko.zst
usr/lib/modules/6.8.0-45-generic/kernel/drivers/hid/usbhid/usbhid.ko.zst
```
So I consider it fixed in Ubuntu 24.04 (noble).
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1531964
Title:
Unable to unlock cryptsetup with external keyboard when using
MODULES=dep
Status in One Hundred Papercuts:
Incomplete
Status in initramfs-tools package in Ubuntu:
Fix Released
Bug description:
In order to unlock my root FS using an external keyboard I need to add
the following:
hid_generic
mac_hid
usbhid
to /etc/initramfs-tools/modules. Otherwise, only the laptop's built-in
keyboard works.
In LP: #229732, this was fixed by loading a few modules in the panic
function. It seems the list of module could be augmented.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: initramfs-tools 0.120ubuntu6
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jan 7 14:08:51 2016
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1531964/+subscriptions
More information about the foundations-bugs
mailing list