Index: hplip-3.12.2/data/rules/40-hplip.rules =================================================================== --- hplip-3.12.2/data/rules/40-hplip.rules +++ hplip-3.12.2/data/rules/40-hplip.rules 2012-03-26 03:38:40.183658105 +0300 @@ -4,7 +4,7 @@ # For older distros that use HAL ACL support use the 55-hpmud.rules. # -ACTION!="add", GOTO="hpmud_rules_end" +ACTION=="remove", GOTO="hpmud_rules_end" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test" SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end" Index: hplip-3.12.2/data/rules/55-hpmud.rules =================================================================== --- hplip-3.12.2/data/rules/55-hpmud.rules +++ hplip-3.12.2/data/rules/55-hpmud.rules 2012-03-26 03:38:49.193742754 +0300 @@ -13,7 +13,7 @@ # changes are not distro specific please send your patch to us. 2/11/2009, D Suffield # -ACTION!="add", GOTO="hpmud_rules_end" +ACTION=="remove", GOTO="hpmud_rules_end" SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0660" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hplip_pid_test" SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end" Index: hplip-3.12.2/data/rules/56-hpmud_support.rules =================================================================== --- hplip-3.12.2/data/rules/56-hpmud_support.rules +++ hplip-3.12.2/data/rules/56-hpmud_support.rules 2012-03-26 03:39:08.413923274 +0300 @@ -1,6 +1,6 @@ # HPLIP udev rules file. Notify console user if plugin support is required for this device. -ACTION!="add", GOTO="hpmud_rules_end" +ACTION=="remove", GOTO="hpmud_rules_end" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test" SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end" Index: hplip-3.12.2/data/rules/86-hpmud_plugin.rules =================================================================== --- hplip-3.12.2/data/rules/86-hpmud_plugin.rules +++ hplip-3.12.2/data/rules/86-hpmud_plugin.rules 2012-03-26 03:39:30.164127471 +0300 @@ -1,6 +1,6 @@ # Load hp firmware for this printer. -ACTION!="add", GOTO="hpmud_rules_end" +ACTION=="change", GOTO="hpmud_rules_end" # hp_Marvel_Device (These printer requires the plugin files. installling when device is detected) SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_printer_device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-check-plugin -m &'"