90b9b0e
diff -up hplip-3.15.11/data/rules/56-hp_conf_usb.rules.udev-rules hplip-3.15.11/data/rules/56-hp_conf_usb.rules
90b9b0e
--- hplip-3.15.11/data/rules/56-hp_conf_usb.rules.udev-rules	2015-11-18 13:41:08.003952433 +0100
90b9b0e
+++ hplip-3.15.11/data/rules/56-hp_conf_usb.rules	2015-11-18 13:41:08.003952433 +0100
188cf82
@@ -0,0 +1,4 @@
188cf82
+# HPLIP udev rules file.
188cf82
+
188cf82
+# This rule will check the smart install feature, plugin status and firmware download for the required printers.
188cf82
+ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service'"
90b9b0e
diff -up hplip-3.15.11/data/rules/56-hpmud.rules.udev-rules hplip-3.15.11/data/rules/56-hpmud.rules
90b9b0e
--- hplip-3.15.11/data/rules/56-hpmud.rules.udev-rules	2015-11-12 11:28:50.000000000 +0100
90b9b0e
+++ hplip-3.15.11/data/rules/56-hpmud.rules	2015-11-18 13:41:08.003952433 +0100
0d53148
@@ -12,7 +12,4 @@ ENV{ID_USB_INTERFACES}=="", IMPORT{built
d4d1997
 # ENV{ID_HPLIP}="1" is for Ubuntu udev-acl
0d53148
 ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:08????:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
1038b80
 
d4d1997
-# This rule will check the smart install feature, plugin status and firmware download for the required printers.
0d53148
-ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'"
8287276
-
0d53148
 LABEL="hpmud_rules_end"
90b9b0e
diff -up hplip-3.15.11/data/rules/hplip-printer@.service.udev-rules hplip-3.15.11/data/rules/hplip-printer@.service
90b9b0e
--- hplip-3.15.11/data/rules/hplip-printer@.service.udev-rules	2015-11-12 11:28:50.000000000 +0100
90b9b0e
+++ hplip-3.15.11/data/rules/hplip-printer@.service	2015-11-18 13:41:08.003952433 +0100
1291f31
@@ -2,4 +2,4 @@
1291f31
 Description=Configure HP Plugged-In Printer
1291f31
 
1291f31
 [Service]
1291f31
-ExecStart=/usr/bin/python /usr/bin/hp-config_usb_printer "%i"
1291f31
+ExecStart=/usr/bin/hp-config_usb_printer "%i"
90b9b0e
diff -up hplip-3.15.11/Makefile.am.udev-rules hplip-3.15.11/Makefile.am
90b9b0e
--- hplip-3.15.11/Makefile.am.udev-rules	2015-11-12 11:29:04.000000000 +0100
90b9b0e
+++ hplip-3.15.11/Makefile.am	2015-11-18 13:54:18.817431087 +0100
90b9b0e
@@ -118,11 +118,12 @@ rulessystemdir=/usr/lib/systemd/system
90b9b0e
 dist_rulessystem_DATA =data/rules/hplip-printer@.service
275aca3
 
275aca3
 # hpmud.rules
90b9b0e
-rulesdir = /etc/udev/rules.d
90b9b0e
+rulesdir = /usr/lib/udev/rules.d
90b9b0e
 if UDEV_SYSFS_RULES
90b9b0e
 dist_rules_DATA = data/rules/56-hpmud_sysfs.rules
90b9b0e
 else
90b9b0e
 dist_rules_DATA = data/rules/56-hpmud.rules
90b9b0e
+dist_rules_DATA += data/rules/56-hp_conf_usb.rules
90b9b0e
 endif
90b9b0e
 
90b9b0e
 halpredir = /usr/share/hal/fdi/preprobe/10osvendor