chiark / gitweb /
udev: improve udev rule a bit
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jul 2011 12:27:26 +0000 (14:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Jul 2011 12:27:26 +0000 (14:27 +0200)
src/99-systemd.rules

index d2c41c1..f262185 100644 (file)
@@ -37,6 +37,6 @@ SUBSYSTEM=="sound", KERNEL=="card*", TAG+="systemd", ENV{SYSTEMD_WANTS}="sound.t
 
 SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
 SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701*:", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target"
 
 LABEL="systemd_end"