Can't scan with Photosmart C4380

Asked by Vadi

Failed to open device `hpaio:/net/Photosmart_C4380_series?ip=192.168.1.105`: Invalid argument

This is what a error dialog says when I try to scan using hp-toolbox, or using the command "xsane hpaio:/net/Photosmart_C4380_series?ip=192.168.1.105"

I get the same result when the device is connected with USB, just a different URI.

"net" and "hpaio" are enabled in /etc/sane.d/dll.conf

I have installed everything from the latest hplip from the website, 2.8.2, on my Ubuntu 7.10 laptop.

"scanimage -L" doesn't find anything. "sane-find-scanner" only finds my laptop's fingerprint scanner and built-in webcamera.

The printer pings just fine, and "snmpwalk -Os -c public -v 1 192.168.1.105 1.3.6.1.4.1.11.2.3.9.1.1.7.0" returns:
enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:HP;MDL:Photosmart C4380 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:CC281B;SN:CN7AJD70YF051Q;S:038080C484001021002c1800057c288005d;J: ;Z:0102,0503cbe9016f89,0600,0c0,0e00,0f00;

hp-check.log:

hp-check[7654]: info: :
Initializing. Please wait...
Ubuntu

7.10

scheduler is running

1.3.2

Linux edmund 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

hp-check[7654]: info: :
hp-check[7654]: info: :---------------
hp-check[7654]: info: :| SYSTEM INFO |
hp-check[7654]: info: :---------------
hp-check[7654]: info: :
hp-check[7654]: info: :Basic system information:
hp-check[7654]: info: :Linux edmund 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

hp-check[7654]: info: :
hp-check[7654]: info: :Distribution:
hp-check[7654]: info: :ubuntu 7.10
hp-check[7654]: info: :
HPOJ running?
hp-check[7654]: info: :No, HPOJ is not running (OK).
hp-check[7654]: info: :
hp-check[7654]: info: :Checking Python version...
hp-check[7654]: info: :OK, version 2.5.1 installed
hp-check[7654]: info: :
hp-check[7654]: info: :Checking PyQt version...
hp-check[7654]: info: :OK, version 3.17 installed.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking SIP version...
hp-check[7654]: info: :OK, Version 4.7 installed
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for CUPS...
hp-check[7654]: info: :Status: scheduler is running
hp-check[7654]: info: :Version: 1.3.2
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :------------------------------------
hp-check[7654]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[7654]: info: :------------------------------------
hp-check[7654]: info: :
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).
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: libtool - Library building support services...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: libusb - USB library...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: python-devel - Python development files...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: SANE - Scanning library...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :----------------------
hp-check[7654]: info: :| HPLIP INSTALLATION |
hp-check[7654]: info: :----------------------
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :Currently installed HPLIP version...
hp-check[7654]: info: :HPLIP 2.8.2 currently installed in '/usr/share/hplip'.
hp-check[7654]: info: :
hp-check[7654]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[7654]: info: :# 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/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.8.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp/

# 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-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.2.10

hp-check[7654]: info: :
hp-check[7654]: info: :--------------------------
hp-check[7654]: info: :| DISCOVERED USB DEVICES |
hp-check[7654]: info: :--------------------------
hp-check[7654]: info: :
hp-check[7654]: info: :No devices found.
hp-check[7654]: info: :
hp-check[7654]: info: :---------------------------------
hp-check[7654]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[7654]: info: :---------------------------------
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :Photosmart_C4380
hp-check[7654]: info: :----------------
hp-check[7654]: info: :Type: Printer
hp-check[7654]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[7654]: info: :Device URI: hp:/net/Photosmart_C4380_series?ip=192.168.1.105
hp-check[7654]: info: :PPD: /etc/cups/ppd/Photosmart_C4380.ppd
hp-check[7654]: info: :PPD Description: HP PhotoSmart C4380 Foomatic/hpijs, hpijs 2.8.2
hp-check[7654]: info: :Printer status: printer Photosmart_C4380 is idle. enabled since 2008-02-28T07:34:37 CET

hp-check[7654]: info: :Communication status: Good
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :----------------------
hp-check[7654]: info: :| SANE CONFIGURATION |
hp-check[7654]: info: :----------------------
hp-check[7654]: info: :
hp-check[7654]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[7654]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking output of 'scanimage -L'...
hp-check[7654]: info: :

No scanners were identified. If you were expecting something different,

check that the scanner is plugged in, turned on and detected by the

sane-find-scanner tool (if appropriate). Please read the documentation

which came with this software (README, FAQ, manpages).

hp-check[7654]: info: :
hp-check[7654]: info: :---------------------
hp-check[7654]: info: :| PYTHON EXTENSIONS |
hp-check[7654]: info: :---------------------
hp-check[7654]: info: :
hp-check[7654]: info: :Checking 'cupsext' CUPS extension...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking 'pcardext' Photocard extension...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking 'hpmudext' I/O extension...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :Checking 'scanext' SANE scanning extension...
hp-check[7654]: info: :OK, found.
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :-----------------
hp-check[7654]: info: :| USB I/O SETUP |
hp-check[7654]: info: :-----------------
hp-check[7654]: info: :
hp-check[7654]: info: :
hp-check[7654]: info: :Checking for permissions of USB attached printers...
hp-check[7654]: info: :
hp-check[7654]: info: :-----------
hp-check[7654]: info: :| SUMMARY |
hp-check[7654]: info: :-----------
hp-check[7654]: info: :
hp-check[7654]: info: :No errors or warnings.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Vadi
Solved:
Last query:
Last reply:
Revision history for this message
Vadi (vidar314) said :
#1

When I said I installed everything from the latest hplip, what I meant is that I chose the default automatic install option

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

You are using this device over wifi? and you configured the wifi settings with a windows system?

Thanks.

A

Revision history for this message
Vadi (vidar314) said :
#3

That is correct, and it worked as expected

V

Revision history for this message
Vadi (vidar314) said :
#4

As I said, though, I get the same error message when I use it over a USB cable

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Vadi,

Sorry for the confusion, the Photosmart C4380 is not currently supported, although it will be in the next release of HPLIP.

Aaron

Revision history for this message
Vadi (vidar314) said :
#6

OK, I guess I'll just wait, then. Is there anyone you can talk to about correcting the information on the hplip website, because the device list there says scanning is supported?

Also, are you in a position to estimate when this next release can be expected?

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#7

Vadi,

Ack sorry. I got a little more confused than usual. There is a model upcoming that is similiar to the Photosmart C4380. The Phtoosmart C4380 has been support as of HPLIP 2.7.10.

I'm gonna do some quick testing with this and see what I come up with it.

Sorry about the confusion.

Aaron

Revision history for this message
Vadi (vidar314) said :
#8

I have now tried the scanner from 2 desktop computers, both with standard Ubuntu 7.10 installs (hplip 2.7.12), and these work just fine.

No luck yet on my laptop, though...

Revision history for this message
Vadi (vidar314) said :
#9

Oh, yeah, I forgot to mention that neither desktop has enabled "hpaio" in /etc/sane.d/dll.conf, which I thought was required. Changing the laptop config accordingly didn't do anything, though...

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

I've verified that scanning is working. So it must be some sort of problem on the laptop.

Your hp-check looks good, and if you can print there is communication.

Try running

sudo tail -f /var/log/syslog

then try scanning with xsane and post anything in the /var/log/syslog.

This may give us a better error to narrow down the problem.

Thanks!

Aaron

Revision history for this message
Vadi (vidar314) said :
#11

OK.
Hmm, there is no output to /var/log/syslog

However, having followed instructions on the hplip website (duh!), I ran "export SANE_DEBUG_DLL=128" and then tried the xsane command. This produced the following output:

[...]
[dll] add_backend: adding backend `hpaio'
[dll] load: searching backend `hpaio' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-hpaio.so.1'
[dll] load: couldn't open `/usr/local/lib/sane/libsane-hpaio.so.1' (No such file or directory)
[dll] load: couldn't find backend `hpaio' (No such file or directory)
[dll] sane_exit: exiting
[...]

A quick "locate hpaio" shows that the file is not in /usr/local/lib/sane, but /usr/lib/sane.

Revision history for this message
Vadi (vidar314) said :
#12

OK, got it.

The problem was that I a couple of weeks a go compiled a cvs version of sane-backends and installed it to /usr/local, and then forgot about it. It seems like sane checks there first for any backends it needs, and, if any are found, requires any others to be located there as well. Since the hpaio backend is installed to /usr/lib, it exited.

My bad, I guess. I want to thank you for you time, though, you've been really helpful, and it is much appreciated :)

Cheers
V