chiark / gitweb /
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 865d95f..32f9eba 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"