HP Linux Imaging and Printing

error code 5012/usb device not discovered hp2355 printer set up

Asked by CWorm on 2012-02-01

PSC 2355 is supported say HP web site, but not listed as choice for printer set up have to choose 2350
Printer is "seen" by Ubuntu, but have no USB device discovered message.
Have acommunication error #5012
Can send print job and get a job completed, but no job printed (test page)
Terminal output using -t.
HP Linux Imaging and Printing System (ver. 3.10.2)
Dependency/Version Check Utility ver. 14.3

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.

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 ubuntucarl-desktop 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux

Distribution:
ubuntu 10.04

Checking Python version...
OK, version 2.6.5 installed

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

Checking for CUPS...
Status: scheduler is running
Version: 1.4.3
error_log is set to level: warn

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 devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image 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: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
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 libnotify - Python bindings for the libnotify Desktop notifications...
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.10.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.10.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# 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
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.2rc1.9
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[installation]
version = 3.10.2rc1.9
date_time = 02/01/2012 05:54:49

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

No devices found.

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

PSC-2350-series
---------------
Type: Printer
Device URI: hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
PPD: /etc/cups/ppd/PSC-2350-series.ppd
PPD Description: HP PSC 2350 Series hpijs, 3.10.2
Printer status: printer PSC-2350-series is idle. enabled since Mon 30 Jan 2012 07:28:29 PM CST

HP Linux Imaging and Printing System (ver. 3.10.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.

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
error: Unable to communicate with device (code=12): hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
error: Device not found
error: Communication status: Failed

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

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
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.

---------------
| USER GROUPS |
---------------

ubuntucarl adm dialout fax cdrom floppy tape dip video plugdev fuse lpadmin admin sambashare

error: User needs to be member of group 'lp' to enable print, scan & fax.
User member of group 'lpadmin'.

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

error: 1 error or warning.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2012-03-31
Last reply:
2012-04-02
CWorm (barleybetty) said : #1

It seems I need to be a member of user goup lp- tried to do this but lack experiance to get coomand to do this

CWorm (barleybetty) said : #2

This is really complicated and your forums pages in Ubuntu is full of BAD INFO (does not work) Those need to be cleaned out, its hard to get good information to your issue

goutam kodu (goutam-hplip) said : #3

HI CWorm,

1. The HPLIP version installed in your system is 3.10.2. The latest HPLIP 3.11.12 is available at http://hplipopensource.com/hplip-web/gethplip.html. Please download the "hplip-3.11.12.run" file and install it by running command "sh hplip-3.11.12.run" in terminal. This will auto install the HPLIP 3.11.12 and add user to lp and sys group which is required to add the previledges to the user for configuring (or setup) of the printer.

2. Please delete any print queues created for this printer in the "system-config-printer".

3. Now, setup the printer using the command "hp-setup" in terminal and check if the device is able to be detected by the driver and configured.

4. If the problem still persists post us the output of "hp-setup -g" command.

Let us know on the same. Sorry for the inconvenience caused.

Best Regards,
Goutam

Hi...

   Run this command to add 'lp' group to your username.

# sudo usermod -g lp <username>

Once lp group is added, you can print/scan.

CWorm (barleybetty) said : #5

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
error: Unable to communicate with device (code=12): hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
error: Device not found
error: Communication status: Failed
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

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

HP-PSC-2350
-----------
Type: Printer
Device URI: hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
PPD: /etc/cups/ppd/HP-PSC-2350.ppd
PPD Description: HP PSC 2350 Series hpijs, 3.10.2
Printer status: printer HP-PSC-2350 is idle. enabled since Sun 11 Mar 2012 05:42:38 PM /usr/lib/cups/backend/hp failed

HP Linux Imaging and Printing System (ver. 3.10.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.

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
error: Unable to communicate with device (code=12): hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
error: Device not found
error: Communication status: Failed

goutam kodu (goutam-hplip) said : #6

Hi,

The hplip version installed in your system is very old. Can you please upgrade this to the latest 3.12.2.
Download the latest hplip from the http://hplipopensource.com/hplip-web/gethplip.html.

Install the package by running command "sh hplip-3.12.2.run"

Provide me the "hp-check -t" command output after the upgrade.

Thanks,
Goutam K

CWorm (barleybetty) said : #7

Sorry for the delay in rsponding- but the version downloade from HPLIP is what
is in the the info Ive sent- it may be old but thats what the HP site gave me;
I'll try again. Secondly I tried a manuel install; wich at least got me to get a
job completed
 message and but also a cannot communicate with USB device. Am I getting the
wrong drivers because the HPLIP site does not list my printer as choice for
drivers needed, I have a 2355- 2350 is closet choice- I changed the USB DEVICE
name to what its showing listewd now. I need to send you that read out but am
not home at the moment.
 Also I have found a simpler way to add lp user in the system/printer screen
where you can manege printers and group access. Locate the add user pop up
(wrong terminoligy I think)- type in the name of the user (the name of the
acount for the particular user) and I finaly got rid of that problem that let me
 get to where the issue is now; wich is closer to working but still so far away-
buy the way I am totaly new to Linux and am wondering why the suggestions to
type into the terminal- but I have found some things can be done in th pop up
boxes- is the terminal the best way to add hardware?

________________________________
From: CWorm <email address hidden>
To: <email address hidden>
Sent: Sun, March 11, 2012 10:20:52 PM
Subject: Re: [Question #186499]: error code 5012/usb device not discovered
hp2355 printer set up

Your question #186499 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/186499

    Status: Answered => Open

You are still having a problem:
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning:
PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
error: Unable to communicate with device (code=12):
hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
error: Device not found
error: Communication status: Failed
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

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

HP-PSC-2350
-----------
Type: Printer
Device URI: hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
PPD: /etc/cups/ppd/HP-PSC-2350.ppd
PPD Description: HP PSC 2350 Series hpijs, 3.10.2
Printer status: printer HP-PSC-2350 is idle.  enabled since Sun 11 Mar 2012
05:42:38 PM /usr/lib/cups/backend/hp failed

HP Linux Imaging and Printing System (ver. 3.10.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.

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning:
PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
error: Unable to communicate with device (code=12):
hp:/usb/PSC_2350_series?serial=MY49HD20GGKJ
error: Device not found
error: Communication status: Failed

--
You received this question notification because you asked the question.

goutam kodu (goutam-hplip) said : #8

The hplip version installed in your system is 3.10.2. The log info which you have posted here is clearly showing that version.
Please install the hplip-3.12.2 from the hplip-3.12.2.run file downloading it from http://hplipopensource.com/hplip-web/gethplip.html.

You would need to run command "sh hplip-3.12.2.run" in terminal for auto install of the package.

CWorm (barleybetty) said : #9

Im new to this but am picking up on some things as I stumble bumble around- now
here is a stumble bumble for you-- I get a cannot open hplip.3.12.2.run

________________________________
From: goutamkk <email address hidden>
To: <email address hidden>
Sent: Thu, March 29, 2012 11:41:02 PM
Subject: Re: [Question #186499]: error code 5012/usb device not discovered
hp2355 printer set up

Your question #186499 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/186499

    Status: Open => Answered

goutamkk proposed the following answer:
The hplip version installed in your system is 3.10.2. The log info which you
have posted here is clearly showing that version.

Please install the hplip-3.12.2 from the hplip-3.12.2.run file downloading it
from http://hplipopensource.com/hplip-web/gethplip.html.

You would need to run command "sh hplip-3.12.2.run" in terminal for
auto install of the package.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/186499/+confirm?answer_id=7

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/186499

You received this question notification because you asked the question.

goutam kodu (goutam-hplip) said : #10

try these commands in terminal in sequence:

wget "http://ncu.dl.sourceforge.net/project/hplip/hplip/3.12.2/hplip-3.12.2.run"

sh ./hplip-3.12.2.run

Let us know if you able to follow these commands in terminal and able to install hplip-3.12.2.

Can you help with this problem?

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

To post a message you must log in.