]> err.no Git - systemd/commitdiff
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 d2c41c1c5694d0bc172c3ae68dd3e230ecd6ea15..f262185e4e86ae59a992f572e9e1d585589ac871 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"