Scanning over network from HP Color LaserJet 2840 gives "Error during device I/O"
I have HP Color LaserJet 2840 attached to my computer via network. When I try to scan, I get "Error during device I/O", but I cannot understand why. Printing works fine.
I'm using Debian GNU/Linux unstable with HPLIP version 2.8.2(-1)
How can I get more detailed reason why scanning fails, or even better, how do I get it to work?
Attached is first SANE debugging stuff, and below also hp-check -t run.
$ LANG="" SANE_DEBUG_DLL=128 scanimage
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.19
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/
[dll] load: dlopen()ing `/usr/lib/
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `hpaio:
scanimage: open of device hpaio:/
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished
$ LANG="" hp-check -t
HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0
Copyright (c) 2001-7 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.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling
the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait...
warning: Invalid ppd_dir value: None
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux michelangelo 2.6.24-1-amd64 #1 SMP Fri Apr 18 23:08:22 UTC 2008 x86_64 GNU/Linux
Distribution:
debian unstable
HPOJ running?
No, HPOJ is not running (OK).
Checking Python version...
OK, version 2.5.2 installed
Checking PyQt version...
OK, version 3.17 installed.
Checking SIP version...
error: SIP not installed or version not found.
Checking for CUPS...
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)
-------
| COMPILE AND RUNTIME DEPENDENCIES |
-------
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: cups - Common Unix Printing System...
OK, found.
Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.
Checking for dependency: cups-devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.
Checking for dependency: PyQt - Qt interface for Python...
OK, found.
Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
-------
| HPLIP INSTALLATION |
-------
Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207
[hplip]
version=2.8.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-
foomatic-
foomatic-
internal-
-------
| DISCOVERED PARALLEL DEVICES |
-------
No devices found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP_Color_
-------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/
PPD: /etc/cups/
PPD Description: HP Color LaserJet 2800 Series Postscript (recommended)
Printer status: printer HP_Color_
Communication status: Good
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.
>>>> My comment: hpaio is included in /etc/sane.
Checking output of 'scanimage -L'...
device `hpaio:
-------
| PYTHON EXTENSIONS |
-------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
-----------
| SUMMARY |
-----------
error: 8 errors and/or warnings.
Please refer to the installation instructions at:
http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Tommi Vainikainen
- Solved:
- Last query:
- Last reply: