Device communication error 5012 it's a HP 1005

Asked by maximi89

I get ever the same error, if i run the setup, i can print for a while, but later i get the same error again, device communication error 5012... i just download the new version but i still getting the same problem... it's a HP 1005

I run the install the Printer appear... later when i shutdown and start again or i poweroff the printer... and poweron, this get me an error DEVICE COMMUNITACION ERROR... 5012

and i cant make nothing... or try to run again the hp-setup or unavailable to print anything... this happen using the old hplip-2.8 or the 3.9

Question information

Revision history for this message
maximi89 (maximi89) said :
#1

I'm using Debian GNU/Linux Testing, 2.6.26-1

Revision history for this message
maximi89 (maximi89) said :
#2

maximi89@Maximiliano:~$ hp-toolbox
error: Unable to lock /home/maximi89/.hplip/hp-toolbox.lock. Is hp-toolbox already running?
maximi89@Maximiliano:~$ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.9.2)
HP Device Manager ver. 15.0

Copyright (c) 2001-9 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.

HP Linux Imaging and Printing System (ver. 3.9.2)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 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.

error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
error: Device not found

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

maximi89@Maximiliano:~$ lsusb
Bus 002 Device 011: ID 03f0:3d17 Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 007: ID 15d9:0a33
Bus 001 Device 006: ID 0d62:001c Darfon Electronics Corp.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 011: ID 03f0:3d17 Hewlett-Packard
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x3d17
  bcdDevice 1.00
  iManufacturer 1
  iProduct 2
  iSerial 3
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 98mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

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

maximi89@Maximiliano:~$ cat /etc/udev/rules.d/55-hpmud.rules
# HPLIP udev rules file for HP printer and all-in-one products.

ACTION!="add", GOTO="hpmud_rules_end"
#SUBSYSTEM=="ppdev", OWNER="lp", GROUP="lp", MODE="0660"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="pid_test"
SUBSYSTEM!="usb_device", GOTO="hpmud_rules_end"

LABEL="pid_test"

# Check for AiO products (0x03f0xx11).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"

# Check for Photosmart products without wildcard since cameras and scanners also used (0x03f0xx02).
# The xx02 pid has been retired so this explicit list should not change.
# photosmart_d2300_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c302", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_100
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3802", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_1115
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3402", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_1215
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3202", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_1218
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3302", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_130
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3902", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_1315
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3602", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_140_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1002", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_230
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3502", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_240_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1102", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_320_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1202", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_330_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1602", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_370_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1302", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_380_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1702", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_420_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1502", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_470_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1802", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7150
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3a02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3b02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7200_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b002", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7345
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2002", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7350
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3c02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7400_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b802", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7550
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="3e02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7600_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b202", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7700_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b402", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7800_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c002", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_7900_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="b602", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_8000_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c102", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_8100_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="ba02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_8200_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c202", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_8400_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bb02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_8700_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bc02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a310_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1d02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a320_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1e02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a430_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1902", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a440_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1f02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a510_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1a02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a520_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2602", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a530_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2b02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a610_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1b02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a620_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2702", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a630_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2c02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a710_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1c02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_a820_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2902", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_d5060_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c802", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_d5100_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c402", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_d6100_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c502", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_d7100_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c602", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_d7300_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="c702", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_pro_b8300_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="be02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_b8800_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="d002", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# photosmart_pro_b9100_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="bd02", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# Photosmart_B8500_series
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="d102", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"

# Check for Business Inkjet products (0x03f0xx12).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??12", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# Check for Deskjet products (0x03f0xx04).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??04", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"
# Check for LaserJet products (0x03f0xx17).
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"

# If sane-bankends is installed add hpaio backend support to dll.conf if needed.
ENV{sane_hpaio}=="yes", RUN+="/bin/sh -c 'grep -q ^#hpaio /etc/sane.d/dll.conf;if [ $$? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ /etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $$? -ne 0 ];then echo hpaio >>/etc/sane.d/dll.conf;fi;fi'"

LABEL="hpmud_rules_end"
---------------------------------------

maximi89@Maximiliano:~$ groups
maximi89 adm dialout fax cdrom audio dip video plugdev netdev lpadmin powerdev scanner fuse

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

maximi89@Maximiliano:~$ cat /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:maximi89,logcheck
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:maximi89
fax:x:21:maximi89
voice:x:22:
cdrom:x:24:maximi89,vdr
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:maximi89,pulse
dip:x:30:maximi89
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:maximi89,vdr
sasl:x:45:
plugdev:x:46:maximi89
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
crontab:x:101:
Debian-exim:x:102:
ssh:x:103:
messagebus:x:104:
avahi:x:105:
netdev:x:106:maximi89
lpadmin:x:107:maximi89
haldaemon:x:108:
powerdev:x:109:maximi89
scanner:x:110:maximi89,saned
gdm:x:111:
ssl-cert:x:112:
stb-admin:x:113:
libuuid:x:114:
ntp:x:115:
sambashare:x:116:
vde2-net:x:117:
conquest:x:118:
fuse:x:119:maximi89
maximi89:x:1000:
dirmngr:x:120:
saned:x:121:
logcheck:x:122:
winbindd_priv:x:123:
vdr:x:124:
vboxusers:x:125:
nagios:x:126:
pulse:x:127:
pulse-access:x:128:
pulse-rt:x:129:
mpdscribble:x:130:
---------------------------------------------

maximi89@Maximiliano:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 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).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux Maximiliano 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0

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

Checking Python version...
OK, version 2.5.4 installed

Checking PyQt 4.x version...
OK, version 4.4.2 installed.

Checking for CUPS...
Status: el programa de planificación de tareas se está ejecutando
Version: 1.3.9
warning: /etc/cups/cupsd.conf file not found or not accessible.

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| 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' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.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-3.9.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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer =
device_uri = hp:/usb/HP_LaserJet_P1005?serial=L403C4P

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.2.49
date_time = 02/25/09 03:17:48

[settings]
systray_visible = 0

[refresh]
rate = 30
enable = true
type = 0

[polling]
enable = false
device_list =
interval = 5

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

No devices found.

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

warning: No queues found.

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

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

Checking output of 'scanimage -L'...

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

---------------------
| 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 0x3d17 at 002:011:
warning: Device URI: (Makeuri FAILED)
    Device node: /dev/bus/usb/002/011
    Mode: 0664

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

No errors or warnings.

Done.
-------------------------------------

PRE-BUILD COMMANDS
------------------

BUILD AND INSTALL
-----------------
Running './configure --with-drvdir=/usr/share/cups/drv/hp/ --with-hpppddir=/usr/share/ppd/hpijs/HP --prefix=/usr --enable-qt4 --enable-doc-build --disable-qt3 --disable-pp-build --enable-foomatic-drv-install --disable-foomatic-ppd-install --enable-network-build --enable-dbus-build --disable-hpijs-only-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'su -c "make install"'
Please wait, this may take several minutes...
Command completed successfully.

Build complete.

POST-BUILD COMMANDS
-------------------
Sending close message to hp-systray...

RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: su -c "hp-setup" (Note: If you are using a
parallel connection, you will have to restart your PC. If you are using
network/wireless, you can ignore and continue).

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) :
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:

PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.

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

[47183.077015] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
[47183.077019] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[47183.077022] usb 2-7: Product: HP LaserJet P1005
[47183.077024] usb 2-7: Manufacturer: Hewlett-Packard
[47183.077026] usb 2-7: SerialNumber: L403C4P
[47186.761343] usblp0: removed
[51046.430042] usb 2-7: USB disconnect, address 11
[51049.508076] usb 2-7: new high speed USB device using ehci_hcd and address 12
[51049.662462] usb 2-7: configuration #1 chosen from 1 choice
[51049.673663] usblp0: USB Bidirectional printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
[51049.673730] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
[51049.673733] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[51049.673736] usb 2-7: Product: HP LaserJet P1005
[51049.673739] usb 2-7: Manufacturer: Hewlett-Packard
[51049.673741] usb 2-7: SerialNumber: L403C4P
[51054.337484] usblp0: removed

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

Any idea?....

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

It doesn't look like HPLIP is detecting your printer.

Run:

/usr/lib/cups/backend/hp

and post the output.

also run

lsusb

and

su -c "/usr/lib/cups/backend/usb"

and post the output from those as well.

Thanks!

Aaron

Revision history for this message
maximi89 (maximi89) said :
#4

Hi Aaron, here we go...

maximi89@Maximiliano:~$ /usr/lib/cups/backend/hp
direct hp "Unknown" "HP Printer (HPLIP)"
maximi89@Maximiliano:~$ lsusb
Bus 002 Device 004: ID 03f0:3d17 Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0d62:001c Darfon Electronics Corp.
Bus 001 Device 003: ID 15d9:0a33
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
maximi89@Maximiliano:~$ su -c "/usr/lib/cups/backend/usb"
Contraseña:

thats all!

Revision history for this message
maximi89 (maximi89) said :
#5

It's strange, i can printer but, some times this give the error, or when i have the printer off, and i check the hp-toolbox, this give me the error 5012...

really strange, if this print, why don't recognize the dispositive? or why give that error...

Revision history for this message
maximi89 (maximi89) said :
#6

I add this... i have again with 5012... and more bad, now the colors seem to be white ajajaja

--------------------------------------------------------------------------
maximi89@Maximiliano:~/lxde-0.6$ sudo lsusb -vv
[sudo] password for maximi89:

Bus 002 Device 005: ID 03f0:3d17 Hewlett-Packard
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x3d17
  bcdDevice 1.00
  iManufacturer 1 Hewlett-Packard
  iProduct 2 HP LaserJet P1005
  iSerial 3 L403C4P
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 98mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
can't get debug descriptor: Connection timed out
Device Status: 0x0001
  Self Powered

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

Run:

hp-info -g

and post the output.

Thanks.

Aaron

Revision history for this message
maximi89 (maximi89) said :
#8

Here we go, with my user and with root....

------------------------------------------------------------------------------------
maximi89@Maximiliano:~/lxde-0.6$ hp-info -g

HP Linux Imaging and Printing System (ver. 3.9.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-9 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.

hp-info[13857]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-info[13857]: debug: Mode=1
hp-info[13857]: debug: Cache miss: hp_laserjet_p1005
hp-info[13857]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-info[13857]: debug: Searching for section [hp_laserjet_p1005] in file /usr/share/hplip/data/models/models.dat
hp-info[13857]: debug: Found section [hp_laserjet_p1005] in file /usr/share/hplip/data/models/models.dat
hp-info[13857]: debug: {'hp:/usb/HP_LaserJet_P1005?serial=L403C4P': ['HP_LaserJet_P1005', 'HP_LaserJet_P1005_2']}
Using device: hp:/usb/HP_LaserJet_P1005?serial=L403C4P

hp-info[13857]: debug: Starting GUI loop...
hp-info[13857]: debug: Device URI: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
hp-info[13857]: debug: Printer: None
hp-info[13857]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-info[13857]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_P1005, serial=L403C4P, dev=, host=, port=1
hp-info[13857]: debug: Model/UI model: HP_LaserJet_P1005/HP LaserJet p1005
hp-info[13857]: debug: Opening device: hp:/usb/HP_LaserJet_P1005?serial=L403C4P (not for printing)
hp-info[13857]: debug: I/O mode=6
hp-info[13857]: debug: Sending event 5012 to hpssd...
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
hp-info[13857]: debug: Exception: 2 (Device not found)
error: Unable to open device hp:/usb/HP_LaserJet_P1005?serial=L403C4P.

Done.

--------------------------------------------------------------------------------------
maximi89@Maximiliano:~/lxde-0.6$ sudo hp-info -g
[sudo] password for maximi89:
warning: hp-info should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.9.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-9 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.

hp-info[13863]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-info[13863]: debug: Mode=1
hp-info[13863]: debug: Cache miss: hp_laserjet_p1005
hp-info[13863]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-info[13863]: debug: Searching for section [hp_laserjet_p1005] in file /usr/share/hplip/data/models/models.dat
hp-info[13863]: debug: Found section [hp_laserjet_p1005] in file /usr/share/hplip/data/models/models.dat
hp-info[13863]: debug: {'hp:/usb/HP_LaserJet_P1005?serial=L403C4P': ['HP_LaserJet_P1005', 'HP_LaserJet_P1005_2']}
Using device: hp:/usb/HP_LaserJet_P1005?serial=L403C4P

hp-info[13863]: debug: Starting GUI loop...
hp-info[13863]: debug: Device URI: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
hp-info[13863]: debug: Printer: None
hp-info[13863]: debug: Not starting dbus: running as root.
hp-info[13863]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_P1005, serial=L403C4P, dev=, host=, port=1
hp-info[13863]: debug: Model/UI model: HP_LaserJet_P1005/HP LaserJet p1005
hp-info[13863]: debug: Opening device: hp:/usb/HP_LaserJet_P1005?serial=L403C4P (not for printing)
hp-info[13863]: debug: I/O mode=6
hp-info[13863]: debug: device-id=1
hp-info[13863]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_P1005?serial=L403C4P, is_hp=True, bus=usb, model=HP_LaserJet_P1005, dev=, serial=L403C4P, host=, port=1)
hp-info[13863]: debug: Type 8: LJ PJL
hp-info[13863]: debug: Closing device...
hp-info[13863]: debug: Result-code = 0
hp-info[13863]: debug: Opening device: hp:/usb/HP_LaserJet_P1005?serial=L403C4P (for printing)
hp-info[13863]: debug: I/O mode=1
hp-info[13863]: debug: device-id=1
hp-info[13863]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_P1005?serial=L403C4P, is_hp=True, bus=usb, model=HP_LaserJet_P1005, dev=, serial=L403C4P, host=, port=1)
hp-info[13863]: debug: Opening PRINT channel...
hp-info[13863]: debug: channel-id=2
hp-info[13863]: debug: Writing 37 bytes to channel 2...
hp-info[13863]: debug: Reading channel 2...
hp-info[13863]: debug: Allowed short read of 56 of 1024 bytes complete.
hp-info[13863]: debug: Returned 56 total bytes in buffer.
hp-info[13863]: debug: Closing device...
hp-info[13863]: debug: Closing PRINT channel...
hp-info[13863]: debug: Result-code = 0
hp-info[13863]: debug: PJL return::
@PJL INFO STATUS
CODE=10001
DISPLAY=""
ONLINE=TRUE

hp-info[13863]: debug: Code = 10001
hp-info[13863]: debug: Error code = 10001
hp-info[13863]: debug: Mapped PJL error code 10001 to status code 1000
hp-info[13863]: debug: Agent: health=0, level=100, trigger=0
hp-info[13863]: debug: Status code = 1000
hp-info[13863]: debug: {'photo-tray': 0, 'in-tray2': 1, 'top-door': 1, 'in-tray1': 1, 'agents': [{'level-trigger': 0, 'health': 0, 'kind': 4, 'type': 1, 'level': 100}], 'duplexer': 0, 'supply-door': 1, 'status-code': 1000, 'media-path': 1, 'revision': 254}
hp-info[13863]: debug: Looking for kind=4, type=1...
hp-info[13863]: debug: found: r0-kind4-type1
hp-info[13863]: debug: health=0, level=100, level_trigger=0, status_code=1000
hp-info[13863]: debug: {'agent1-kind': 4, 'agent1-hp-ink': False, 'is-hp': True, 'agent1-level': 100, 'top-door': 1, 'in-tray1': 1, 'serial': u'L403C4P', 'back-end': u'hp', 'agent1-dvc': 0, 'device-uri': u'hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'rr': '000000', 'photo-tray': 0, 'panel-line1': '', 'panel-line2': '', 'port': 1, 'rg': '000', 'agent1-known': False, 'agent1-health': 0, 'status-code': 1000, 'revision': 254, 'dev-file': '', 'status-desc': 'Idle', 'agent1-health-desc': 'Good/OK', 'host': '', 'agent1-id': 0, 'cups-printer': 'HP_LaserJet_P1005,HP_LaserJet_P1005_2', 'error-state': 0, 'device-state': 1, 'panel': 0, 'in-tray2': 1, 'agent1-ack': False, 'agent1-virgin': False, 'agent1-level-trigger': 0, 'rs': '000000000', 'agent1-type': 1, 'agent1-desc': 'Black toner cartridge', 'r': 0, 'deviceid': 'MFG:Hewlett-Packard;MDL:HP LaserJet P1005;CMD:HBS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet P1005;FWVER:20080415;', 'cups-uri': u'hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'duplexer': 0, 'supply-door': 1, 'agent1-sku': '35A', 'media-path': 1}

Done.
------------------------------------------------------------------------------------

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

Error code 10001 means that printer is idle so that shouldn't be a problem.

Try running these steps:

Disconnect the printer.

Run:
sudo tail -f /var/log/syslog

Reconnect the printer--post the output in the syslog.

Also run:

hp-makeuri -o

and post the output.

Thanks.

Aaron

Revision history for this message
maximi89 (maximi89) said :
#10

Here we go...

----------------------------------------------------------------------------------
maximi89@Maximiliano:~$ sudo tail -f /var/log/syslog
[sudo] password for maximi89:
Mar 6 00:00:00 Maximiliano nagios3: CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_5.1p1 Debian-5 (protocol 2.0)
Mar 6 00:00:00 Maximiliano nagios3: CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 118 processes
Mar 6 00:00:01 Maximiliano /USR/SBIN/CRON[21968]: (root) CMD ( test -x /usr/sbin/tigercron && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; nice -n$NICETIGER /usr/sbin/tigercron -q ; })
Mar 6 00:02:01 Maximiliano /USR/SBIN/CRON[21991]: (logcheck) CMD ( if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)
Mar 6 00:03:07 Maximiliano nagios3: Auto-save of retention data completed successfully.
Mar 6 00:17:01 Maximiliano /USR/SBIN/CRON[23108]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 6 00:42:29 Maximiliano -- MARK --
Mar 6 01:00:01 Maximiliano /USR/SBIN/CRON[24720]: (root) CMD ( test -x /usr/sbin/tigercron && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; nice -n$NICETIGER /usr/sbin/tigercron -q ; })
Mar 6 01:02:01 Maximiliano /USR/SBIN/CRON[25061]: (logcheck) CMD ( if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)
Mar 6 01:03:07 Maximiliano nagios3: Auto-save of retention data completed successfully.
Mar 6 01:14:47 Maximiliano kernel: [90958.572071] usb 2-7: new high speed USB device using ehci_hcd and address 7
Mar 6 01:14:47 Maximiliano kernel: [90958.724887] usb 2-7: configuration #1 chosen from 1 choice
Mar 6 01:14:47 Maximiliano kernel: [90958.727825] usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
Mar 6 01:14:47 Maximiliano kernel: [90958.727933] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
Mar 6 01:14:47 Maximiliano kernel: [90958.727939] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 6 01:14:47 Maximiliano kernel: [90958.727945] usb 2-7: Product: HP LaserJet P1005
Mar 6 01:14:47 Maximiliano kernel: [90958.727949] usb 2-7: Manufacturer: Hewlett-Packard
Mar 6 01:14:47 Maximiliano kernel: [90958.727953] usb 2-7: SerialNumber: L403C4P
Mar 6 01:14:47 Maximiliano logger: loading hp_laserjet_p1005 firmware 002 007
Mar 6 01:14:48 Maximiliano logger: loading hp_laserjet_p1005 firmware 2 7
Mar 6 01:14:50 Maximiliano hal_lpadmin: add
Mar 6 01:14:51 Maximiliano hal_lpadmin: URIs: ['hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'usb://HP/LaserJet%20P1005', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3d17_L403C4P_if0_printer_noserial']
Mar 6 01:14:51 Maximiliano hal_lpadmin: HPLIP Fax URIs: None
Mar 6 01:14:51 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005_2 already exists
Mar 6 01:14:51 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005 already exists
Mar 6 01:14:52 Maximiliano kernel: [90963.660706] usblp0: removed
Mar 6 01:14:52 Maximiliano python: hp-firmware[26242]: error: Device busy: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 6 01:14:52 Maximiliano python: hp-firmware[26242]: error: Error opening device (Device not found). Exiting.
Mar 6 01:14:53 Maximiliano hal_lpadmin: remove
Mar 6 01:14:53 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005_2
Mar 6 01:14:53 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005
-----------------------------------------------------------------------------------------------------------------------------------

maximi89@Maximiliano:~$ hp-makeuri -o

Creates device URIs for local and network connected printers for use with CUPS.

Usage: hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE]

[SERIAL NO.|USB ID|IP|DEVNODE]
  USB IDs (usb "xxx:yyy" where xxx is the USB bus ID and yyy is the
  only): USB device ID. The ':' and all leading zeroes must be
                      present.
                      (Use the 'lsusb' command to obtain this information.
                      See Note 1.)
  IPs (network IPv4 address "a.b.c.d" or "hostname"
  only):
  DEVNODE (parallel "/dev/parportX", X=0,1,2,...
  only):
  SERIAL NO. (usb "serial no."
  and parallel
  only):

[OPTIONS]
  To specify the -p<port> or --port=<port> (Valid values are 1*, 2, and
  port on a 3. *default)
  multi-port
  JetDirect:
  Show the CUPS URI -c or --cups
  only (quiet mode):
  Show the SANE URI -s or --sane
  only (quiet mode):
  Show the HP Fax -f or --fax
  URI only (quiet
  mode):
  Set the logging -l<level> or --logging=<level>
  level:
                      <level>: none, info*, error, warn, debug (*default)
  Run in debug mode: -g (same as option: -ldebug)
  This help -h or --help
  information:

Examples:
  USB: $ hp-makeuri 001:002
  Network: $ hp-makeuri 66.35.250.209
  Parallel: $ hp-makeuri /dev/parport0
  USB or parallel $ hp-makeuri US123456789
  (using serial
  number):

Notes:
1. Example using 'lsusb' to obtain USB bus ID and USB device ID (example only, the values you obtain will differ) :
        $ lsusb
        Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
        $ hp-makeuri 003:011
        (Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)

See Also:
hp-setup

error: option -o not recognized
-----------------------------------------------------------------------------------------------------------
maximi89@Maximiliano:~$ lsusb
Bus 002 Device 007: ID 03f0:3d17 Hewlett-Packard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 014: ID 0d62:001c Darfon Electronics Corp.
Bus 001 Device 015: ID 15d9:0a33
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
------------------------------------------------------------------------------------------------------------
maximi89@Maximiliano:~$ hp-makeuri 002:007

HP Linux Imaging and Printing System (ver. 3.9.2)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 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.

error: Device not found
-------------------------------------------------------------------------------------------------------------

thanks men!

Revision history for this message
megahead13 (sigastiras13) said :
#11

Hi! I have exactly the same problem as described in the orginal post (shuting down/rebooting pc and powering off/powering on printer, and with versions 2.8.12 and 3.9.2, the error is still there). FInally I got it working by installing the printer via CUPS web interface. The printer is a LaserJet 1020 and the distribution is Sidux (Debian Sid based). I never had this issue both with this printer and my old DeskJet 840C on Kubuntu 7.04 up to 8.04 which I am using to all of my machines. First time I am facing this problem on Sidux, which I recently installed on my laptop. If you need any further info just tell me...

PS Googling the net showed that many people try to deal with this "Device communication error 5012", especially the ones using Debian based distros...

Revision history for this message
maximi89 (maximi89) said :
#12

megahead13, you say my HP P1005 can be installed like a HP 1020 and its works better than a P1005?

Revision history for this message
megahead13 (sigastiras13) said :
#13

open your web browser and point it to this address: http://localhost:631/ This is CUPS web interface. Try to install your printer via this interface. Install it as a P1005, not 1020. Good luck :)

Revision history for this message
maximi89 (maximi89) said :
#14

yeah i know that... i have installed the mine like you say... and like hplip do too...

well my printer works with this...

Mostrando 2 de 2 impresoras.
   Orden descendente
HP_LaserJet_P1005 (Impresora predeterminada)
 Descripción: Hewlett-Packard HP LaserJet P1005
Ubicación:
Fabricante y modelo: HP LaserJet P1005 Foomatic/hpijs-ZJS (recommended)
Estado de la impresora: inactiva, aceptando trabajos, pública.
URI de la conexión: hp:/usb/HP_LaserJet_P1005?serial=L403C4P

HP_LaserJet_P1005_2
 Descripción: HP_LaserJet_P1005_2
Ubicación:
Fabricante y modelo: HP LaserJet p1005 hpijs, hpijs 3.9.2
Estado de la impresora: inactiva, aceptando trabajos, pública.
URI de la conexión: hp:/usb/HP_LaserJet_P1005?serial=L403C4P

Revision history for this message
maximi89 (maximi89) said :
#15

i uninstall the hp like say on this page...

http://hplipopensource.com/node/188

i reinstall it with hplip3, this give me the next dmesg....

Mar 9 01:40:03 Maximiliano logger: loading hp_laserjet_p1005 firmware 002 014
Mar 9 01:40:04 Maximiliano logger: loading hp_laserjet_p1005 firmware 2 14
Mar 9 01:40:08 Maximiliano hal_lpadmin: add
Mar 9 01:40:09 Maximiliano hal_lpadmin: URIs: ['hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'usb://HP/LaserJet%20P1005', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3d17_L403C4P_if0_printer_noserial']
Mar 9 01:40:09 Maximiliano kernel: [165917.129612] usblp0: removed
Mar 9 01:40:09 Maximiliano python: hp-firmware[10967]: error: Device busy: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 01:40:09 Maximiliano python: hp-firmware[10967]: error: Error opening device (Device not found). Exiting.
Mar 9 01:40:09 Maximiliano hal_lpadmin: HPLIP Fax URIs: None
Mar 9 01:40:09 Maximiliano hal_lpadmin: Calling GetReady
Mar 9 01:40:10 Maximiliano hal_lpadmin: remove
Mar 9 01:40:11 Maximiliano hal_lpadmin: Device ID: MFG:Hewlett-Packard;MDL:HP LaserJet P1005;DES:HP LaserJet P1005;CMD:ACL; URI:hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 01:40:13 Maximiliano hal_lpadmin: PPD: lsb/usr/hpijs/HP/hp_laserjet_p1005-hpijs.ppd; Status: 0
Mar 9 01:40:13 Maximiliano hal_lpadmin: Added printer HP_LaserJet_P1005
Mar 9 01:40:28 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 676: INFO: open device failed stat=21; will retry in 30 seconds...
Mar 9 01:40:39 Maximiliano python: hp-firmware[10992]: error: Channel write error
Mar 9 01:40:39 Maximiliano python: hp-firmware[10992]: error: An error occured: Device I/O error
Mar 9 01:40:39 Maximiliano python: hp-firmware[10992]: error: Firmware download failed.
Mar 9 01:40:39 Maximiliano python: io/hpmud/musb.c 547: aborting outstanding 7/1/2 write
Mar 9 01:41:33 Maximiliano python: hp-setup[10972]: error: Channel write error
Mar 9 01:41:33 Maximiliano python: hp-setup[10972]: error: An error occured: Device I/O error
Mar 9 01:41:33 Maximiliano python: io/hpmud/musb.c 547: aborting outstanding 7/1/2 write
Mar 9 01:41:48 Maximiliano nagios3: Auto-save of retention data completed successfully.
Mar 9 01:44:24 Maximiliano python: hp-setup[10972]: error: Channel write error
Mar 9 01:44:24 Maximiliano python: io/hpmud/musb.c 547: aborting outstanding 7/1/2 write
Mar 9 01:44:24 Maximiliano python: hp-setup[10972]: error: Printer Error. Printer is busy, offline, or in an error state. Please check the device and try again.
Mar 9 01:47:58 Maximiliano kernel: [166386.484663] usb 2-7: USB disconnect, address 14
Mar 9 01:48:00 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 712: INFO: open print channel failed stat=21; will retry in 30 seconds...
Mar 9 01:48:01 Maximiliano kernel: [166389.588172] usb 2-7: new high speed USB device using ehci_hcd and address 15
Mar 9 01:48:01 Maximiliano kernel: [166389.741512] usb 2-7: configuration #1 chosen from 1 choice
Mar 9 01:48:01 Maximiliano kernel: [166389.752743] usblp0: USB Bidirectional printer dev 15 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
Mar 9 01:48:01 Maximiliano kernel: [166389.752817] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
Mar 9 01:48:01 Maximiliano kernel: [166389.752821] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 9 01:48:01 Maximiliano kernel: [166389.752824] usb 2-7: Product: HP LaserJet P1005
Mar 9 01:48:01 Maximiliano kernel: [166389.752827] usb 2-7: Manufacturer: Hewlett-Packard
Mar 9 01:48:01 Maximiliano kernel: [166389.752829] usb 2-7: SerialNumber: L403C4P
Mar 9 01:48:01 Maximiliano logger: loading hp_laserjet_p1005 firmware 002 015
Mar 9 01:48:02 Maximiliano logger: loading hp_laserjet_p1005 firmware 2 15
Mar 9 01:48:03 Maximiliano hal_lpadmin: add
Mar 9 01:48:03 Maximiliano hal_lpadmin: URIs: ['hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'usb://HP/LaserJet%20P1005', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3d17_L403C4P_if0_printer_noserial']
Mar 9 01:48:03 Maximiliano hal_lpadmin: HPLIP Fax URIs: None
Mar 9 01:48:03 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005_2 already exists
Mar 9 01:48:03 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005 already exists
Mar 9 01:48:05 Maximiliano kernel: [166393.365468] usblp0: removed
Mar 9 01:48:06 Maximiliano hal_lpadmin: remove
Mar 9 01:48:06 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005_2
Mar 9 01:48:06 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005
Mar 9 01:48:10 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -110: Connection timed out
Mar 9 01:48:10 Maximiliano kernel: [166398.488295] usb 2-7: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
Mar 9 01:48:10 Maximiliano python: io/hpmud/musb.c 603: invalid product id string ret=-110
Mar 9 01:48:10 Maximiliano python: io/hpmud/musb.c 1104: unable to open hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 01:48:10 Maximiliano python: hp-firmware[11277]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 01:48:10 Maximiliano python: hp-firmware[11277]: error: Error opening device (Device not found). Exiting.
Mar 9 01:48:30 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 712: INFO: open print channel failed stat=21; will retry in 30 seconds...

still having problems....

Revision history for this message
megahead13 (sigastiras13) said :
#16

I forgot to mention that the "5012 error" by hplip is gone after printing, but in case I don't print the error is always there... Something weird is going on with this issue... At least I can print :)

Revision history for this message
maximi89 (maximi89) said :
#17

TWO different content... one without open hp-toolbox... the first one
the second opening the hp-toolbox

-----------------------------------------------------------------------------------------------------------------------------------
maximi89@Maximiliano:~/Desktop/HP$ sudo /usr/lib/cups/backend/hp
direct hp:/usb/HP_LaserJet_P1005?serial=L403C4P "HP LaserJet P1005" "HP LaserJet P1005 USB L403C4P HPLIP" "MFG:HP;MDL:HP LaserJet P1005;CLS:PRINTER;DES:HP LaserJet P1005;SN:L403C4P;"

maximi89@Maximiliano:~/Desktop/HP$ /usr/lib/cups/backend/hp
direct hp "Unknown" "HP Printer (HPLIP)"
-----------------------------------------------------------------------------------------------------------------------------------

NOW THE DMESG:

-----------------------------------------------------------------------------------------------------------------------------------
Mar 9 13:18:01 Maximiliano kernel: [171800.472108] usb 2-7: new high speed USB device using ehci_hcd and address 16
Mar 9 13:18:01 Maximiliano kernel: [171800.624338] usb 2-7: configuration #1 chosen from 1 choice
Mar 9 13:18:01 Maximiliano kernel: [171800.630330] usblp0: USB Bidirectional printer dev 16 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
Mar 9 13:18:01 Maximiliano kernel: [171800.630446] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
Mar 9 13:18:01 Maximiliano kernel: [171800.630453] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 9 13:18:01 Maximiliano kernel: [171800.630458] usb 2-7: Product: HP LaserJet P1005
Mar 9 13:18:01 Maximiliano kernel: [171800.630462] usb 2-7: Manufacturer: Hewlett-Packard
Mar 9 13:18:01 Maximiliano kernel: [171800.630466] usb 2-7: SerialNumber: L403C4P
Mar 9 13:18:01 Maximiliano logger: loading hp_laserjet_p1005 firmware 002 016
Mar 9 13:18:01 Maximiliano logger: loading hp_laserjet_p1005 firmware 2 16
Mar 9 13:18:03 Maximiliano hal_lpadmin: add
Mar 9 13:18:03 Maximiliano hal_lpadmin: URIs: ['hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'usb://HP/LaserJet%20P1005', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3d17_L403C4P_if0_printer_noserial']
Mar 9 13:18:04 Maximiliano hal_lpadmin: HPLIP Fax URIs: None
Mar 9 13:18:04 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005_2 already exists
Mar 9 13:18:04 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005 already exists
Mar 9 13:18:05 Maximiliano kernel: [171805.176220] usblp0: removed
Mar 9 13:18:05 Maximiliano python: hp-firmware[14937]: error: Device busy: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 13:18:05 Maximiliano python: hp-firmware[14937]: error: Error opening device (Device not found). Exiting.
Mar 9 13:18:06 Maximiliano hal_lpadmin: remove
Mar 9 13:18:06 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005_2
Mar 9 13:18:06 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005
Mar 9 13:28:08 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 348: read new status: 10023
Mar 9 13:28:18 Maximiliano last message repeated 2 times
Mar 9 13:28:18 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 348: read new status: 10001
Mar 9 13:29:49 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:29:49 Maximiliano python: io/hpmud/musb.c 603: invalid product id string ret=-1
Mar 9 13:29:49 Maximiliano python: io/hpmud/musb.c 1104: unable to open hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 13:29:49 Maximiliano python: hp-systray(hpdio)[15248]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 13:29:49 Maximiliano python: hp-systray(hpdio)[15248]: error: Device not found
Mar 9 13:32:27 Maximiliano python: hp-check[15306]: warning: /etc/cups/cupsd.conf file not found or not accessible.
Mar 9 13:32:27 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:32:27 Maximiliano python: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 13:32:27 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:32:27 Maximiliano python: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 13:32:27 Maximiliano python: hp-check[15306]: warning: No queues found.
Mar 9 13:32:28 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:32:28 Maximiliano scanimage: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 13:32:28 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:32:28 Maximiliano scanimage: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 13:32:30 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:32:30 Maximiliano python: io/hpmud/musb.c 2084: invalid product id string ret=-1
Mar 9 13:32:30 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 13:32:30 Maximiliano python: io/hpmud/musb.c 2089: invalid serial id string ret=-1
Mar 9 13:32:30 Maximiliano python: hp-check[15306]: warning: Device URI: (Makeuri FAILED)
Mar 9 13:42:04 Maximiliano nagios3: Auto-save of retention data completed successfully.
Mar 9 13:44:40 Maximiliano python: hp-toolbox(UI)[15245]: warning: Supplies information not available for this device.
Mar 9 13:44:47 Maximiliano python: hp-toolbox(UI)[15245]: warning: Supplies information not available for this device.
Mar 9 13:55:20 Maximiliano python: hp-check[15672]: warning: No queues found.
Mar 9 14:00:01 Maximiliano /USR/SBIN/CRON[15796]: (root) CMD ( test -x /usr/sbin/tigercron && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; nice -n$NICETIGER /usr/sbin/tigercron -q ; })
Mar 9 14:02:01 Maximiliano /USR/SBIN/CRON[15836]: (logcheck) CMD ( if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)
Mar 9 14:04:19 Maximiliano python: hp-toolbox[16847]: warning: hp-toolbox should not be run as root/superuser.
Mar 9 14:17:01 Maximiliano /USR/SBIN/CRON[17116]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 9 14:24:55 Maximiliano python: hp-check[17298]: warning: /etc/cups/cupsd.conf file not found or not accessible.
Mar 9 14:24:55 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:24:55 Maximiliano python: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 14:24:55 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:24:55 Maximiliano python: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 14:24:55 Maximiliano python: hp-check[17298]: warning: No queues found.
Mar 9 14:24:55 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:24:55 Maximiliano scanimage: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 14:24:55 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:24:55 Maximiliano scanimage: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 14:24:57 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:24:57 Maximiliano python: io/hpmud/musb.c 2084: invalid product id string ret=-1
Mar 9 14:24:57 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:24:57 Maximiliano python: io/hpmud/musb.c 2089: invalid serial id string ret=-1
Mar 9 14:24:57 Maximiliano python: hp-check[17298]: warning: Device URI: (Makeuri FAILED)
Mar 9 14:40:05 Maximiliano -- MARK --
Mar 9 14:42:04 Maximiliano nagios3: Auto-save of retention data completed successfully.
Mar 9 14:45:29 Maximiliano python: hp-check[17682]: warning: /etc/cups/cupsd.conf file not found or not accessible.
Mar 9 14:45:29 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:45:29 Maximiliano python: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 14:45:29 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:45:29 Maximiliano python: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 14:45:29 Maximiliano python: hp-check[17682]: warning: No queues found.
Mar 9 14:45:29 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:45:29 Maximiliano scanimage: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 14:45:29 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:45:29 Maximiliano scanimage: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 14:45:31 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:45:31 Maximiliano python: io/hpmud/musb.c 2084: invalid product id string ret=-1
Mar 9 14:45:31 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:45:31 Maximiliano python: io/hpmud/musb.c 2089: invalid serial id string ret=-1
Mar 9 14:45:31 Maximiliano python: hp-check[17682]: warning: Device URI: (Makeuri FAILED)
Mar 9 14:50:20 Maximiliano python: hp-check[17815]: warning: /etc/cups/cupsd.conf file not found or not accessible.
Mar 9 14:50:20 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:50:20 Maximiliano python: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 14:50:20 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:50:20 Maximiliano python: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 14:50:20 Maximiliano python: hp-check[17815]: warning: No queues found.
Mar 9 14:50:20 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:50:20 Maximiliano scanimage: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 14:50:20 Maximiliano scanimage: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:50:20 Maximiliano scanimage: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 14:50:22 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:50:22 Maximiliano python: io/hpmud/musb.c 2084: invalid product id string ret=-1
Mar 9 14:50:22 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:50:22 Maximiliano python: io/hpmud/musb.c 2089: invalid serial id string ret=-1
Mar 9 14:50:22 Maximiliano python: hp-check[17815]: warning: Device URI: (Makeuri FAILED)
Mar 9 14:53:43 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 348: read new status: 10023
Mar 9 14:53:56 Maximiliano last message repeated 2 times
Mar 9 14:53:56 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 348: read new status: 10001
Mar 9 14:54:44 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:54:44 Maximiliano python: io/hpmud/musb.c 603: invalid product id string ret=-1
Mar 9 14:54:44 Maximiliano python: io/hpmud/musb.c 1104: unable to open hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 14:54:44 Maximiliano python: hp-systray(hpdio)[18002]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 14:54:44 Maximiliano python: hp-systray(hpdio)[18002]: error: Device not found
Mar 9 14:55:07 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operaci?n no permitida
Mar 9 14:55:07 Maximiliano python: io/hpmud/musb.c 603: invalid product id string ret=-1
Mar 9 14:55:07 Maximiliano python: io/hpmud/musb.c 1104: unable to open hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 14:55:07 Maximiliano python: hp-toolbox(UI)[17999]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 14:55:07 Maximiliano python: hp-toolbox(UI)[17999]: error: Unable to open device hp:/usb/HP_LaserJet_P1005?serial=L403C4P.
Mar 9 14:58:44 Maximiliano python: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 14:58:44 Maximiliano python: io/hpmud/musb.c 603: invalid product id string ret=-1
Mar 9 14:58:44 Maximiliano python: io/hpmud/musb.c 1104: unable to open hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 14:58:44 Maximiliano python: hp-systray(hpdio)[18002]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 9 14:58:44 Maximiliano python: hp-systray(hpdio)[18002]: error: Device not found
Mar 9 14:59:04 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 348: read new status: 10023
Mar 9 14:59:15 Maximiliano last message repeated 2 times
Mar 9 14:59:15 Maximiliano HP_LaserJet_P1005?serial=L403C4P: prnt/backend/hp.c 348: read new status: 10001
Mar 9 15:00:01 Maximiliano /USR/SBIN/CRON[18160]: (root) CMD ( test -x /usr/sbin/tigercron && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; nice -n$NICETIGER /usr/sbin/tigercron -q ; })
Mar 9 15:00:31 Maximiliano hp: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 15:00:31 Maximiliano hp: io/hpmud/musb.c 1995: invalid product id string ret=-1
Mar 9 15:00:31 Maximiliano hp: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Mar 9 15:00:31 Maximiliano hp: io/hpmud/musb.c 2000: invalid serial id string ret=-1
Mar 9 15:02:01 Maximiliano /USR/SBIN/CRON[18194]: (logcheck) CMD ( if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)
-----------------------------------------------------------------------------------------------------------------------------------

maximi89@Maximiliano:~/Desktop/HP$ hp-check

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 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).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux Maximiliano 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

Distribution:
debian testing

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

Checking Python version...
OK, version 2.5.4 installed

Checking PyQt 4.x version...
OK, version 4.4.2 installed.

Checking for CUPS...
Status: el programa de planificación de tareas se está ejecutando
Version: 1.3.9
warning: /etc/cups/cupsd.conf file not found or not accessible.

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| 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' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.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-3.9.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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer =
device_uri = hp:/usb/HP_LaserJet_P1005?serial=L403C4P

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.2.49
date_time = 03/09/09 15:09:28

[settings]
systray_visible = 0

[refresh]
rate = 30
enable = true
type = 0

[polling]
enable = false
device_list =
interval = 5

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

No devices found.

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

warning: No queues found.

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

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

Checking output of 'scanimage -L'...

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

---------------------
| 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 0x3d17 at 002:016:
warning: Device URI: (Makeuri FAILED)
    Device node: /dev/bus/usb/002/016
    Mode: 0664

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

No errors or warnings.

Done.
------------------------------------------------------------------------------------------------------------------------------------------
maximi89@Maximiliano:~/Desktop/HP$ groups
maximi89 adm dialout fax cdrom audio dip video plugdev netdev lpadmin powerdev scanner fuse
------------------------------------------------------------------------------------------------------------------------------------------

Revision history for this message
maximi89 (maximi89) said :
#18

AND THE HP-TOOLBOX OUTPUT:

maximi89@Maximiliano:~$ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.9.2)
HP Device Manager ver. 15.0

Copyright (c) 2001-9 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.

HP Linux Imaging and Printing System (ver. 3.9.2)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 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.

error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
error: Device not found
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
error: Unable to open device hp:/usb/HP_LaserJet_P1005?serial=L403C4P.
maximi89@Maximiliano:~$
HP Linux Imaging and Printing System (ver. 3.9.2)
HP Device Manager ver. 15.0

Copyright (c) 2001-9 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.

error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1005?serial=L403C4P
error: Device not found

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

Revision history for this message
maximi89 (maximi89) said :
#19

lsusb -v

Bus 002 Device 016: ID 03f0:3d17 Hewlett-Packard
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x3d17
  bcdDevice 1.00
  iManufacturer 1
  iProduct 2
  iSerial 3
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 98mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

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

Debian users:

Run:

groups

be sure your user is part of the scanner group.

Edit the file 55-hpmud.rules change all the text;

GROUP="lp"

to

GROUP=scanner"

Save, unplug the printer, then plug it back in.

Printing should now work.

Aaron

Revision history for this message
maximi89 (maximi89) said :
#21

1.- Well, you need to edit the file

 /etc/udev/rules.d/55-hpmud.rules

And change the group GROUP="lp" to GROUP="scanner"

example, you have this:

SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="lp", GROUP="lp", MODE="660", ENV{sane_hpaio}="yes"

TO THIS:

SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="lp", GROUP="scanner", MODE="660", ENV{sane_hpaio}="yes"
---------------------------------------------------------------------------------------------

3.- Restart the service associated to this... udev
/etc/init.d/udev restart

For Debian Based:
sudo /etc/init.d/udev restart

We are understand you have a Debian Based system, but the solution are the same....

Revision history for this message
maximi89 (maximi89) said :
#22
Revision history for this message
maximi89 (maximi89) said :
#23

This show syslog when you change the group, from "lp" to "scanner" and more down to "lpadmin" group.

SCANNER GROUP
Mar 10 18:13:46 Maximiliano kernel: [10263.369803] udevd version 125 started
Mar 10 18:13:51 Maximiliano kernel: [10268.656011] usb 2-7: USB disconnect, address 9
Mar 10 18:13:54 Maximiliano kernel: [10271.132041] usb 2-7: new high speed USB device using ehci_hcd and address 10
Mar 10 18:13:54 Maximiliano kernel: [10271.266217] usb 2-7: configuration #1 chosen from 1 choice
Mar 10 18:13:54 Maximiliano kernel: [10271.276212] usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
Mar 10 18:13:54 Maximiliano kernel: [10271.276324] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
Mar 10 18:13:54 Maximiliano kernel: [10271.276330] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 10 18:13:54 Maximiliano kernel: [10271.276336] usb 2-7: Product: HP LaserJet P1005
Mar 10 18:13:54 Maximiliano kernel: [10271.276340] usb 2-7: Manufacturer: Hewlett-Packard
Mar 10 18:13:54 Maximiliano kernel: [10271.276344] usb 2-7: SerialNumber: L403C4P
Mar 10 18:13:54 Maximiliano logger: loading hp_laserjet_p1005 firmware 002 010
Mar 10 18:13:54 Maximiliano logger: loading hp_laserjet_p1005 firmware 2 10
Mar 10 18:13:56 Maximiliano hal_lpadmin: add
Mar 10 18:13:56 Maximiliano hal_lpadmin: URIs: ['hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'usb://HP/LaserJet%20P1005', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3d17_L403C4P_if0_printer_noserial']
Mar 10 18:13:57 Maximiliano hal_lpadmin: HPLIP Fax URIs: None
Mar 10 18:13:57 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005_2 already exists
Mar 10 18:13:57 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005 already exists
Mar 10 18:13:58 Maximiliano kernel: [10275.280916] usblp0: removed
Mar 10 18:13:58 Maximiliano python: hp-firmware[12302]: error: Device busy: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 10 18:13:58 Maximiliano python: hp-firmware[12302]: error: Error opening device (Device not found). Exiting.
Mar 10 18:13:59 Maximiliano hal_lpadmin: remove
Mar 10 18:13:59 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005_2
Mar 10 18:13:59 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005
---------------------------------------------------------------------------------------------------------------------------------------------------------

LPADMIN GROUP
Mar 10 18:15:20 Maximiliano kernel: [10357.264012] usb 2-7: USB disconnect, address 10
Mar 10 18:15:21 Maximiliano kernel: [10358.007853] udevd version 125 started
Mar 10 18:15:22 Maximiliano kernel: [10359.712054] usb 2-7: new high speed USB device using ehci_hcd and address 11
Mar 10 18:15:23 Maximiliano kernel: [10359.846821] usb 2-7: configuration #1 chosen from 1 choice
Mar 10 18:15:23 Maximiliano kernel: [10359.852547] usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
Mar 10 18:15:23 Maximiliano kernel: [10359.852656] usb 2-7: New USB device found, idVendor=03f0, idProduct=3d17
Mar 10 18:15:23 Maximiliano kernel: [10359.852662] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 10 18:15:23 Maximiliano kernel: [10359.852668] usb 2-7: Product: HP LaserJet P1005
Mar 10 18:15:23 Maximiliano kernel: [10359.852672] usb 2-7: Manufacturer: Hewlett-Packard
Mar 10 18:15:23 Maximiliano kernel: [10359.852676] usb 2-7: SerialNumber: L403C4P
Mar 10 18:15:23 Maximiliano logger: loading hp_laserjet_p1005 firmware 002 011
Mar 10 18:15:23 Maximiliano logger: loading hp_laserjet_p1005 firmware 2 11
Mar 10 18:15:24 Maximiliano hal_lpadmin: add
Mar 10 18:15:25 Maximiliano hal_lpadmin: URIs: ['hp:/usb/HP_LaserJet_P1005?serial=L403C4P', 'usb://HP/LaserJet%20P1005', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_3d17_L403C4P_if0_printer_noserial']
Mar 10 18:15:25 Maximiliano hal_lpadmin: HPLIP Fax URIs: None
Mar 10 18:15:25 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005_2 already exists
Mar 10 18:15:25 Maximiliano hal_lpadmin: Not adding printer: HP_LaserJet_P1005 already exists
Mar 10 18:15:26 Maximiliano kernel: [10363.661088] usblp0: removed
Mar 10 18:15:26 Maximiliano python: hp-firmware[12440]: error: Device busy: hp:/usb/HP_LaserJet_P1005?serial=L403C4P
Mar 10 18:15:26 Maximiliano python: hp-firmware[12440]: error: Error opening device (Device not found). Exiting.
Mar 10 18:15:28 Maximiliano hal_lpadmin: remove
Mar 10 18:15:28 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005_2
Mar 10 18:15:28 Maximiliano hal_lpadmin: Found configured printer: HP_LaserJet_P1005

Revision history for this message
maximi89 (maximi89) said :
#24

edit your files /etc/udev/rules.d/55-hpmud.rules
change the GROUP

SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", OWNER="lp", GROUP="lpadmin", MODE="660", ENV{sane_hpaio}="yes"

the scanner group works, but that it's not for printers... only for scanners...
lpadmin is for printers.

OWNER="lp", GROUP="lpadmin"
THIS WORKS!

Revision history for this message
maximi89 (maximi89) said :
#25
Revision history for this message
maximi89 (maximi89) said :
#26

Sorry, the last comment was on the wrong bug.