]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
rules: set ID_BUS for bluetooth, rmi and i8042
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 1 Jul 2016 05:12:34 +0000 (15:12 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 1 Jul 2016 05:19:46 +0000 (15:19 +1000)
Something has to so we can have udev rules rely on this. Right now the ID_BUS
setting is inconsistent: usb is set, ata and pci are set, bluetooth is not
set, rmi is too new to be featured.

70-mouse even relied on bluetooth even though it was never set

rules/60-persistent-input.rules

index 0e33e6838495da3f3ff16f93ffd5fe13953c8df4..607144bf8af8204f64a03fbf5602e606c597be50 100644 (file)
@@ -2,7 +2,9 @@
 
 ACTION=="remove", GOTO="persistent_input_end"
 SUBSYSTEM!="input", GOTO="persistent_input_end"
-SUBSYSTEMS=="bluetooth", GOTO="persistent_input_end"
+SUBSYSTEMS=="bluetooth", ENV{ID_BUS}="bluetooth", GOTO="persistent_input_end"
+SUBSYSTEMS=="rmi4", ENV{ID_BUS}="rmi", GOTO="persistent_input_end"
+SUBSYSTEMS=="serio", ENV{ID_BUS}="i8042", GOTO="persistent_input_end"
 
 SUBSYSTEMS=="usb", ENV{ID_BUS}=="", IMPORT{builtin}="usb_id"