24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
diff -up hplip-3.12.6/data/rules/56-hpmud_support.rules.udev-rules hplip-3.12.6/data/rules/56-hpmud_support.rules
|
|
--- hplip-3.12.6/data/rules/56-hpmud_support.rules.udev-rules 2012-06-18 12:43:22.000000000 +0200
|
|
+++ hplip-3.12.6/data/rules/56-hpmud_support.rules 2012-06-19 10:56:21.451872702 +0200
|
|
@@ -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.12.6/Makefile.in.udev-rules hplip-3.12.6/Makefile.in
|
|
--- hplip-3.12.6/Makefile.in.udev-rules 2012-06-18 12:44:46.000000000 +0200
|
|
+++ hplip-3.12.6/Makefile.in 2012-06-19 10:57:37.812828378 +0200
|
|
@@ -4274,7 +4274,7 @@ cups_drv = prnt/drv/hpcups.drv
|
|
@HPLIP_BUILD_TRUE@dist_cron_DATA = data/rules/hplip_cron
|
|
|
|
# hpmud.rules
|
|
-@HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d
|
|
+@HPLIP_BUILD_TRUE@rulesdir = /usr/lib/udev/rules.d
|
|
@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@dist_rules_DATA = data/rules/56-hpmud_support.rules \
|
|
@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ data/rules/86-hpmud_plugin.rules \
|
|
@HPLIP_BUILD_TRUE@@UDEV_SYSFS_RULES_FALSE@ data/rules/56-hpmud_add_printer.rules \
|