Registration is now invite-only. Any user can make an invite, you need to create it here and give resulting link to someone to register.

About project

This is the HP driver package to supply Linux support for most
Hewlett-Packard DeskJet, LaserJet, PSC, OfficeJet, and PhotoSmart
printers and all-in-one peripherals (also known as Multi-Function
Peripherals or MFPs), which can print, scan, copy, fax, and/or access
flash memory cards.

It is work in progress, but printing, scanning, memory card access,
ink/toner/battery/consumable level checking, and inkjet printer
maintenance are supported on most models, when either connected to the
USB or LAN (built-in interfaces or selected HP JetDirect models) on a
Linux workstation with CUPS printing system.

For status and consumable checking and also for inkjet maintenance
there is the graphical tool "hp-toolbox" available (Menu:
"System"/"Monitoring"/"HP Printer Toolbox").

Last commit

avatar
mikhailnov has added 8e57ec0500
universal udev rules for rosa2023.1 and rosa2021.1

Files in

100644 | 22 lines (19 sloc) | 1.55 KB
diff --git a/data/rules/56-hpmud.rules b/data/rules/56-hpmud.rules
index 8311063..841cf3a 100644
--- a/data/rules/56-hpmud.rules
+++ b/data/rules/56-hpmud.rules
@@ -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=="ppdev", OWNER="root", GROUP="lp", MODE="0664"
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hpmud_usb_rules"
 GOTO="hpmud_rules_end"
@@ -13,6 +13,7 @@ ENV{ID_USB_INTERFACES}=="", IMPORT{builtin}="usb_id"
 ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:ffcc00:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"

 # This rule will check the smart install feature, plugin status and firmware download for the required printers.
-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}'"
+# 1000 == 0517, 1018 == 4117, 1020 == 2b17, p1005 == 3d17, p1006 == 3e17, p1102 == 002a, p1102w == 102a|032a, p1566 == 092a, p1505 == 3f17, p1505n == 4017
+ENV{hp_test}=="yes", ATTR{idVendor}=="03f0", ATTR{idProduct}=="0517|4117|2b17|3d17|3e17|002a|102a|032a|092a|3f17|4017", 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}'"

 LABEL="hpmud_rules_end"
diff -ruN a/Makefile.in b/Makefile.in