From 8bdf1681e04a9a70a0a697cab65e96b235211633 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 10 Nov 2008 21:18:09 +0100 Subject: Fixed hplip --- net-print/hplip/files/70-hpmud.rules | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 net-print/hplip/files/70-hpmud.rules (limited to 'net-print/hplip/files/70-hpmud.rules') diff --git a/net-print/hplip/files/70-hpmud.rules b/net-print/hplip/files/70-hpmud.rules new file mode 100644 index 0000000..1e6ab66 --- /dev/null +++ b/net-print/hplip/files/70-hpmud.rules @@ -0,0 +1,19 @@ +# Udev rules file for HP printer products. + +ACTION!="add", GOTO="hpmud_rules_end" + +SUBSYSTEM!="usb|usb_device", GOTO="hpmud_rules_end" +SUBSYSTEM=="usb", ENV{DEVTYPE}!="usb_device" ,GOTO="hpmud_rules_end" + +# Check for AiO products (0x03f0xx11). +ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??11", GROUP="lp" +# Check for Photosmart products (0x03f0xx02). +ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??02", GROUP="lp" +# Check for Business Inkjet products (0x03f0xx12). +ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??12", GROUP="lp" +# Check for Deskjet products (0x03f0xx04). +ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??04", GROUP="lp" +# Check for LaserJet products (0x03f0xx17). +ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", GROUP="lp" + +LABEL="hpmud_rules_end" -- cgit v1.2.3-70-g09d2