Blob Blame History Raw
diff -up hplip-3.12.4/data/rules/56-hpmud_support.rules.udev-rules hplip-3.12.4/data/rules/56-hpmud_support.rules
--- hplip-3.12.4/data/rules/56-hpmud_support.rules.udev-rules	2012-04-10 10:34:19.000000000 +0200
+++ hplip-3.12.4/data/rules/56-hpmud_support.rules	2012-04-12 12:31:05.120241342 +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.4/Makefile.in.udev-rules hplip-3.12.4/Makefile.in
--- hplip-3.12.4/Makefile.in.udev-rules	2012-04-10 10:38:51.000000000 +0200
+++ hplip-3.12.4/Makefile.in	2012-04-12 12:36:40.806539034 +0200
@@ -4119,7 +4119,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@	data/rules/56-hpmud_add_printer.rules \