🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7081

Bug#1156083: src:linux: Please build evdev inside the kernel instead of a module

#7081
From: Laurent Bigonville
Date: Tue, 01 Dec 2026 19:40
44 lines
3358 bytes
Source: linux
Version: 7.3.5-1
Severity: wishlist

Hello,

Is there a reason why evdev (CONFIG_INPUT_EVDEV) is built as a module
and not into the kernel?

Without evdev in the initramfs there are no /dev/input/event* nodes
during early boot. plymouth then ignores all the input devices and
falls back to reading the keyboard through the VT, so for example:
 - it doesn't use the XKB layout it reads from /etc/default/keyboard;
 - its Caps Lock indicator is never shown at the passphrase prompt for
   console-setup layouts, which emulate Caps Lock with CtrlL_Lock
   (see #514464).

The module is small (~12 KiB compressed, no dependencies) and its
modalias matches every input device, so it is loaded on practically
every system anyway. Fedora and RHEL build it in
(CONFIG_INPUT_EVDEV=y in kernel-ark's redhat/configs/common/generic).

The alternative is to add it to the initramfs: For testing, I've done
that in the plymouth initramfs-tools hook, but every generator would
need the same change (dracut's 45plymouth module doesn't include it),
and it is then only present when plymouth is installed. Building it in
would fix this for all of them.

What do you think?

Kind 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
Technical Details
Message-ID: <O5BRL-foBa-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Laurent Bigonville <bigon@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1156083: src:linux: Please build evdev inside the kernel instead of a module
Date: Tue, 01 Dec 2026 20:40:02 +0100
Message-ID: <O5BRL-foBa-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 19:33:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Laurent Bigonville <bigon@debian.org>, 1156083@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: report 1156083
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Source: linux
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: bigon
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006396
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 44
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 20:30:06 +0100
X-Original-Message-ID: <179615340659.7932.4304877391547903980.reportbug@eriador.bigon.be>