summaryrefslogtreecommitdiff
path: root/rules/60-persistent-input.rules
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-07-01 15:12:34 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-07-01 15:19:46 +1000
commit83b481599bd6ae430515dcc46c6ebd2fe0d1e55a (patch)
treea2d1f0757dc859f1ee20a5b0eff6a332a146f3d5 /rules/60-persistent-input.rules
parentb12cc5b0f80edea3faff644ad6b5c3e87d9d9940 (diff)
rules: set ID_BUS for bluetooth, rmi and i8042
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
Diffstat (limited to 'rules/60-persistent-input.rules')
-rw-r--r--rules/60-persistent-input.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/60-persistent-input.rules b/rules/60-persistent-input.rules
index 0e33e68384..607144bf8a 100644
--- a/rules/60-persistent-input.rules
+++ b/rules/60-persistent-input.rules
@@ -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"