Package: dracut-core Version: 113-4 Severity: normal Package: dracut-core Version: 113-4 Severity: normal Subject: dracut-core: 45plymouth doesn't include evdev, plymouth falls back to VT input Dear Maintainer, The 45plymouth module does not add the evdev kernel module to the initramfs. On Debian evdev is built as a module (CONFIG_INPUT_EVDEV=m), so during early boot there are no /dev/input/event* nodes and plymouth cannot use its libevdev/xkbcommon input backend. It ignores every input device ("Ignoring, since this is a non-evdev device" in plymouth-debug.log) and reads the keyboard through the VT instead. The real system only loads evdev after the switch to the real root, when the passphrase prompt is already over. Consequences at the cryptsetup passphrase prompt: - plymouth doesn't use the XKB layout it reads from /etc/default/keyboard; - its Caps Lock indicator is never shown with console-setup keymaps for layouts with non-ASCII letters, because ckbcomp emulates Caps Lock with CtrlL_Lock (see #514464). Everything else the evdev backend needs is already in the initramfs (libxkbcommon, /usr/share/X11/xkb, /etc/default/keyboard). Adding the module fixes it: echo 'add_drivers+=" evdev "' > /etc/dracut.conf.d/evdev.conf update-initramfs -u after which plymouth-debug.log shows "Listening for keys from device 'AT Translated Set 2 keyboard'" before the password request, and the Caps Lock indicator works. Could you add something like this to modules.d/45plymouth/module-setup.sh? # called by dracut installkernel() { instmods evdev } With it, evdev.ko ends up in the initramfs both with --hostonly and --no-hostonly. instmods is optional by default and dracut-install skips built-in modules ("is a builtin kernel module"); I checked with a module tree where evdev is listed in modules.builtin and the image builds fine. So this is harmless on kernels that build evdev in, such as Fedora's, and probably worth forwarding upstream. I've also asked the kernel team to build evdev in (#1156083); if that happens this change becomes a no-op. The initramfs-tools hook shipped by plymouth gets the same change (manual_add_modules evdev). Regards, Laurent Bigonville -- System Information: Debian Release: forky/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 7.3.6+deb14-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dracut-core depends on: ii cpio 2.15+dfsg-3 ii dracut-install 113-4 ii e2fsprogs 1.47.4-1+b3 ii kmod 34.4-1 ii libc6 2.43-8 ii mount 2.42.4-1 ii systemd-sysv 263~rc1-1 ii udev 263~rc1-1 Versions of packages dracut-core recommends: ii binutils 2.47.50.20261120-1 ii busybox 1:1.38.0-3+b2 ii console-setup 1.250~local1 ii systemd 263~rc1-1 ii zstd 1.5.7+dfsg-4 Versions of packages dracut-core suggests: ii cryptsetup 2:2.8.9-1 ii dmsetup 2:1.02.205-2+b2 pn isomd5sum <none> pn kpartx <none> ii lvm2 2.03.31-2+b2 ii mdadm 4.6-3 ii parted 3.8-2 pn squashfs-tools <none> ii systemd-cryptsetup 263~rc1-1 ii systemd-tpm 263~rc1-1 -- no debconf information