Failed to open device `hpaio:/usb/Officejet_6100_Series?serial=MY36OF751N2R`: Error during device I/O.

Bug #370437 reported by bugatti
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
xsane (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Karmic by Alexander Betaev

Bug Description

Binary package hint: xsane

I connected a HP Officejet 6110 all-in-one multifunction printer, the system detected printer function without problem, however the XSane image and scanning program displayed error message "Failed to open device `hpaio:/usb/Officejet_6100_Series?serial=MY36OF751N2R`: Error during device I/O."

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: firefox-3.0 3.0.10+nobinonly-0ubuntu0.9.04.1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
bugatti (djuan-kblgroupintl) wrote :
Revision history for this message
WPO (wpo) wrote :

I am having the same issue with my HP Officejet 6210 all-in-one multifunction printer. It can print, fax, and the HP device manager gets installed. The XSane image and scanning program displayed error message "Failed to open device `hpaio:/usb/Officejet_6200_Series?serial=CN497BE3HH0453`: Error during device I/O." The last time xsane worked was in 8.04. It did not work in 8.10 and now in 9.04. I updated HPLIP to 3.9.6b as well. When I hook this up to a Windows Vista computer, it scans fine.

The scan command in the HP Device Manager is "/usr/bic/xsane -V %SANE_URI%". Xsane 0.996. From syslog

Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 149: unexpected command: cmd=81, result=0
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 145: unexpected MLCError: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/musb.c 1632: invalid MlcCredit from peripheral, trying miser
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 145: unexpected MLCError: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 760: invalid MlcCreditRequestReply: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/musb.c 1616: invalid MlcCreditRequest from peripheral
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 145: unexpected MLCError: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 682: invalid MlcCloseChannelReply: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 145: unexpected MLCError: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 682: invalid MlcCloseChannelReply: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 145: unexpected MLCError: cmd=7f, result=4
Jul 18 14:58:35 Keystone xsane: io/hpmud/mlc.c 394: invalid MLCExitReply: cmd=7f, result=4

Revision history for this message
Pieter Ennes (skion) wrote :

Same error message here with a LaserJet 1120n on karmic, connected through LAN:

hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.1.200

Printing works fine.

Revision history for this message
Alexander Betaev (infestator) wrote :

same problem with hp cm1017 in karmic:
infestator@infestation:~$ scanimage -v -d hpaio:/usb/HP_Color_LaserJet_CM1017?serial=00CNDY73NGFT
scanimage: open of device hpaio:/usb/HP_Color_LaserJet_CM1017?serial=00CNDY73NGFT failed: Error during device I/O

Revision history for this message
Alexander Betaev (infestator) wrote :

this is hplip/hpaio problem, not xsane

Revision history for this message
milos (mpolakovic) wrote :

I'm having the same problem with HP LaserJet M1522n.
I'm running Ubuntu 9.04

Revision history for this message
Frits Kuijk (fritskuijk) wrote :

I was searching for a solution for the same problem with officejet 6110 under ubuntu 9.10 that keeps the scanner blocked for some time.
It happens during the warming up time of the scanner, after 28 seconds the display says something like : scanning canceled.(translated)
When i press any button it says 'busy conversating' (translated). After about 10 minutes I press the copy button and suddenly the adf just feeds the page.
I don't have the problem if I perform a manual scan first and instantaniously prepare my computer so the scan commands meets a scanner that has been warmed up already.
It may be a conversation protocol time out.
Hope I find the appropriate location to announce that problem

Revision history for this message
Xtroce (xtroce) wrote :

i had the same problem for karmic and the hp1120n, i found a solution in this bug

https://answers.launchpad.net/hplip/+question/18354

if you look at the user.log you'll see a libfile missing:

xsane: scan/sane/marvell.c 66: unable to load restricted library: libhpmud.so: cannot open shared object file: No such file or directory

fix:
sudo /bin/ln -s /usr/lib/libhpmud.so.0 /usr/lib/libhpmud.so

fixes that
scanning works perfect now

Revision history for this message
Bernd (bernd-schepman) wrote :

@Xtroce: thanks!
sudo /bin/ln -s /usr/lib/libhpmud.so.0 /usr/lib/libhpmud.so
worked for me in Ubuntu 10.4

Revision history for this message
Jeff Smith (jeffdsmith1) wrote :

Thanks!

sudo /bin/ln -s /usr/lib/libhpmud.so.0 /usr/lib/libhpmud.so
Worked for me too in Kubuntu 10.4

Revision history for this message
michele (micheleqa) wrote :

Thanks. It worked in Ubuntu 10.04 - HP laserjet m1120n mfp - hplip 3.10.2-2

Revision history for this message
MvW (2nv2u) wrote :

Still not working in 10.10 with a HP Color Laserjet CM1017. The fix works though. Thanks!!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xsane (Ubuntu):
status: New → Confirmed
Revision history for this message
luca (llucax) wrote :

Having the same problem with CM2320 and the fix doesn't work :-/

Revision history for this message
Wayne R. Knight (wrkbear) wrote :

Same problem with HP OfficeJet 6500 all-in-one on Ubuntu 11.04. Printer works fine. Fix didn't work with xsane or simple-scan. Message continues to read "Failed to open devce 'hpaio:/usb/Officejet_6500_E709n....."

Any more ideas anyone?

Revision history for this message
Wayne R. Knight (wrkbear) wrote :

After fix, I still get the same message. Output from syslog after launching xsane and simple-scan follows:

Nov 30 00:24:56 I-5 xsane: io/hpmud/dot4.c 231: unable to read Dot4ReverseReply header: Resource temporarily unavailable bytesRead=0
Nov 30 00:24:56 I-5 xsane: io/hpmud/dot4.c 319: invalid DOT4InitReply retrying command...
Nov 30 00:25:00 I-5 xsane: io/hpmud/dot4.c 231: unable to read Dot4ReverseReply header: Resource temporarily unavailable bytesRead=0
Nov 30 00:25:00 I-5 xsane: io/hpmud/dot4.c 330: invalid DOT4InitReply: cmd=0, result=20#012, revision=30
Nov 30 00:25:00 I-5 xsane: failed to open scan channel: scan/sane/hpaio.c 659
Nov 30 00:25:03 I-5 xsane: io/hpmud/hpmud.c 341: device_cleanup: device uri=hp:/usb/Officejet_6500_E709n?serial=TH06B2216X05G2
Nov 30 00:25:03 I-5 xsane: io/hpmud/hpmud.c 353: device_cleanup: close device dd=1...
Nov 30 00:25:03 I-5 xsane: io/hpmud/hpmud.c 355: device_cleanup: done closing device dd=1
Nov 30 00:25:22 I-5 simple-scan: io/hpmud/dot4.c 231: unable to read Dot4ReverseReply header: Resource temporarily unavailable bytesRead=0
Nov 30 00:25:22 I-5 simple-scan: io/hpmud/dot4.c 319: invalid DOT4InitReply retrying command...
Nov 30 00:25:26 I-5 simple-scan: io/hpmud/dot4.c 231: unable to read Dot4ReverseReply header: Resource temporarily unavailable bytesRead=0
Nov 30 00:25:26 I-5 simple-scan: io/hpmud/dot4.c 330: invalid DOT4InitReply: cmd=0, result=20#012, revision=19
Nov 30 00:25:26 I-5 simple-scan: failed to open scan channel: scan/sane/hpaio.c 659
Nov 30 00:25:34 I-5 simple-scan: io/hpmud/hpmud.c 341: device_cleanup: device uri=hp:/usb/Officejet_6500_E709n?serial=TH06B2216X05G2
Nov 30 00:25:34 I-5 simple-scan: io/hpmud/hpmud.c 353: device_cleanup: close device dd=1...
Nov 30 00:25:34 I-5 simple-scan: io/hpmud/hpmud.c 355: device_cleanup: done closing device dd=1

Revision history for this message
Acknud (acknud) wrote :

Same problem with Deskjet 3050. The printer works but I can't get the scanner going.

Revision history for this message
penalvch (penalvch) wrote :

bugatti, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases your release is EOL.

If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it.

Changed in xsane (Ubuntu):
status: Confirmed → Invalid
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.