]> err.no Git - systemd/commitdiff
rules: fix wrong wildcard match, we always need a ':*' at the end
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 5 Jul 2011 03:37:13 +0000 (05:37 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 5 Jul 2011 03:37:13 +0000 (05:37 +0200)
rules/rules.d/50-udev-default.rules

index 865d95f41ec24ae67b4bebd721a3d37aee10735b..32f9eba0169a8cae11e94baaab15d816496d48ff 100644 (file)
@@ -61,7 +61,7 @@ SUBSYSTEM=="ppdev",           GROUP="lp"
 SUBSYSTEM=="usb",              KERNEL=="lp*", SYMLINK+="usb%k", GROUP="lp"
 KERNEL=="lp[0-9]*",            GROUP="lp"
 KERNEL=="irlpt[0-9]*",         GROUP="lp"
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701*:", GROUP="lp"
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp"
 
 # block
 SUBSYSTEM=="block", GROUP="disk"