HP Device required proprietary plugin-in

Greetings,

I am now at a loss as how to scan from a ‘newer’ HP printer. I have an HP LaserJet Pro m487fdw for which I set up using the HP Device Manger. I can print to this machine without any issues. I am currently not able to scan from it. When making an attempt to scan I am presented with a Dialog that states:
Driver Plug-in Installation is required, HP Device requires proprietary plug-in which is missing. Click "Next’ to continue plug-in installation.

https://cubiclenate.com/wp-content/uploads/2021/04/HP-Scan-troubles-4.png
When I click next, I am given the choice to download and install the plug-in from an HP authorized server (recommended)

https://cubiclenate.com/wp-content/uploads/2021/04/HP-Scan-troubles-2.png

This option fails with a warning that the file does not match its checksum
https://cubiclenate.com/wp-content/uploads/2021/04/HP-Scan-troubles-5.png

I navigated here to install the plugin manually: https://developers.hp.com/hp-linux-imaging-and-printing/plugins

This also did not solve my scanning issues and I have dependencies that I cannot satisfy:


**Installing missing/incompatible packages**
**----------------------------------------**
**Do you want to install 'python3-qt4' package?(y=yes*, n=no):**
cmd =python3-qt4 
**error: Failed to install 'python3-qt4' package, please install manually. **
**Do you want to install 'python3-qt4-devel' package?(y=yes*, n=no):**
cmd =python3-qt4-devel 
**error: Failed to install 'python3-qt4-devel' package, please install manually. **
**Do you want to install 'dbus-1-python3-devel' package?(y=yes*, n=no):**
cmd =dbus-1-python3-devel 
**error: Failed to install 'dbus-1-python3-devel' package, please install manually. **
**Do you want to install 'dbus-1-python3' package?(y=yes*, n=no):**
cmd =dbus-1-python3 
**error: Failed to install 'dbus-1-python3' package, please install manually. **

It does seem insistent on this required dependency:


**Missing Required Dependencies**
**-----------------------------**
**error: 'python3-qt4' package is missing/incompatible **
**error: 'python3-qt4-devel' package is missing/incompatible **

Running hp-doctor gives me this:

https://cubiclenate.com/hp-scanning-troubles/

I moved this to my site because I exceeded the maximum number of characters for a forum post.

I am still not able to scan, which is most unfortunate. If it is time to submit a bug, I will do so. I just want to be sure I have done everything possible at my level.

Any help on this is greatly appreciated.

-Nathan

I am slightly puzzled as I am not able to find that model number on the HP site!

Stuart

https://www.hp.com/us-en/shop/pdp/hp-color-laserjet-pro-mfp-m479fdw

I am able to scan to network folder and I GUESS that will do for now but it isn’t exactly what I want.

It’s a super nice unit.

Maybe you should re-read your own first post above, where it says: HP LaserJet Pro m487fdw.
That is not the same as where your link above points to.

I entered it in incorrectly on the first post. It is indeed an HP Color LaserJet Pro MFP M479fdw. I did a terrible job verifying it. The link I provided is correct.

Hi
As you user open a terminal and run;


hp-plugin

It will ask for the root password during install…

Hi
The other option is to manually download, which should work;


cd
wget https://developers.hp.com/sites/default/files/hplip-3.20.11-plugin.run -O hplip-3.20.11-plugin.run
wget https://developers.hp.com/sites/default/files/hplip-3.20.11-plugin.run.asc -O hplip-3.20.11-plugin.run.asc
hp-plugin --plugin=~/ -i

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

The process to manually download the plugin worked smashingly. The plugin application that invokes the usage of a GUI is seemingly broken. The issue I am having now may or may not be related. I still get an error. When using Xsane, a dialog pops up saying:
“Faled to start scanner: Error during device I/O”

I ran xsane through terminal and there wasn’t any output there.

Does the scanner get discovered via ‘scanimage’ command?

scanimage -L

Useful diagnostic reference…
https://en.opensuse.org/SDB:Configuring_Scanners#Frontend

Yes, it is discovered with that command:


device `hpaio:/net/HP_Color_LaserJet_Pro_M478f-9f?ip=192.168.1.50' is a Hewlett-Packard HP_Color_LaserJet_Pro_M478f-9f all-in-one

Try scanning with something like

scanimage -d "hpaio:/net/HP_Color_LaserJet_Pro_M478f-9f?ip=192.168.1.50" --verbose --mode Gray --resolution 150 --format png --progress > test.png

Does that fail?

Some debug info might tell more perhaps…

export SANE_DEBUG_DLL=255
export SANE_DEBUG_HPAIO=255
scanimage -L &> logs

Can you confirm plugin state please?

cat /var/lib/hp/hplip.state

FWIW, a similar HPLIP problem reported here (not sure if it is related or not)…
https://bugzilla.redhat.com/show_bug.cgi?id=1809251

scanimage -d "hpaio:/net/HP_Color_LaserJet_Pro_M478f-9f?ip=192.168.1.50" --verbose --mode Gray --resolution 150 --format png --progress > test.png

gives me an output of:

scanimage: open of device hpaio:/net/HP_Color_LaserJet_Pro_M478f-9f?ip=192.168.1.50 failed: Error during device I/O

Here is the logfile

[08:11:03.653488] [sanei_debug] Setting debug level of dll to 255.
[08:11:03.653757] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.32
[08:11:03.653835] [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[08:11:03.653918] [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[08:11:03.654009] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[08:11:03.654093] [dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hpaio
[08:11:03.654182] [dll] sane_init/read_config: reading dll.d/hpaio
[08:11:03.654303] [dll] add_backend: adding backend `hpaio'
[08:11:03.654404] [dll] sane_init/read_dlld: done.
[08:11:03.654492] [dll] sane_init/read_config: reading dll.conf
[08:11:03.654606] [dll] add_backend: adding backend `hp2000S1'
[08:11:03.654676] [dll] add_backend: adding backend `hpgt2500'
[08:11:03.654740] [dll] add_backend: adding backend `hpaio'
[08:11:03.654805] [dll] add_backend: `hpaio' is already there
[08:11:03.654917] [dll] sane_get_devices
[08:11:03.654984] [dll] load: searching backend `hpaio' in `/usr/lib64/sane'
[08:11:03.655049] [dll] load: trying to load `/usr/lib64/sane/libsane-hpaio.so.1'
[08:11:03.655139] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-hpaio.so.1'
[08:11:03.673322] [dll] init: initializing backend `hpaio'
[08:11:03.673453] [sanei_debug] Setting debug level of hpaio to 255.
[08:11:03.675170] [hpaio] sane_hpaio_init(): scan/sane/hpaio.c 356
[08:11:03.675360] [dll] init: backend `hpaio' is version 1.0.0
[08:11:03.675415] [hpaio] sane_hpaio_get_devices(local=0): scan/sane/hpaio.c 377
[08:11:04.711568] [dll] load: searching backend `hpgt2500' in `/usr/lib64/sane'
[08:11:04.711793] [dll] load: trying to load `/usr/lib64/sane/libsane-hpgt2500.so.1'
[08:11:04.711889] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-hpgt2500.so.1'
[08:11:04.712372] [dll] init: initializing backend `hpgt2500'
[08:11:04.734115] [dll] init: backend `hpgt2500' is version 1.0.5
[08:11:04.734205] [dll] load: searching backend `hp2000S1' in `/usr/lib64/sane'
[08:11:04.734242] [dll] load: trying to load `/usr/lib64/sane/libsane-hp2000S1.so.1'
[08:11:04.734288] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-hp2000S1.so.1'
[08:11:04.735428] [dll] init: initializing backend `hp2000S1'
[08:11:04.735781] [dll] init: backend `hp2000S1' is version 1.0.0
[08:11:04.735848] [dll] sane_get_devices: found 2 devices
[08:11:04.735900] [dll] sane_exit: exiting
[08:11:04.735935] [dll] sane_exit: calling backend `hpaio's exit function
[08:11:04.735967] [hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 371
[08:11:04.737199] [dll] sane_exit: calling backend `hpgt2500's exit function
[08:11:05.744463] [dll] sane_exit: calling backend `hp2000S1's exit function
[08:11:05.744549] [dll] sane_exit: finished
device `hpaio:/net/HP_Color_LaserJet_Pro_M478f-9f?ip=192.168.1.50' is a Hewlett-Packard HP_Color_LaserJet_Pro_M478f-9f all-in-one
device `hpaio:/net/Officejet_Pro_8600?ip=192.168.10.223' is a Hewlett-Packard Officejet_Pro_8600 all-in-one

And the plugin state gives me this:


[FONT=monospace]> cat /var/lib/hp/hplip.state 
[plugin] 
installed = 1 
eula = 1 
version = 3.20.11[/FONT]/CODE]

Thanks again!

Ok, the debug output shows no problem, however I still wonder if you have unresolved dependency issues. Check with ‘hp-doctor’ again, and report back. You can use https://paste.opensuse.org/ to host the lengthy output, and share the link here.