hplip/hplip-udev-rules.patch
Tim Waugh d4173d21e8 - Reverted udev rules change.
- Ship a HAL FDI file to get correct access control on the USB device nodes
    (bug #251470).
- Make libsane-hpaio requires the main hplip package, needed for libhpip.so
    (bug #280281).
2007-09-06 12:19:39 +00:00

13 lines
553 B
Diff

--- hplip-2.7.6/55-hpmud.rules.udev-rules 2007-07-20 14:13:01.000000000 +0100
+++ hplip-2.7.6/55-hpmud.rules 2007-07-20 14:13:32.000000000 +0100
@@ -1,5 +1,7 @@
# TODO: add PROGRAM rule for 7/xx/xx printer class interface
-SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"
+SUBSYSTEM!="usb", GOTO="hpmud_rules_end"
+ATTR{devnum}!="?*", GOTO="hpmud_rules_end"
+ATTR{busnum}!="?*", GOTO="hpmud_rules_end"
ACTION!="add", GOTO="hpmud_rules_end"
-SYSFS{idVendor}=="03f0", GROUP="lp"
+SYSFS{idVendor}=="03f0", GROUP="lp", MODE="0664"
LABEL="hpmud_rules_end"