HP 4380 scan doen't work

Asked by wattrelos

HI,

  With the HPLIP2.7.10 Release my 4380 printer
  works and is supported but not my scan (with usb and wifi). I've this
  message of HP device manager :/*"Erreur d'ouverture du périphérique
  'hpaio:/net/Phtosmart_C4380_series?ip=192.168.0.11' Argument invalide.*/

  (bad)translate In english : open error : hpaio:/...... invalid argument

  Here is scanimage -L with debug

  /boris@TiNar:~$ scanimage -L/
  /[sanei_debug] Setting debug level of dll to 128./
  /[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.18/
  /[dll] sane_init: reading dll.conf/
  /[dll] add_backend: adding backend `hp_rts88xx'/
  /[dll] sane_get_devices/
  /[dll] load: searching backend `hp_rts88xx' in `/usr/local/lib/sane'/
  /[dll] load: trying to load `/usr/local/lib/sane/libsane-hp_rts88xx.so.1'/
  /[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-hp_rts88xx.so.1'/
  /[dll] init: initializing backend `hp_rts88xx'/
  /[dll] sane_get_devices: found 0 devices/

  /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)./
  /[dll] sane_exit: exiting/
  /[dll] sane_exit: finished/

  Thanks for your help
  Sorry for my bad english
  Boris Wattrelos (Paris)

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

  hp-check[10449]: info: :
  Initializing. Please wait...
  Distributor ID: Ubuntu

  Release: 7.10

  l’ordonnanceur tourne

  1.3.2

  Linux TiNar 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

  hp-check[10449]: info: :
  hp-check[10449]: info: :---------------
  hp-check[10449]: info: :| SYSTEM INFO |
  hp-check[10449]: info: :---------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :Basic system information:
  hp-check[10449]: info: :Linux TiNar 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
  hp-check[10449]: info: :
  hp-check[10449]: info: :Distribution:
  hp-check[10449]: info: :ubuntu 7.10
  hp-check[10449]: info: :
  HPOJ running?
  hp-check[10449]: info: :No, HPOJ is not running (OK).
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking Python version...
  hp-check[10449]: info: :OK, version 2.5.1 installed
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking PyQt version...
  hp-check[10449]: info: :OK, version 3.17 installed.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking SIP version...
  hp-check[10449]: info: :OK, Version 4.7 installed
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for CUPS...
  hp-check[10449]: info: :Status: l’ordonnanceur tourne
  hp-check[10449]: info: :Version: 1.3.2
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for Reportlab...
  hp-check[10449]: info: :OK, version = 2.0
  hp-check[10449]: info: :
  hp-check[10449]: info: :----------------
  hp-check[10449]: info: :| DEPENDENCIES |
  hp-check[10449]: info: :----------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: cups - Common Unix Printing System...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: libjpeg - JPEG library...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: libpthread - POSIX threads library...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: libtool - Library building support services...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: libusb - USB library...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: PyQt - Qt interface for Python...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: python-devel - Python development files...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: Reportlab - PDF library for Python...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: SANE - Scanning library...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: SANE - Scanning library development files...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: scanimage - Shell scanning program...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :
  hp-check[10449]: info: :----------------------
  hp-check[10449]: info: :| HPLIP INSTALLATION |
  hp-check[10449]: info: :----------------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :
  hp-check[10449]: info: :Currently installed HPLIP version...
  hp-check[10449]: info: :HPLIP 2.7.10 currently installed in '/usr/share/hplip'.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Current contents of '/etc/hp/hplip.conf' file:
  hp-check[10449]: 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.7.10

  [dirs]
  home=/usr/share/hplip
  run=/var/run
  ppd=/usr/share/ppd/HP
  ppdbase=/usr/share/ppd
  doc=/usr/share/doc/hplip-2.7.10
  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=yes
  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.10.11

  hp-check[10449]: info: :
  hp-check[10449]: info: :----------------------
  hp-check[10449]: info: :| INSTALLED PRINTERS |
  hp-check[10449]: info: :----------------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :
  warning: No queues found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :----------------------
  hp-check[10449]: info: :| SANE CONFIGURATION |
  hp-check[10449]: info: :----------------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
  hp-check[10449]: info: :OK, found. SANE backend 'hpaio' is properly set up.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking output of 'scanimage -L'...
  hp-check[10449]: 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[10449]: info: :
  hp-check[10449]: info: :---------------------
  hp-check[10449]: info: :| PYTHON EXTENSIONS |
  hp-check[10449]: info: :---------------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking 'cupsext' CUPS extension...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking 'pcardext' Photocard extension...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking 'hpmudext' I/O extension...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking 'scanext' SANE scanning extension...
  hp-check[10449]: info: :OK, found.
  hp-check[10449]: info: :
  hp-check[10449]: info: :
  hp-check[10449]: info: :-----------------
  hp-check[10449]: info: :| USB I/O SETUP |
  hp-check[10449]: info: :-----------------
  hp-check[10449]: info: :
  hp-check[10449]: info: :
  hp-check[10449]: info: :Checking for permissions of USB attached printers...
  hp-check[10449]: info: :
  hp-check[10449]: info: :-----------
  hp-check[10449]: info: :| SUMMARY |
  hp-check[10449]: info: :-----------
  hp-check[10449]: info: :
  hp-check[10449]: info: :No errors or warnings.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
wattrelos (boris-wattrelos-yahoo) said :
#1

boris@TiNar:~$ snmpwalk -Os -c public -v 1 192.168.0.11 1.3.6.1.4.1.11.2.3.9.1.1.7.0
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:CN774C51240509;S:038080C484001021002c1850000c2880035;J: ;Z:0102,0503dea9016449,0600,0c0,0e00,0f20;"

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

Everything looks good but I'm not seeing a configured printer, what happens if you run

sudo hp-setup

and follow the printer setup wizard? are you able to print/scan then?

Aaron

Revision history for this message
wattrelos (boris-wattrelos-yahoo) said :
#3

hp-setup works good and it create printer URI hp:/net/Photosmart_C4380_series?ip=192.168.0.11

I can print but not scan (with san and hp device manager)

thank,

Boris

Revision history for this message
wattrelos (boris-wattrelos-yahoo) said :
#4

HP Linux Imaging and Printing System (ver. 2.7.10)
Printer/Fax Setup Utility ver. 7.0

When i run hp-setup, all works good but i've this message in my console :

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.

X Error: BadDevice, invalid or uninitialized input device 158
  Major opcode: 146
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 158
  Major opcode: 146
  Minor opcode: 3
  Resource id: 0x0
Failed to open device

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

Great!

This error:
X Error: BadDevice, invalid or uninitialized input device 158
  Major opcode: 146
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 158
  Major opcode: 146
  Minor opcode: 3
  Resource id: 0x0
Failed to open device

Is not actually an error with HPLIP but with X Server. It wont hurt anything, but if you want to fix it you could try searching for others that have had this problem--there is instructions on how to fix it.

All the best,

A

Revision history for this message
Paul Dessart (paul-dessart) said :
#6

The HPAIO error is due to the missing package libsane-hpaio1

I would advise to proceed as follow:

look in your distribution and install it or go the the sane Project, download latest build and install HPAIO from the sane project download

Hope this helps, Had the issue on different Mandriva [2009/2010.0/2010.1] and solution is really easy.

Can you help with this problem?

Provide an answer of your own, or ask wattrelos for more information if necessary.

To post a message you must log in.