diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-14 02:12:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-14 02:22:35 +0200 |
commit | 0f4ba83c397e807939a4eb0b2cbd04ad4ab548cc (patch) | |
tree | bea5cfc1ee476d16e04a86c951b781364de8d87a /rules/99-systemd.rules.in | |
parent | 124b48b00d0c59fbbc2a8c3e27dba2cd6877aaa8 (diff) |
backlight: always prefer "firmware"/"platform" backlights over "raw" backlights if we have both for the same device
Diffstat (limited to 'rules/99-systemd.rules.in')
-rw-r--r-- | rules/99-systemd.rules.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index 20edffb290..498e89c3d8 100644 --- a/rules/99-systemd.rules.in +++ b/rules/99-systemd.rules.in @@ -51,11 +51,11 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??: ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/$name --prefix=/proc/sys/net/ipv4/neigh/$name --prefix=/proc/sys/net/ipv6/conf/$name --prefix=/proc/sys/net/ipv6/neigh/$name" -# Pull in backlight save/restore for all firmware backlight devices, -# and keyboard backlights +# Pull in backlight save/restore for all backlight devices and +# keyboard backlights -ACTION=="add", SUBSYSTEM=="backlight", ATTR{type}=="firmware", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service" -ACTION=="add", SUBSYSTEM=="leds", KERNEL=="*kbd_backlight", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@$name.service" +ACTION=="add", SUBSYSTEM=="backlight", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@backlight:$name.service" +ACTION=="add", SUBSYSTEM=="leds", KERNEL=="*kbd_backlight", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@leds:$name.service" # Asynchronously mount file systems implemented by these modules as # soon as they are loaded. |