Invalid argument when scanning from OfficeJet6110
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
OS: Linux BFO-KUBUNTU 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686 athlon i686 GNU/Linux
Error: scanimage: open of device hpaio:/
-------
# hp-check
Saving output in log file: /home/bernd/
HP Linux Imaging and Printing System (ver. 3.14.10)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-13 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).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
/
(process:12415): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
-
(process:12446): Gdk-WARNING **: locale not supported by C library
(process:12446): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
---------------
| SYSTEM INFO |
---------------
Kernel: 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 GNU/Linux
Host: BFO-KUBUNTU
Proc: 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 GNU/Linux
Distribution: ubuntu 14.04
Bitness: 32 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 14.04 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.10
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/
[upgrade]
notify_upgrade = true
last_upgraded_time = 1413037195
pending_
latest_
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/usb/
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[installation]
date_time = 10/11/14 17:20:57
version = 3.14.10
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
policykit Admin-Policy-
gs Ghostscript REQUIRED 7.05 9.10 OK -
network Network-wget OPTIONAL - 1.15 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus REQUIRED - 1.6.18 OK -
cups CUPS REQUIRED 1.1 1.7.2 OK 'CUPS Scheduler is running'
(process:12562): Gdk-WARNING **: locale not supported by C library
(process:12562): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(process:12563): Gdk-WARNING **: locale not supported by C library
(process:12563): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
-------
| General Dependencies |
-------
reportlab Python-PDF-Lib OPTIONAL 2.0 3.0 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.10.4 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.19 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.6 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.10.4 OK -
cups-devel CUPS-SDK REQUIRED - 1.7.2 OK -
sane-devel SANE-SDK REQUIRED - 1.0.23 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.23 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.7.2 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-
-------
| Compile Time Dependencies |
-------
gcc gcc-Compiler REQUIRED - 4.8.2 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.14.10 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.10 OK -
hpmudext IO-Extension REQUIRED - 3.14.10 OK -
-------
| Scan Configuration |
-------
hpaio HPLIP-SANE-Backend REQUIRED - 3.14.10 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.14.10 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
device `hpaio:
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
R
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
BrotherHL5370DW
---------------
Type: Unknown
Device URI: dnssd:/
PPD: /etc/cups/
PPD Description: Brother HL-5370DW BR-Script3
Printer status: printer BrotherHL5370DW is idle. enabled since Sat 04 Oct 2014 11:22:07 PM CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
OfficeJet_6100_2
----------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP Officejet 6100 Series, hpcups 3.14.10
Printer status: printer OfficeJet_6100_2 is idle. enabled since Sat 11 Oct 2014 04:21:26 PM CEST
Communication status: Good
OfficeJet_
-------
Type: Fax
Device URI: hpfax:/
PPD: /etc/cups/
PPD Description: HP Fax hpcups
Printer status: printer OfficeJet_
Communication status: Good
--------------
| PERMISSION |
--------------
USB OfficeJet_6100_2 Required - - OK Node:'/
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-------
None
Missing Optional Dependencies
-------
None
Total Errors: 0
Total Warnings: 1
Done.
-------
# hp-scan
HP Linux Imaging and Printing System (ver. 3.14.10)
Scan Utility ver. 2.2
Copyright (c) 2001-13 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:/
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/
Opening connection to device...
error: SANE: Invalid argument (code=4)
I have an HP LaserJet 3050 & am having exactly the same scanner failure with 3.14.10 on both my Slackware AND Fedora partitions. HPLIP 3.13.8 DOES, however, work just fine! scanimage -L always correctly identifies my AIO device and printing is just fine. So just what did HP change in the last year or so to break a perfectly running piece of code?
Here is output from the command
SANE_ DEBUG_DLL= 255 SANE_DEBUG_ HPAIO=255 scanimage -T
[sanei_debug] Setting debug level of dll to 255. read_dlld: attempting to open directory `./dll.d' read_dlld: attempting to open directory `/etc/sane.d/dll.d' read_dlld: using config directory `/etc/sane.d/dll.d' read_dlld: done. read_config: reading dll.conf sane/libsane- hpaio.so. 1' sane/libsane- hpaio.so. 1' get_devices( local=0) : scan/sane/hpaio.c 357 /usb/HP_ LaserJet_ 3050?serial= 00CNBJ231125' open(/usb/ HP_LaserJet_ 3050?serial= 00CNBJ231125) : scan/sane/hpaio.c 372 scan_type=2 scansrc=2 <MFG:Hewlett- Packard; CMD:PJL, PML,MLC, POSTSCRIPT, PCLXL,PCLDL: HP P LaserJet 3050;CLS: PRINTER; DES:Hewlett- Packa LaserJet 305050EMEM: MEM=53MB; 12.4.4DL: 4d,4e,1; CMEMENT: RES=1200x1; >: scan/sane/sclpml.c 2031 usb/HP_ LaserJet_ 3050?serial= 00CNBJ231125 failed: Invalid argument
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] add_backend: adding backend `hpaio'
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib64/sane'
[dll] load: trying to load `/usr/lib64/
[dll] load: dlopen()ing `/usr/lib64/
[dll] init: initializing backend `hpaio'
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 338
[dll] init: backend `hpaio' is version 1.0.0
[hpaio] sane_hpaio_
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `hpaio:
[hpaio] sane_hpaio_
[hpaio] device ID string=
[hpaio] Model = : scan/sane/sclpml.c 2036
[hpaio] Scanner type=SCL: scan/sane/sclpml.c 1954
[hpaio] SclSendCommand: size=2 bytes_wrote=0: scan/sane/scl.c 199
[hpaio] [0000] 1B 45 .E
scanimage: open of device hpaio:/
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 351
[dll] sane_exit: finished