hplip/change-udev-rules.diff

15 lines
625 B
Diff

--- 55-hpmud.rules.orig 2007-05-17 18:48:16.000000000 +0200
+++ 55-hpmud.rules 2007-07-26 09:10:14.000000000 +0200
@@ -1,5 +1,9 @@
# TODO: add PROGRAM rule for 7/xx/xx printer class interface
-SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
+SUBSYSTEM=="usb", GOTO="hpmud_rules_continue"
+# For backward compatibility match also against "usb_device":
+SUBSYSTEM=="usb_device", GOTO="hpmud_rules_continue"
+GOTO="hpmud_rules_end"
+LABEL="hpmud_rules_continue"
ACTION!="add", GOTO="hpmud_rules_end"
-SYSFS{idVendor}=="03f0", GROUP="lp"
+SYSFS{idVendor}=="03f0", OWNER="root", GROUP="lp", MODE="0664"
LABEL="hpmud_rules_end"