mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 08:00:08 +01:00
udev: update rules to handle bind/unbind events
Summary: we expect add, change or remove but kernel 4.12 added bind and unbind. These events were previously discarded by udevd. Our rules should handle any event *but* remove, so update as suggested in the announce email linked below. For a longer explanation, see the system 247rc2 announcement https://lists.freedesktop.org/archives/systemd-devel/2020-November/045570.html Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bbd1be7a6d
commit
cd37dcfa66
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
ACTION!="add|change", GOTO="libinput_device_group_end"
|
ACTION=="remove", GOTO="libinput_device_group_end"
|
||||||
KERNEL!="event[0-9]*", GOTO="libinput_device_group_end"
|
KERNEL!="event[0-9]*", GOTO="libinput_device_group_end"
|
||||||
|
|
||||||
ATTRS{phys}=="?*", IMPORT{program}="@UDEV_TEST_PATH@libinput-device-group %S%p"
|
ATTRS{phys}=="?*", IMPORT{program}="@UDEV_TEST_PATH@libinput-device-group %S%p"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# This file contains lookup rules for libinput model-specific quirks.
|
# This file contains lookup rules for libinput model-specific quirks.
|
||||||
# IT IS NOT A STABLE API AND SUBJECT TO CHANGE AT ANY TIME
|
# IT IS NOT A STABLE API AND SUBJECT TO CHANGE AT ANY TIME
|
||||||
|
|
||||||
ACTION!="add|change", GOTO="libinput_fuzz_override_end"
|
ACTION=="remove", GOTO="libinput_fuzz_override_end"
|
||||||
KERNEL!="event*", GOTO="libinput_fuzz_override_end"
|
KERNEL!="event*", GOTO="libinput_fuzz_override_end"
|
||||||
|
|
||||||
# Two-step process: fuzz-extract sets the LIBINPUT_FUZZ property and
|
# Two-step process: fuzz-extract sets the LIBINPUT_FUZZ property and
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue