Tim Waugh f1f3d5
# Allow the lp group to read and write raw USB devices for printers.
Tim Waugh f1f3d5
# This is required for the CUPS usb backend when built with libusb
Tim Waugh f1f3d5
# support.
Tim Waugh f1f3d5
ACTION=="add", SUBSYSTEM=="usb", \
Tim Waugh f1f3d5
  ATTR{bInterfaceClass}=="07", ATTR{bInterfaceSubClass}=="01", \
Tim Waugh 4c0569
  RUN+="/usr/bin/setfacl -m g:lp:rw /dev/%P"