# Use this rules file when usbfs uses /proc/bus/usb/ instead of /dev/bus/usb/ (ie: Suse 10.0). 
# The idProduct below must match the actual USB product-id. Use lsusb to get the actual product-id from device enumeration.

SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"

ACTION!="add", GOTO="hpmud_rules_end"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3217", PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev} B=$${X%%%%.*} D=$${X#*.}; printf /proc/bus/usb/%%03i/%%03i $$B $$D'", RUN+="/bin/chown lp: %c; /bin/chmod 666 %c"

LABEL="hpmud_rules_end"
