Officejet 7500A E910 ADF scan error

Bug #861332 reported by João Sousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
High
Sarbeswar Meher

Bug Description

Debian Linux 6.0 "Squeeze" updated with HPLIP 3.11.7.

Scanning from ADF gives I/O connection error. See below:

$ hp-scan --adf

HP Linux Imaging and Printing System (ver. 3.11.7)
Scan Utility ver. 2.2

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

-----------------
| SELECT DEVICE |
-----------------

  Num Scan device URI
  -------- ------------------------------------------------
  0 hpaio:/usb/PSC_1500_series?serial=MY5ASDC3560498
  1* hpaio:/net/Officejet_7500_E910?zc=HPA9B9D1
  2 hpaio:/net/PSC_1500_series?ip=192.168.2.1

Enter number 0...2 for device (q=quit, <enter>=default: 1*) ?
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/Officejet_7500_E910?zc=HPA9B9D1
Opening connection to device...

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (215.900009mm, 355.600006mm)
  Width: 215.900009mm
  Height: 355.600006mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PDF for ADF mode.
warning: Defaulting to '/home/joao/hpscan001.pdf'.

Warming up...

Page 1: Scanning...
error: SANE: Error during device I/O (code=9)
Closing device.

Revision history for this message
João Sousa (jotapesse) wrote :

Seems to be the same bug on an Officejet 6500 E710.

https://bugs.launchpad.net/hplip/+bug/819709

Revision history for this message
Sarbeswar Meher (sarbeswar-meher) wrote :

Hi,

  Yes, this is the same bug as mentioned in https://bugs.launchpad.net/hplip/+bug/819709. The fix will be in hplip-3.11.10 which will be released in 1st week of october.

Thanks,
Sarbeswar Meher

Changed in hplip:
importance: Undecided → High
assignee: nobody → Sarbeswar Meher (sarbeswar-meher)
status: New → Fix Committed
Revision history for this message
João Sousa (jotapesse) wrote :

Thank you for your help! :-)

Revision history for this message
Sarbeswar Meher (sarbeswar-meher) wrote :

Download the latest hplip-3.11.10 from http://hplipopensource.com/hplip-web/index.html and install it. Remove the existing queues. Connect the printer and Run "hp-setup". Once setup is done, you can scan from ADF.

Let us know if you have any issue.

Changed in hplip:
status: Fix Committed → Fix Released
Revision history for this message
João Sousa (jotapesse) wrote :

I'm afraid that the problem persists.

I have downloaded and installed hplip 3.11.10, removed queues, setup new printer queues and rebooted. Same issue, first adf sheet is loaded and scan is aborted with error, please help:

$ hp-scan --adf

HP Linux Imaging and Printing System (ver. 3.11.10)
Scan Utility ver. 2.2

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hpaio:/net/Officejet_7500_E910?zc=HPA9B9D1

warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/Officejet_7500_E910?zc=HPA9B9D1
Opening connection to device...

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (215.900009mm, 355.600006mm)
  Width: 215.900009mm
  Height: 355.600006mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PDF for ADF mode.
warning: Defaulting to '/home/joao/hpscan001.pdf'.

Warming up...

Page 1: Scanning...
error: SANE: Error during device I/O (code=9)
Closing device.

Revision history for this message
Sarbeswar Meher (sarbeswar-meher) wrote :

Goto commanline and run in root mode "ps -ef | grep systray" in commandline. Kill all the running hp-systray processes. Launch Xsane. Try to scan from Flatbed and then using ADF.

If you still have any issue, let me know with all the below details.

1. Go to the source directory from where you have setup hplip. (May be in /home/<username>/Downloads/hplip-3.11.10).

2. Go to /scan/sane folder.
   a)Open bb_ledm.c and add in line 31,

  # define BB_LEDM_DEBUG

  Save the file and exit.
  b)Open common.h and got to line 34 and uncomment it (remove //) and save the file.

3. Go to /io/hpmud folder. Open hpmudi.h, go to line 60 and uncomment it (remove the //) and save it.

4. Go back to the directory /home/<username>/Downloads/hplip-3.11.10. Run in commandline
    make
   sudo make install

5. Go to /var/log. Run in commandline
  sudo cp /dev/null messages
  sudo cp /dev/null syslog

6. Run "hp-scan --adf " or Xsane for scanning.

7. Send the logs of syslog or messages

Thanks.

Revision history for this message
João Sousa (jotapesse) wrote :
Download full text (3.5 KiB)

Before your reply I also tried to recompile and reinstall hplip manually by following: http://hplipopensource.com/hplip-web/install/manual/distros/debian.html. No good, same issue.

Did what you've requested:

$ sudo ps -ef | grep systray
[sudo] password for joao:
joao 2050 1956 0 11:23 ? 00:00:00 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystray.so 6 20971559 systray Notification Area Area where notification icons appear
joao 2380 1 0 11:25 ? 00:00:01 python /usr/bin/hp-systray --force-startup
joao 2381 2380 0 11:25 ? 00:00:00 python /usr/bin/hp-systray --force-startup
joao 2382 2381 0 11:25 ? 00:00:00 python /usr/bin/hp-systray --force-startup
joao 2673 2402 0 11:31 pts/0 00:00:00 grep systray

$ sudo kill 2380 2381 2382

$ sudo ps -ef | grep systray
joao 2050 1956 0 11:23 ? 00:00:00 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystray.so 6 20971559 systray Notification Area Area where notification icons appear
joao 2792 2402 0 11:32 pts/0 00:00:00 grep systray

Launch Xsane. Tried to scan from Flatbed. No problem. And then using ADF. It loads first adf sheet and then aborts with connection error, Xsane halts.

Edited bb_ledm.c, common.h and hpmudi.h, make and sudo make install as requested. Run hp-scan --adf, same issue.

/var/log/messages:

Oct 4 11:58:55 eeeboxpc python: hp-scan[10898]: warning: No destinations specified. Adding 'file' destination by default.
Oct 4 11:58:59 eeeboxpc python: hp-scan[10898]: warning: File destination enabled with no output file specified.
Oct 4 11:58:59 eeeboxpc python: hp-scan[10898]: warning: Defaulting to '/home/joao/hpscan001.pdf'.

/var/log/syslog:

Oct 4 11:58:55 eeeboxpc python: hp-scan[10898]: warning: No destinations specified. Adding 'file' destination by default.
Oct 4 11:58:58 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 11:58:59 eeeboxpc python: hp-scan[10898]: warning: File destination enabled with no output file specified.
Oct 4 11:58:59 eeeboxpc python: hp-scan[10898]: warning: Defaulting to '/home/joao/hpscan001.pdf'.
Oct 4 11:58:59 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 11:59:00 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 11:59:01 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 11:59:02 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 11:59:03 eeeboxpc python: scan/sane/http.c 344: invalid http_status=404
Oct 4 11:59:03 eeeboxpc python: scan/sane/http.c 348: dumping len=259
Oct 4 11:59:04 eeeboxpc python: io/hpmud/jd.c 624: timeout read_channel sec=1 hp:/net/Officejet_7500_E910?zc=HPA9B9D1
Oct 4 11:59:04 eeeboxpc python: scan/sane/http.c 188: timeout reading data sec_timeout=1
Oct 4 11:59:05 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 11:59:06 eeeboxpc python: hp-scan[10898]: error: SANE: Error during device I/O ...

Read more...

Revision history for this message
João Sousa (jotapesse) wrote :
Download full text (6.4 KiB)

Please note that the above was on a network connection.

Out of curiosity I also tried to scan while USB connected (connected simultaneously with network) It also fails but with a slightly different behaviour: first adf sheet is loaded and then hp-scan --adf halts without any error. I have to manually stop it. I also noticed that while USB connected a Fax device is available through device manager, which was not while network connected.

$ hp-scan --adf

HP Linux Imaging and Printing System (ver. 3.11.10)
Scan Utility ver. 2.2

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

-----------------
| SELECT DEVICE |
-----------------

  Num Scan device URI
  -------- ----------------------------------------------------
  0 hpaio:/net/Officejet_7500_E910?zc=HPA9B9D1
  1 hpaio:/usb/Officejet_7500_E910?serial=MY16H210P105JB

Enter number 0...1 for device (q=quit) ?1
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/Officejet_7500_E910?serial=MY16H210P105JB
Opening connection to device...

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (215.900009mm, 355.600006mm)
  Width: 215.900009mm
  Height: 355.600006mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PDF for ADF mode.
warning: Defaulting to '/home/joao/hpscan001.pdf'.

Warming up...

Page 1: Scanning...
^Z
[1]+ Stopped hp-scan --adf

/var/log/messages:

Oct 4 12:32:15 eeeboxpc python: hp-scan[2456]: warning: No destinations specified. Adding 'file' destination by default.
Oct 4 12:32:18 eeeboxpc python: hp-scan[2456]: warning: File destination enabled with no output file specified.
Oct 4 12:32:18 eeeboxpc python: hp-scan[2456]: warning: Defaulting to '/home/joao/hpscan001.pdf'.

/var/log/syslog:

Oct 4 12:32:15 eeeboxpc python: hp-scan[2456]: warning: No destinations specified. Adding 'file' destination by default.
Oct 4 12:32:18 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 12:32:18 eeeboxpc python: hp-scan[2456]: warning: File destination enabled with no output file specified.
Oct 4 12:32:18 eeeboxpc python: hp-scan[2456]: warning: Defaulting to '/home/joao/hpscan001.pdf'.
Oct 4 12:32:18 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 12:32:19 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 12:32:19 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 12:32:19 eeeboxpc python: io/hpmud/hpmud.c 214: io/hpmud/hpmud.c: service_to_channel(): sn=HP-LEDM-SCAN
Oct 4 12:32:19 eeeboxpc python: scan/sane/http.c 344: invalid http_status=404
Oct 4 12:32:19 eeeboxpc python: scan/sane/http.c 348: dumping len=259
Oct 4 ...

Read more...

Revision history for this message
João Sousa (jotapesse) wrote :

Do you require any more help or feedback? Please feel free to ask, I'll gladly help. Thank you.

João Sousa (jotapesse)
Changed in hplip:
status: Fix Released → Confirmed
João Sousa (jotapesse)
Changed in hplip:
status: Confirmed → New
Revision history for this message
Sarbeswar Meher (sarbeswar-meher) wrote :

Please upgrade printer firmware from www.hp.com. Please download and flash latest firmware in the printer. After that you can scan using ADF.

Revision history for this message
João Sousa (jotapesse) wrote :

I already had upgraded firmware before. Installed firmware is version EMP1FN1126AR. Product update trough printer menus does not find any product update available.

I went to www.hp.com support page ( http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-89910-4&cc=uk&dlc=en&lc=en&os=228&product=4083652&sw_lang= ) and the same version is available: EMP1FN1126AR (2011-07-25).

So I guess the firmware installed is the latest. The problem persists. Please help.

Revision history for this message
João Sousa (jotapesse) wrote :

Can you replicate this problem? Do you need any more debugging? Please help.

Revision history for this message
João Sousa (jotapesse) wrote :

I recently upgraded hplip (from manual build as stated before) from Debian testing repository (It finally made it there) and for some reason it now works without any error. Something was not correctly upgraded on my previous installs.

So I'm happy to say that it's now solved! Thank you for all the work! :)

As a side note, after scanning successfully all the ADF pages, I had an error converting them to a PDF since reportlab was not installed. I easily solved by installing python-reportlab. Shouldn't python-reportlab be instaled as a dependency or at least detected before scanning and offering to scan without PDF output?

Changed in hplip:
status: New → Fix Released
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.