Sane device I/O error on Raspberry pi platform

Bug #1835671 reported by Lin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

I just ran into the same problem Amy posted in her/his question bellow: https://answers.launchpad.net/hplip/+question/677330

Before I found this thread, I'm not sure it's the software problem or just my own hardware/system/configuration-specific problem.

But now I'm much sure it may be a general hplip software problem need to be fixed by professionals.

Just like Amy posted, I also have a Raspberry Pi Zero running Raspbian Stretch, use it as a print server, everything works fine, until one day I want it to become a scan server, so I don't have to grab an laptop and plug the usb in every time to scan some image, finally found out the scan function is totally broken on this platform.

I installed HPLIP 3.18.4 correctly, with the HP-plugin installed correctly, hp-setup with no problem, hp-check with no error.

With "scanimage -L",
I get this: device `hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VNFYG00134' is a Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one

It means this rubbish machine is recognized successfully by SANE, the hpaio backend is ready, and the scanner should work with no problem.

But with "scanimage -T", or an actual scan command,
I get this: scanimage: open of device hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VNFYG00134 failed: Error during device I/O

Check the system log, it says this:
Jul 7 17:20:49 raspberrypi scanimage: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=1
Jul 7 17:20:49 raspberrypi scanimage: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
Jul 7 17:20:49 raspberrypi scanimage: io/hpmud/musb.c 535: claimed 7/1/2 interface
Jul 7 17:20:49 raspberrypi scanimage: io/hpmud/musb.c 781: read actual device_id successfully fd=1 len=277
Jul 7 17:20:50 raspberrypi scanimage: io/hpmud/musb.c 561: released 7/1/2 interface
Jul 7 17:20:50 raspberrypi scanimage: io/hpmud/hpmud.c 683: invalid channel_open state
Jul 7 17:20:50 raspberrypi scanimage: http.c 300: unable to open HP-SOAP-SCAN channel
Jul 7 17:20:50 raspberrypi scanimage: bb_soapht.c 661: unable to open http connection hp:/usb/HP_LaserJet_MFP_M129-M134?serial=VNFYG00134
Jul 7 17:20:50 raspberrypi scanimage: bb_soapht.c 793: unable to get_scanner_elements: uri=hp:/usb/HP_LaserJet_MFP_M129-M134?serial=VNFYG00134

So it's exactly the same problem Amy posted half a year ago.
It seems some "channel" should be opened but unfortunately it's not, so further communication cannot be established, and this causes an I/O error.

And it looks like this is a platform specific problem, because after all the searching, there's almost no similar report on other platforms.

Hope you pro guys can get it fixed.

Regards,
Lin

Lin (hplipsucks)
description: updated
Revision history for this message
Lin (hplipsucks) wrote :

I added some links to this problem, because the errors in these two questions (link bellow) are quite similar with what I just have described.
Don't know if the launchpad's link-to-bug function works well, so I just paste the links here.

This,
https://answers.launchpad.net/hplip/+question/677330

and this,
https://answers.launchpad.net/hplip/+question/655328

Have the same error just like what I have right now.
Hope all this helps.

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.