]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - rules/60-persistent-input.rules
core: keep the kernel coredump defaults when systemd-coredump is disabled
[thirdparty/systemd.git] / rules / 60-persistent-input.rules
index 607144bf8af8204f64a03fbf5602e606c597be50..255547d906362dd3123092bf8a6ab628901e319e 100644 (file)
@@ -3,8 +3,10 @@
 ACTION=="remove", GOTO="persistent_input_end"
 SUBSYSTEM!="input", 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"
+# Bluetooth devices don't always have the bluetooth subsystem
+ATTRS{id/bustype}=="0005", ENV{ID_BUS}="bluetooth", GOTO="persistent_input_end"
+SUBSYSTEMS=="rmi4", ENV{ID_BUS}="rmi"
+SUBSYSTEMS=="serio", ENV{ID_BUS}="i8042"
 
 SUBSYSTEMS=="usb", ENV{ID_BUS}=="", IMPORT{builtin}="usb_id"