24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
diff -up hplip-3.11.12/data/rules/56-hpmud_support.rules.udev-rules hplip-3.11.12/data/rules/56-hpmud_support.rules
|
|
--- hplip-3.11.12/data/rules/56-hpmud_support.rules.udev-rules 2011-12-09 12:19:54.000000000 +0100
|
|
+++ hplip-3.11.12/data/rules/56-hpmud_support.rules 2011-12-19 17:23:29.769128810 +0100
|
|
@@ -6,6 +6,7 @@ SUBSYSTEM!="usb_device", GOTO="hpmud_rul
|
|
|
|
LABEL="pid_test"
|
|
|
|
+ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
|
|
# Check for LaserJet products (0x03f0xx17).
|
|
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", ENV{hp_model}="$attrs{product}", ENV{hp_test}="yes"
|
|
# Check for LaserJet products (0x03f0xx2a).
|
|
diff -up hplip-3.11.12/Makefile.in.udev-rules hplip-3.11.12/Makefile.in
|
|
--- hplip-3.11.12/Makefile.in.udev-rules 2011-12-09 12:23:55.000000000 +0100
|
|
+++ hplip-3.11.12/Makefile.in 2011-12-19 17:24:14.204573291 +0100
|
|
@@ -4106,7 +4106,7 @@ cups_drv = prnt/drv/hpcups.drv
|
|
@HPLIP_BUILD_TRUE@hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\"
|
|
|
|
# hpmud.rules
|
|
-@HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d
|
|
+@HPLIP_BUILD_TRUE@rulesdir = /lib/udev/rules.d
|
|
@HPLIP_BUILD_TRUE@dist_rules_DATA = data/rules/56-hpmud_support.rules \
|
|
@HPLIP_BUILD_TRUE@ data/rules/86-hpmud_plugin.rules \
|
|
@HPLIP_BUILD_TRUE@ $(am__append_2) $(am__append_3)
|