]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: add support for hidraw devices
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 12 Apr 2022 04:48:04 +0000 (14:48 +1000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 3 Oct 2024 08:36:57 +0000 (09:36 +0100)
commit305272ab2b62a031a91ed3490cb053bee0594964
tree337676305d913b8624c39d6921bd5a9ad25bdc9c
parent16b50d4018f68a28e94ec600f934586caaca57d3
logind: add support for hidraw devices

Add support for opening /dev/hidraw devices via logind's TakeDevice().
Same semantics as our support for evdev devices, but it requires the
HIDIOCREVOKE ioctl in the kernel.
rules.d/71-seat.rules.in
src/basic/missing_hidraw.h [new file with mode: 0644]
src/login/logind-session-device.c
src/login/logind-session-device.h
units/systemd-logind.service.in