Scanning from OfficeJet 7100 not working

Bug #1892442 reported by Михаїл Т.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

This old device stopped printing years ago and sat on the shelf until I wanted to scan a few things nicely -- on a proper flatbed scanner.

After I installed the hplip port (version 3.20.6), "scanimage -L" began recognizing the scanner:

% scanimage -L
device `hpaio:/usb/officejet_7100_series?serial=SG37HD10996G' is a Hewlett-Packard officejet_7100_series all-in-one

So far so good... However, attempts to actually talk to the device -- including simply querying its capabilities (`scanimage -h`) all fail:

scanimage: open of device hpaio:/usb/officejet_7100_series?serial=SG37xxx996G failed: Invalid argument

The following lines appear in the syslog:

Aug 20 22:07:31 symbion scanimage: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Device busy bytesRead=0
Aug 20 22:07:31 symbion scanimage: io/hpmud/mlc.c 347: invalid MLCInitReply retrying command...
Aug 20 22:07:35 symbion scanimage: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Device busy bytesRead=0
Aug 20 22:07:35 symbion scanimage: io/hpmud/mlc.c 357: invalid MLCInitReply: cmd=0, result=3 , revision=2
Aug 20 22:07:35 symbion scanimage: failed to open scan channel: scan/sane/sclpml.c 382
Aug 20 22:07:35 symbion scanimage: io/hpmud/hpmud.c 373: device_cleanup: device uri=hp:/usb/officejet_7100_series?serial=SG37xxx996G
Aug 20 22:07:35 symbion scanimage: io/hpmud/hpmud.c 385: device_cleanup: close device dd=1...
Aug 20 22:07:35 symbion scanimage: io/hpmud/hpmud.c 387: device_cleanup: done closing device dd=1

The device itself complains -- on its own little LCD-screen -- that the ink-cartridges are missing (which, indeed, they are). But it should still be able to scan, should it not?

I tried two different USB-cables -- what else can I do?

The computer runs FreeBSD-11/amd64. The hp-scan utility logs the same errors:

Aug 20 22:17:15 symbion /hp-scan: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Device busy bytesRead=0
Aug 20 22:17:15 symbion /hp-scan: io/hpmud/mlc.c 347: invalid MLCInitReply retrying command...
Aug 20 22:17:19 symbion /hp-scan: io/hpmud/mlc.c 238: unable to read MlcReverseReply header: Device busy bytesRead=0
Aug 20 22:17:19 symbion /hp-scan: io/hpmud/mlc.c 357: invalid MLCInitReply: cmd=0, result=3 , revision=c0
Aug 20 22:17:19 symbion /hp-scan: failed to open scan channel: scan/sane/sclpml.c 382
Aug 20 22:17:19 symbion /hp-scan: hp-scan[93828]: error: SANE: Invalid argument (code=4)
Aug 20 22:17:19 symbion /hp-scan: io/hpmud/hpmud.c 373: device_cleanup: device uri=hp:/usb/officejet_7100_series?serial=SG37xxx996G
Aug 20 22:17:19 symbion /hp-scan: io/hpmud/hpmud.c 385: device_cleanup: close device dd=1...
Aug 20 22:17:19 symbion /hp-scan: io/hpmud/hpmud.c 387: device_cleanup: done closing device dd=1

Tags: scan usb
description: updated
description: updated
Revision history for this message
zdohnal (zdohnal) wrote :

Hi,

most hpaio supported devices need 3rd party plugin from HPLIP, so running 'hp-plugin -i' can do the trick.

Or you can try sane-airscan for driverless scanning.

Revision history for this message
Михаїл Т. (mi+launchpad) wrote :

The plugin adds firmware for HP LasertJet and Marvell-faxes. Not for OfficeJet 7100...

Nevertheless, I installed it -- to no avail.

Not sure what "sane-airscan" is :(

Revision history for this message
zdohnal (zdohnal) wrote :

IIUC the plugin actually adds support for SOAP, SOAPHT, ESCL and MARVELL scan device types.

It looks you have the only one scan device type which is implemented as open source - SCL.

sane-airscan is a package/Github project, which provides driverless support for scanning with devices which supports WSD or eSCL. Those protocols appear on newer devices (2013+).
I search a bit for your device and found specification manual from 2002. So I guess it will not be supported by sane-airscan :( .

Then only thing I can recommend in the meanwhile (before HPLIP upstream responds) you can reach out FreeBSD maintainers or debug the issue yourself e.g. via gdb.

Revision history for this message
Михаїл Т. (mi+launchpad) wrote :

I did run under gdb -- and got all the way down to calls into the OS-provided libusb... These calls were failing -- and errors were logged (using syslog(3)), which log-messages I quoted here :(

My remaining suspicion is that the device refuses to do _anything_ (including scanning) until I install a usable ink-cartridge... Which I don't want to do, because it would be expensive and, likely, quite useless too...

Yes, the device is quite old -- it has a built-in FAX (!) :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.