Officejet 6110 will not scan (device busy)

Asked by Michael S.

I have HPLIP 2.7.12 installed on Ubuntu 7.10. The hp-setup appeared to work fine and I can print with no problems, but I cannot scan.

hp-check doesn't indicate any problems (see listing below)

I've attempted the other fixes that I've found on this site - editing the SANE hp.conf file and reinstalling HPLIP - and neither worked.

Note that hp-scan reports "Error during device I/O" after a long pause. GIMP, on the other hand, reports "device busy" relatively quickly and then the "error during device I/O" after a long pause.

Sincerely,

Michael

-----------------------------------------------------------------------------------------------------------------------------

user@desktop:~/hplip-2.7.12$ hp-scan -n -o temp.jpg

HP Linux Imaging and Printing System (ver. 2.7.12)
Scan Utility ver. 0.5

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.

Using device hpaio:/usb/OfficeJet_6100_Series?serial=MY388H78982R
Opening connection to device...
error: Error during device I/O

----------------------------------------------------------------------------------------

"hp-check -t" gives:

user@desktop:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.7.12)
Dependency/Version Check Utility ver. 12.2

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.

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Distribution:
ubuntu 7.10

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.1 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.7 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.3.2

Checking for Reportlab...
OK, version >= 2.0

----------------
| DEPENDENCIES |
----------------

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
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 - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
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 2.7.12 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# 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.7.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.7.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
foomatic=/usr/share/foomatic

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-xml-install=yes
foomatic-ppd-install=no
internal-tag=2.7.12.10

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- ------------------------
  hp:/usb/OfficeJet_6100_Series?se HP OfficeJet 6100 Series
  rial=MY388H78982R

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

OfficeJet_6100
--------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/OfficeJet_6100_Series?serial=MY388H78982R
PPD: /etc/cups/ppd/OfficeJet_6100.ppd
PPD Description: HP OfficeJet 6100 Foomatic/hpijs (recommended)
Printer status: printer OfficeJet_6100 is idle. enabled since Wed 23 Jan 2008 09:20:18 PM EST
Communication status: Good

OfficeJet_6100_fax
------------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/usb/OfficeJet_6100_Series?serial=MY388H78982R
PPD: /etc/cups/ppd/OfficeJet_6100_fax.ppd
PPD Description: HP Fax
Printer status: printer OfficeJet_6100_fax is idle. enabled since Wed 23 Jan 2008 09:20:21 PM EST
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/OfficeJet_6100_Series?serial=MY388H78982R' is a Hewlett-Packard OfficeJet_6100_Series all-in-one

---------------------
| 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...

HP Device 0x2d11 at 001:006:
    Device URI: hp:/usb/OfficeJet_6100_Series?serial=MY388H78982R
    Device node: /dev/bus/usb/001/006
    Mode: 0666

-----------
| SUMMARY |
-----------

No errors or warnings.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Michael S.
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Michael,

Please run

sudo tail -f /var/log/messages

and then in another terminal run

xsane, and try to scan.

then post the output from the tail -f /var/log/messages.

Thanks!

Aaron

Revision history for this message
Michael S. (green48) said :
#2

Aaron,

Tonight scanning worked well with no messages seen with tail -f /var/log/messages. Thank you very much for your prompt response. I've been trying to scan with this printer over the past year or so without luck and was just about to give up on HP as a viable option under Linux. I couldn't be happier now.

I will post at the end the errors from previous attempts as found in /var/log/messages in case that assists you in troubleshooting for others.

For the benefit of anyone that may stumble across this post with the same problem, I'll detail the four steps that eventually fixed the problem:

1. Installed HPLIP 2.7.12 from the self-extracting archive at http://hplip.sourceforge.net/downloads.html
Note that I chose the option to unplug and replug the printer instead of rebooting. Perhaps a reboot would have been the better option!

That didn't work so I followed a tip from the response to another post on this web site:

2. Modified /etc/sane.d/hp.conf by uncommenting the following two lines:
 /dev/usb/scanner0
   option connect-device

That didn't work so I followed a second tip from the response to another post on this web site:

3. Manually removed and reinstalled HPLIP with the following commands executed in the source directory:
sudo make uninstall
sudo rm -rf /usr/share/hplip
sudo apt-get remove hplip
./install.py

That didn't work so I posted a question to this web site.

4. Rebooted the system to provide more information and now scanning works great.

My earlier errors follow:

-------------------------------------------------------------------------------------------------------------------------------------------------
Jan 21 20:25:06 desktop kernel: [28836.069893] usb 1-1: new full speed USB device using uhci_hcd and address 2
Jan 21 20:25:06 desktop kernel: [28836.273496] usb 1-1: configuration #1 chosen from 1 choice
Jan 21 20:25:07 desktop kernel: [28836.431457] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2D11
Jan 21 20:25:07 desktop kernel: [28836.431862] usbcore: registered new interface driver usblp
Jan 21 20:25:07 desktop kernel: [28836.432041] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Jan 21 20:25:15 desktop kernel: [28844.838745] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: removed
Jan 21 20:25:27 desktop kooka: failed to open scan channel: scan/sane/hpaio.c 654
Jan 21 20:44:23 desktop -- MARK --
Jan 21 21:04:24 desktop -- MARK --
Jan 21 21:19:21 desktop kooka: failed to open scan channel: scan/sane/hpaio.c 654
Jan 21 21:19:59 desktop xsane: failed to open scan channel: scan/sane/hpaio.c 654
Jan 21 21:23:22 desktop python: hp-sendfax[8729]: warning: Inrecognized URI: cups-pdf:/
Jan 21 21:27:07 desktop xsane: failed to open scan channel: scan/sane/hpaio.c 654
Jan 21 21:27:19 desktop xsane: failed to open scan channel: scan/sane/hpaio.c 654
Jan 21 21:40:30 desktop kernel: [33350.563298] audit(1200969630.208:4): type=1503 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=9229 profile="/usr/sbin/cupsd"
Jan 21 21:40:30 desktop kernel: [33350.587829] audit(1200969630.208:5): type=1503 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=9232 profile="/usr/sbin/cupsd"
Jan 21 21:40:31 desktop hpijs: WARNING: black pen has low ink
Jan 21 21:40:31 desktop hpijs: STATE: marker-supply-low
Jan 21 21:42:04 desktop xsane: failed to open scan channel: scan/sane/hpaio.c 654
Jan 21 21:42:18 desktop quiteinsanegimpplugin: failed to open scan channel: scan/sane/hpaio.c 654
-------------------------------------------------------------------------------------------------------------------------------------------------

And last night, some attempts both before and after upgrading to HPLIP 2.7.12 (as evident in the log):

-------------------------------------------------------------------------------------------------------------------------------------------------
Jan 23 19:56:11 desktop kernel: [ 1057.638220] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: removed
Jan 23 19:56:35 desktop kernel: [ 1081.677240] audit(1201136195.639:4): type=1503 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=6585 profile="/usr/sbin/cupsd"
Jan 23 19:56:35 desktop kernel: [ 1081.701383] audit(1201136195.639:5): type=1503 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=6588 profile="/usr/sbin/cupsd"
Jan 23 19:56:36 desktop hpijs: WARNING: black pen has low ink
Jan 23 19:56:36 desktop hpijs: STATE: marker-supply-low
Jan 23 20:01:42 desktop python: hp-info[6841]: warning: Inrecognized URI: cups-pdf:/
Jan 23 20:19:19 desktop -- MARK --
Jan 23 20:27:58 desktop python: hplip-install[7614]: warning: A previous install of HPLIP is installed and/or running.
Jan 23 20:28:11 desktop python: hplip-install[7614]: warning: HPLIP removal failed. The previous install may have been installed using a tarball or this installer.
Jan 23 20:28:11 desktop python: hplip-install[7614]: warning: Continuing to run installer - this installation should overwrite the previous one.
Jan 23 20:31:21 desktop kernel: [ 3163.290898] usb 1-1: USB disconnect, address 3
Jan 23 20:31:25 desktop kernel: [ 3166.876004] usb 1-1: new full speed USB device using uhci_hcd and address 4
Jan 23 20:31:25 desktop kernel: [ 3167.079648] usb 1-1: configuration #1 chosen from 1 choice
Jan 23 20:31:25 desktop kernel: [ 3167.085543] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2D11
Jan 23 20:31:40 desktop kernel: [ 3181.967087] usb 1-1: USB disconnect, address 4
Jan 23 20:31:40 desktop kernel: [ 3181.967412] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: removed
Jan 23 20:31:45 desktop kernel: [ 3187.440566] usb 1-1: new full speed USB device using uhci_hcd and address 5
Jan 23 20:31:45 desktop kernel: [ 3187.644209] usb 1-1: configuration #1 chosen from 1 choice
Jan 23 20:31:45 desktop kernel: [ 3187.650105] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2D11
Jan 23 20:32:13 desktop kernel: [ 3215.140862] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: removed
Jan 23 20:34:02 desktop python: hp-check[31640]: warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
Jan 23 20:47:02 desktop kooka: failed to open scan channel: scan/sane/hpaio.c 652
Jan 23 20:47:23 desktop xsane: failed to open scan channel: scan/sane/hpaio.c 652
-------------------------------------------------------------------------------------------------------------------------------------------------