summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-07-05 05:37:13 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-07-05 05:37:13 +0200
commit665a754d03aa21a6ff58066abe125569a4bc32c2 (patch)
tree70337e54654fba77cd8275a1bd815bbe8d163654 /rules
parentf2a2983604fa6876fc297c9156b7ad0f04a482e8 (diff)
rules: fix wrong wildcard match, we always need a ':*' at the end
Diffstat (limited to 'rules')
-rw-r--r--rules/rules.d/50-udev-default.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index 865d95f41e..32f9eba016 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -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"