Page MenuHomeFreeBSD

evdev: add devnum sysctl
ClosedPublic

Authored by quentin.thebault_defenso.fr on May 12 2026, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 14, 4:29 PM
Unknown Object (File)
Fri, Jun 5, 2:07 AM
Unknown Object (File)
Fri, Jun 5, 2:04 AM
Unknown Object (File)
Thu, Jun 4, 1:37 PM
Unknown Object (File)
Tue, Jun 2, 8:23 PM
Unknown Object (File)
Tue, Jun 2, 8:15 PM
Unknown Object (File)
Thu, May 28, 8:08 AM
Unknown Object (File)
May 26 2026, 12:12 PM
Subscribers

Details

Summary

Add a sysctl entry for the evdev device number (devnum) to allow libudev-devd to
populate the corresponding device information fields (MAJOR and MINOR) when
running in a jail with no input devices exposed through devfs.

Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored by: Defenso
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73042
Build 69925: arc lint + arc unit

Event Timeline

Enables an improvement of libudev-devd (https://github.com/wulf7/libudev-devd/pull/15), itself necessary for a cleaner patch of libinput (https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1471) to let libinput work in a jail with no devfs but an available seat manager (e.g. seatd socket on nullfs) to get file descriptors from the host.

This revision is now accepted and ready to land.Thu, May 28, 6:57 AM
This revision was automatically updated to reflect the committed changes.