Scanning "failed to open scan channel:" Device busy
Having read articles #30449 and #56866 I'm having a feeling that this may refer to same problem.
Using an HP OfficeJet R45. Works fine to print on, but fails with scanning.
Downloaded latest HPLIP, compiled and installed, same error.
Running system Ubuntu 8.04.
Any suggestions?
/Carl Wagner
=======
First the output of hp-info:
Any suggestions?
/Carl Wagner
=======
Initializing. Please wait...
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux anna 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64 GNU/Linux
Distribution:
ubuntu 8.04
HPOJ running?
No, HPOJ is not running (OK).
Checking Python version...
OK, version 2.5.2 installed
Checking PyQt 4.x version...
OK, version 4.3.3 installed.
Checking for CUPS...
Status: scheduler is running
Version: 1.3.7
error_log is set to level: debug
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4
-------
| 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...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
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...
OK, found.
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...
OK, found.
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 4- Qt interface for Python (for Qt version 4.x)...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
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...
OK, found.
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 3.9.2 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
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=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-
foomatic-
foomatic-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
Current contents of '~/.hplip/
[last_used]
device_uri = hp:/par/
[fax]
email_address =
voice_phone =
[installation]
version = 3.9.2.49
date_time = 03/23/09 03:15:59
-------
| DISCOVERED PARALLEL DEVICES |
-------
Device URI Model
-----
hp:/par/
v/parport0
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HPOJR45
-------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/par/
PPD: /etc/cups/
PPD Description: HP Officejet r45 hpijs, hpijs 3.9.2
Printer status: printer HPOJR45 is idle. enabled since Mon 23 Mar 2009 04:52:03 AM CET
Communication status: Good
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
OK, found. SANE backend 'hpaio' is properly set up.
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.
=======
$ scanimage -L
device `hpaio:
$ scanimage -L
After having run scanimage the following message shows up: (as well as for xsane)
scanimage: failed to open scan channel: scan/sane/hpaio.c 657
$ xsane
xsane: failed to open scan channel: scan/sane/hpaio.c 657
=======
/etc/cups/
# Printer configuration file for CUPS v1.3.7
# Written by cupsd on 2009-03-23 04:52
<Printer HPOJR45>
Info OfficeJet R45 All-IN-ONE
Location At main fileserver Bromma
DeviceURI hp:/par/
State Idle
StateTime 1237780323
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
=======
/etc/cups/
*PPD-Adobe: "4.3"
*% PPD file for HP Officejet r45 hpijs with CUPS.
*% Created by the CUPS PPD Compiler v1.2.0.
*% (c) 2004-2008 Copyright Hewlett-Packard Development Company, LP
*FormatVersion: "4.3"
*FileVersion: "hpijs 3.9.2"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "hp-officejet_
*Product: "(HP Officejet r45 All-in-one Printer)"
*Manufacturer: "HP"
*ModelName: "HP Officejet r45 hpijs"
*ShortNickName: "HP Officejet r45 hpijs"
*NickName: "HP Officejet r45 hpijs, hpijs 3.9.2"
*PSVersion: "(3010.000) 705"
*PSVersion: "(3010.000) 707"
*PSVersion: "(3010.000) 815"
*PSVersion: "(3010.000) 853"
*LanguageLevel: "3"
*ColorDevice: True
*DefaultColorSpace: RGB
*FileSystem: False
*Throughput: "1"
*LandscapeOrien
*% Driver-defined attributes...
*DefaultResolution: 600dpi*
IDTHPOINTS=0 -dD&&
EVICEHEIGHTPOIN
*End
*FoomaticIDs: "HP-DeskJet_810C hpijs"
...
=======
The printer used is an R45, but the one in setup is an R40. This probably wont matter since the only differences I have found is that one of them (R40) is american and the other (R45) is European.
=======
/var/log/messages says the same as hp-check.
For the convenience I set (group)permissions friendly while debugging.
But scanning remains unavailable.
/Carl
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Joppe for more information if necessary.