[Photosmart C4480] device communication error #5012

Asked by derekw

Hi,

I just purchased a new HP Photosmart C4480. I downloaded the latest HPLIP installer (2.8.9) and ran it. It installed just fine -- detected the Photosmart and completed without errors (manual install, USB connection).

However the HP Device Manager can't communicate with the Photosmart. It says "Device communication error" and gives error code 5012. I can't print or scan.

Running the hp-check utility gives another error:
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
error: Device not found

As a sanity check, I installed the printer through CUPS alone, and printed a test page successfully. I would be content to just use it that way but I bought the Photosmart mainly to be able to scan.

I'm new to HPLIP but not Linux. It is not clear to me how HPLIP interacts with CUPS and which piece does what.

Here is the output of hp-check:

hp-check[4768]: info: :
Initializing. Please wait...
MandrivaLinux

2008.0

scheduler is running

1.3.6

Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ GNU/Linux

hp-check[4768]: info: :
hp-check[4768]: info: :---------------
hp-check[4768]: info: :| SYSTEM INFO |
hp-check[4768]: info: :---------------
hp-check[4768]: info: :
hp-check[4768]: info: :Basic system information:
hp-check[4768]: info: :Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ GNU/Linux
hp-check[4768]: info: :
hp-check[4768]: info: :Distribution:
hp-check[4768]: info: :mandriva 2008.0
hp-check[4768]: info: :
HPOJ running?
hp-check[4768]: info: :No, HPOJ is not running (OK).
hp-check[4768]: info: :
hp-check[4768]: info: :Checking Python version...
hp-check[4768]: info: :OK, version 2.5.2 installed
hp-check[4768]: info: :
hp-check[4768]: info: :Checking PyQt version...
hp-check[4768]: info: :OK, version 3.17 installed.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking SIP version...
hp-check[4768]: info: :OK, Version 4.7 installed
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for CUPS...
hp-check[4768]: info: :Status: scheduler is running
hp-check[4768]: info: :Version: 1.3.6
warning: /etc/cups/cupsd.conf file not found or not accessible.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dbus/python-dbus...
hp-check[4768]: info: :dbus daemon is running.
hp-check[4768]: info: :python-dbus version: 0.82.2
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :------------------------------------
hp-check[4768]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[4768]: info: :------------------------------------
hp-check[4768]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: dbus - Message bus system...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: libtool - Library building support services...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: libusb - USB library...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[4768]: info: :To install this dependency, execute this command:
hp-check[4768]: info: :su -c "modprobe ppdev"
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: PyQt 3- Qt interface for Python (for Qt version 3.x)...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: python-devel - Python development files...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: SANE - Scanning library...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :----------------------
hp-check[4768]: info: :| HPLIP INSTALLATION |
hp-check[4768]: info: :----------------------
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :Currently installed HPLIP version...
hp-check[4768]: info: :HPLIP 2.8.9 currently installed in '/usr/share/hplip'.
hp-check[4768]: info: :
hp-check[4768]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[4768]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=2.8.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.8.9
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=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.9.0
restricted-build=no
ui-toolkit=qt3

hp-check[4768]: info: :
hp-check[4768]: info: :--------------------------
hp-check[4768]: info: :| DISCOVERED USB DEVICES |
hp-check[4768]: info: :--------------------------
hp-check[4768]: info: :
hp-check[4768]: info: :No devices found.
hp-check[4768]: info: :
hp-check[4768]: info: :---------------------------------
hp-check[4768]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[4768]: info: :---------------------------------
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :Laser
hp-check[4768]: info: :-----
hp-check[4768]: info: :Type: Unknown
hp-check[4768]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[4768]: info: :Device URI: lpd://192.168.1.10:515/lp2
hp-check[4768]: info: :PPD: /etc/cups/ppd/Laser.ppd
hp-check[4768]: info: :PPD Description: Samsung ML-1210 Foomatic/gdi (recommended)
hp-check[4768]: info: :Printer status: printer Laser is idle. enabled since Sun 09 Mar 2008 07:33:00 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[4768]: info: :Photosmart_C4480
hp-check[4768]: info: :----------------
hp-check[4768]: info: :Type: Printer
hp-check[4768]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[4768]: info: :Device URI: hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
hp-check[4768]: info: :PPD: /etc/cups/ppd/Photosmart_C4480.ppd
hp-check[4768]: info: :PPD Description: HP Photosmart c4400 series Foomatic/hpijs, hpijs 2.8.9
hp-check[4768]: info: :Printer status: printer Photosmart_C4480 now printing Photosmart_C4480-152. enabled since Sun 26 Oct 2008 07:12:58 PM EDT
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
error: Device not found
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :----------------------
hp-check[4768]: info: :| SANE CONFIGURATION |
hp-check[4768]: info: :----------------------
hp-check[4768]: info: :
hp-check[4768]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[4768]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking output of 'scanimage -L'...
hp-check[4768]: info: :
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

hp-check[4768]: info: :
hp-check[4768]: info: :---------------------
hp-check[4768]: info: :| PYTHON EXTENSIONS |
hp-check[4768]: info: :---------------------
hp-check[4768]: info: :
hp-check[4768]: info: :Checking 'cupsext' CUPS extension...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking 'pcardext' Photocard extension...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking 'hpmudext' I/O extension...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :Checking 'scanext' SANE scanning extension...
hp-check[4768]: info: :OK, found.
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :-----------------
hp-check[4768]: info: :| USB I/O SETUP |
hp-check[4768]: info: :-----------------
hp-check[4768]: info: :
hp-check[4768]: info: :
hp-check[4768]: info: :Checking for permissions of USB attached printers...
hp-check[4768]: info: :
HP Device 0x6c11 at 001:002:
warning: Device URI: (Makeuri FAILED)
hp-check[4768]: info: : Device node: /proc/bus/usb/001/002
hp-check[4768]: info: : Mode: 0664
hp-check[4768]: info: :
hp-check[4768]: info: :-----------
hp-check[4768]: info: :| SUMMARY |
hp-check[4768]: info: :-----------
hp-check[4768]: info: :
error: 3 errors and/or warnings.
hp-check[4768]: info: :
hp-check[4768]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[4768]: info: :su -c "modprobe ppdev"
hp-check[4768]: info: :
hp-check[4768]: info: :Please refer to the installation instructions at:
hp-check[4768]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[4768]: info: :
hp-check[4768]: info: :Done.

Question information

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

Output from hp-probe (as root):
=========================================================================
HP Linux Imaging and Printing System (ver. 2.8.9)
Printer Discovery Utility ver. 4.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.

Using connection type: usb

--------------------
| DEVICE DISCOVERY |
--------------------

  Device URI Model
  ----------------------------------------------------- --------------------------
  hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557 HP Photosmart C4400 series

Found 1 printer(s) on the 'usb' bus.
=========================================================================

Output from hp-info (as root):
=========================================================================
HP Linux Imaging and Printing System (ver. 2.8.9)
Device Information Utility ver. 5.2

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.

hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557

Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  agent1-ack False
  agent1-desc Black cartridge
  agent1-dvc 0
  agent1-health 0
  agent1-health-desc Good/OK
  agent1-hp-ink False
  agent1-id 0
  agent1-kind 3
  agent1-known False
  agent1-level 90
  agent1-level-trigger 0
  agent1-sku 74/74XL
  agent1-type 1
  agent1-virgin False
  agent2-ack False
  agent2-desc Tri-color cartridge
  agent2-dvc 0
  agent2-health 0
  agent2-health-desc Good/OK
  agent2-hp-ink False
  agent2-id 0
  agent2-kind 3
  agent2-known False
  agent2-level 100
  agent2-level-trigger 0
  agent2-sku 75/75XL
  agent2-type 2
  agent2-virgin False
  back-end hp
  cups-printer Photosmart_C4480
  cups-uri hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
  dev-file
  device-state 1
  device-uri hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
  deviceid MFG:HP;MDL:Photosmart C4400
                                series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1
                                ;CLS:PRINTER;DES:Q8388A;SN:CN878HG0DW0557;S:038000C4840010
                                21002c180005ac2880064;J:
                                ;Z:0102,0503e809015909,0600,0c0,0e00000000,0f00000000,1000
                                0000000000,12000,143,150;
  duplexer 0
  error-state 0
  host
  in-tray1 True
  in-tray2 False
  is-hp True
  media-path 3
  panel 0
  panel-line1
  panel-line2
  photo-tray 0
  port 1
  r 0
  revision 3
  rg 000
  rr 000000
  rs 000000000
  scan-uri hpaio:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
  serial CN878HG0DW0557
  status-code 1000
  status-desc Idle.
  supply-door 0
  top-door 1

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 1
  clean-type 1
  color-cal-type 3
  copy-type 0
  embedded-server-type 0
  fax-type 0
  fw-download 0
  icon Photosmart_C4100.png
  io-mfp-mode 3
  io-mode 1
  io-support 2
  job-storage 0
  linefeed-cal-type 0
  model Photosmart_C4400_series
  model-ui HP Photosmart c4400 series
  model1 HP Photosmart C4400 All-in-One
  monitor-type 0
  panel-check-type 0
  pcard-type 2
  plugin 0
  power-settings 0
  pq-diag-type 0
  r-type 1
  r0-agent1-kind 3
  r0-agent1-sku 74/74XL
  r0-agent1-type 1
  r0-agent2-kind 3
  r0-agent2-sku 75/75XL
  r0-agent2-type 2
  r0-agent3-kind 3
  r0-agent3-sku 99
  r0-agent3-type 3
  r10-agent1-kind 3
  r10-agent1-sku 860/860XL
  r10-agent1-type 1
  r10-agent2-kind 3
  r10-agent2-sku 861/861XL
  r10-agent2-type 2
  r10-agent3-kind 3
  r10-agent3-sku 858
  r10-agent3-type 3
  r18-agent1-kind 3
  r18-agent1-sku 92/98
  r18-agent1-type 1
  r18-agent2-kind 3
  r18-agent2-sku 93/95
  r18-agent2-type 2
  r18-agent3-kind 3
  r18-agent3-sku 99
  r18-agent3-type 3
  r2-agent1-kind 3
  r2-agent1-sku 74/74XL
  r2-agent1-type 1
  r2-agent2-kind 3
  r2-agent2-sku 75/75XL
  r2-agent2-type 2
  r2-agent3-kind 3
  r2-agent3-sku 99
  r2-agent3-type 3
  r4-agent1-kind 3
  r4-agent1-sku 350/350XL
  r4-agent1-type 1
  r4-agent2-kind 3
  r4-agent2-sku 351/351XL
  r4-agent2-type 2
  r4-agent3-kind 3
  r4-agent3-sku 348
  r4-agent3-type 3
  r8-agent1-kind 3
  r8-agent1-sku 140/140XL
  r8-agent1-type 1
  r8-agent2-kind 3
  r8-agent2-sku 141/141XL
  r8-agent2-type 2
  r8-agent3-kind 3
  r8-agent3-sku 138
  r8-agent3-type 3
  scan-style 1
  scan-type 1
  status-battery-check 0
  status-dynamic-counters 1
  status-type 2
  support-released 1
  support-type 2
  support-ver 2.8.5
  tech-class ['DJGenericVIP']
  tech-subclass ['Normal']
  tech-type 2
  usb-pid 6c11
  usb-vid 03f0
=========================================================================

Output from hp-check (as root):
=========================================================================
hp-check[6211]: info: :
Initializing. Please wait...
MandrivaLinux

2008.0

scheduler is running

1.3.6

Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ GNU/Linux

hp-check[6211]: info: :
hp-check[6211]: info: :---------------
hp-check[6211]: info: :| SYSTEM INFO |
hp-check[6211]: info: :---------------
hp-check[6211]: info: :
hp-check[6211]: info: :[01mBasic system information:[0m
hp-check[6211]: info: :Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ GNU/Linux
hp-check[6211]: info: :
hp-check[6211]: info: :[01mDistribution:[0m
hp-check[6211]: info: :mandriva 2008.0
hp-check[6211]: info: :[01m
HPOJ running?[0m
hp-check[6211]: info: :No, HPOJ is not running (OK).
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking Python version...[0m
hp-check[6211]: info: :OK, version 2.5.2 installed
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking PyQt version...[0m
hp-check[6211]: info: :OK, version 3.17 installed.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking SIP version...[0m
hp-check[6211]: info: :OK, Version 4.7 installed
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for CUPS...[0m
hp-check[6211]: info: :Status: scheduler is running
hp-check[6211]: info: :Version: 1.3.6
hp-check[6211]: info: :error_log is set to level: info
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[6211]: info: :dbus daemon is running.
hp-check[6211]: info: :python-dbus version: 0.82.2
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :------------------------------------
hp-check[6211]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[6211]: info: :------------------------------------
hp-check[6211]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: cups - Common Unix Printing System...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: cups-ddk - CUPS driver development kit...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: cups-devel- Common Unix Printing System development files...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: dbus - Message bus system...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: gcc - GNU Project C and C++ Compiler...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: libcrypto - OpenSSL cryptographic library...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: libjpeg - JPEG library...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP networking library development files...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: libpthread - POSIX threads library...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: libtool - Library building support services...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: ppdev - Parallel port support kernel module....[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: PyQt 3- Qt interface for Python (for Qt version 3.x)...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: python-ctypes - A foreign function library for Python...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: python-dbus - Python bindings for dbus...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: python-devel - Python development files...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: Python 2.2 or greater - Python programming language...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: Reportlab - PDF library for Python...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: SANE - Scanning library development files...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :----------------------
hp-check[6211]: info: :| HPLIP INSTALLATION |
hp-check[6211]: info: :----------------------
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[6211]: info: :HPLIP 2.8.9 currently installed in '/usr/share/hplip'.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[6211]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=2.8.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.8.9
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=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.9.0
restricted-build=no
ui-toolkit=qt3

hp-check[6211]: info: :
hp-check[6211]: info: :--------------------------
hp-check[6211]: info: :| DISCOVERED USB DEVICES |
hp-check[6211]: info: :--------------------------
hp-check[6211]: info: :
hp-check[6211]: info: : Device URI Model
hp-check[6211]: info: : ----------------------------------------------------- ---------------------------
hp-check[6211]: info: : hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557 HP Photosmart C4400 series
hp-check[6211]: info: :
hp-check[6211]: info: :---------------------------------
hp-check[6211]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[6211]: info: :---------------------------------
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :[01mLaser[0m
hp-check[6211]: info: :[01m-----[0m
hp-check[6211]: info: :Type: Unknown
hp-check[6211]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[6211]: info: :Device URI: lpd://192.168.1.10:515/lp2
hp-check[6211]: info: :PPD: /etc/cups/ppd/Laser.ppd
hp-check[6211]: info: :PPD Description: Samsung ML-1210 Foomatic/gdi (recommended)
hp-check[6211]: info: :Printer status: printer Laser is idle. enabled since Sun 09 Mar 2008 07:33:00 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[6211]: info: :[01mPhotosmart_C4480[0m
hp-check[6211]: info: :[01m----------------[0m
hp-check[6211]: info: :Type: Printer
hp-check[6211]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[6211]: info: :Device URI: hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
hp-check[6211]: info: :PPD: /etc/cups/ppd/Photosmart_C4480.ppd
hp-check[6211]: info: :PPD Description: HP Photosmart c4400 series Foomatic/hpijs, hpijs 2.8.9
hp-check[6211]: info: :Printer status: printer Photosmart_C4480 now printing Photosmart_C4480-154. enabled since Sun 26 Oct 2008 08:31:51 PM EDT
hp-check[6211]: info: :Communication status: Good
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :----------------------
hp-check[6211]: info: :| SANE CONFIGURATION |
hp-check[6211]: info: :----------------------
hp-check[6211]: info: :
hp-check[6211]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[6211]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[6211]: info: :device `hpaio:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557' is a Hewlett-Packard Photosmart_C4400_series all-in-one

hp-check[6211]: info: :
hp-check[6211]: info: :---------------------
hp-check[6211]: info: :| PYTHON EXTENSIONS |
hp-check[6211]: info: :---------------------
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[6211]: info: :OK, found.
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :-----------------
hp-check[6211]: info: :| USB I/O SETUP |
hp-check[6211]: info: :-----------------
hp-check[6211]: info: :
hp-check[6211]: info: :
hp-check[6211]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[6211]: info: :
HP Device 0x6c11 at 001:003:
hp-check[6211]: info: : Device URI: hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
hp-check[6211]: info: : Device node: /proc/bus/usb/001/003
hp-check[6211]: info: : Mode: 0664
hp-check[6211]: info: :
hp-check[6211]: info: :-----------
hp-check[6211]: info: :| SUMMARY |
hp-check[6211]: info: :-----------
hp-check[6211]: info: :
error: 1 error or warning.
hp-check[6211]: info: :
hp-check[6211]: info: :Please refer to the installation instructions at:
hp-check[6211]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[6211]: info: :
hp-check[6211]: info: :Done.
=========================================================================

Running hp-toolbox (as normal user):
=========================================================================
HP Linux Imaging and Printing System (ver. 2.8.9)
HP Device Manager ver. 15.0

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.

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

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

try changing your device node permissions to 666.

On Sun, Oct 26, 2008 at 6:53 PM, derekw <<email address hidden>
> wrote:

> Question #49135 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/49135
>
> derekw gave more information on the question:
> Output from hp-probe (as root):
> =========================================================================
> HP Linux Imaging and Printing System (ver. 2.8.9)
> Printer Discovery Utility ver. 4.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.
>
>
> Using connection type: usb
>
>
> --------------------
> | DEVICE DISCOVERY |
> --------------------
>
> Device URI Model
> -----------------------------------------------------
> --------------------------
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557 HP Photosmart C4400
> series
>
> Found 1 printer(s) on the 'usb' bus.
> =========================================================================
>
>
> Output from hp-info (as root):
> =========================================================================
> HP Linux Imaging and Printing System (ver. 2.8.9)
> Device Information Utility ver. 5.2
>
> 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.
>
>
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
>
> Device Parameters (dynamic data):
> Parameter Value(s)
> ----------------------------
> ----------------------------------------------------------
> agent1-ack False
> agent1-desc Black cartridge
> agent1-dvc 0
> agent1-health 0
> agent1-health-desc Good/OK
> agent1-hp-ink False
> agent1-id 0
> agent1-kind 3
> agent1-known False
> agent1-level 90
> agent1-level-trigger 0
> agent1-sku 74/74XL
> agent1-type 1
> agent1-virgin False
> agent2-ack False
> agent2-desc Tri-color cartridge
> agent2-dvc 0
> agent2-health 0
> agent2-health-desc Good/OK
> agent2-hp-ink False
> agent2-id 0
> agent2-kind 3
> agent2-known False
> agent2-level 100
> agent2-level-trigger 0
> agent2-sku 75/75XL
> agent2-type 2
> agent2-virgin False
> back-end hp
> cups-printer Photosmart_C4480
> cups-uri
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
> dev-file
> device-state 1
> device-uri
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
> deviceid MFG:HP;MDL:Photosmart C4400
>
> series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1
>
> ;CLS:PRINTER;DES:Q8388A;SN:CN878HG0DW0557;S:038000C4840010
> 21002c180005ac2880064;J:
>
> ;Z:0102,0503e809015909,0600,0c0,0e00000000,0f00000000,1000
> 0000000000,12000,143,150;
> duplexer 0
> error-state 0
> host
> in-tray1 True
> in-tray2 False
> is-hp True
> media-path 3
> panel 0
> panel-line1
> panel-line2
> photo-tray 0
> port 1
> r 0
> revision 3
> rg 000
> rr 000000
> rs 000000000
> scan-uri
> hpaio:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
> serial CN878HG0DW0557
> status-code 1000
> status-desc Idle.
> supply-door 0
> top-door 1
>
> Model Parameters (static data):
> Parameter Value(s)
> ----------------------------
> ----------------------------------------------------------
> align-type 1
> clean-type 1
> color-cal-type 3
> copy-type 0
> embedded-server-type 0
> fax-type 0
> fw-download 0
> icon Photosmart_C4100.png
> io-mfp-mode 3
> io-mode 1
> io-support 2
> job-storage 0
> linefeed-cal-type 0
> model Photosmart_C4400_series
> model-ui HP Photosmart c4400 series
> model1 HP Photosmart C4400 All-in-One
> monitor-type 0
> panel-check-type 0
> pcard-type 2
> plugin 0
> power-settings 0
> pq-diag-type 0
> r-type 1
> r0-agent1-kind 3
> r0-agent1-sku 74/74XL
> r0-agent1-type 1
> r0-agent2-kind 3
> r0-agent2-sku 75/75XL
> r0-agent2-type 2
> r0-agent3-kind 3
> r0-agent3-sku 99
> r0-agent3-type 3
> r10-agent1-kind 3
> r10-agent1-sku 860/860XL
> r10-agent1-type 1
> r10-agent2-kind 3
> r10-agent2-sku 861/861XL
> r10-agent2-type 2
> r10-agent3-kind 3
> r10-agent3-sku 858
> r10-agent3-type 3
> r18-agent1-kind 3
> r18-agent1-sku 92/98
> r18-agent1-type 1
> r18-agent2-kind 3
> r18-agent2-sku 93/95
> r18-agent2-type 2
> r18-agent3-kind 3
> r18-agent3-sku 99
> r18-agent3-type 3
> r2-agent1-kind 3
> r2-agent1-sku 74/74XL
> r2-agent1-type 1
> r2-agent2-kind 3
> r2-agent2-sku 75/75XL
> r2-agent2-type 2
> r2-agent3-kind 3
> r2-agent3-sku 99
> r2-agent3-type 3
> r4-agent1-kind 3
> r4-agent1-sku 350/350XL
> r4-agent1-type 1
> r4-agent2-kind 3
> r4-agent2-sku 351/351XL
> r4-agent2-type 2
> r4-agent3-kind 3
> r4-agent3-sku 348
> r4-agent3-type 3
> r8-agent1-kind 3
> r8-agent1-sku 140/140XL
> r8-agent1-type 1
> r8-agent2-kind 3
> r8-agent2-sku 141/141XL
> r8-agent2-type 2
> r8-agent3-kind 3
> r8-agent3-sku 138
> r8-agent3-type 3
> scan-style 1
> scan-type 1
> status-battery-check 0
> status-dynamic-counters 1
> status-type 2
> support-released 1
> support-type 2
> support-ver 2.8.5
> tech-class ['DJGenericVIP']
> tech-subclass ['Normal']
> tech-type 2
> usb-pid 6c11
> usb-vid 03f0
> =========================================================================
>
>
> Output from hp-check (as root):
> =========================================================================
> hp-check[6211]: info: :
> Initializing. Please wait...
> MandrivaLinux
>
> 2008.0
>
> scheduler is running
>
> 1.3.6
>
> Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST 2008 x86_64 AMD
> Athlon(tm) 64 X2 Dual Core Processor 4400+ GNU/Linux
>
> hp-check[6211]: info: :
> hp-check[6211]: info: :---------------
> hp-check[6211]: info: :| SYSTEM INFO |
> hp-check[6211]: info: :---------------
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mBasic system information:[0m
> hp-check[6211]: info: :Linux ben 2.6.23.16-1mdv #1 Mon Feb 11 07:24:40 EST
> 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ GNU/Linux
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mDistribution:[0m
> hp-check[6211]: info: :mandriva 2008.0
> hp-check[6211]: info: :[01m
> HPOJ running?[0m
> hp-check[6211]: info: :No, HPOJ is not running (OK).
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking Python version...[0m
> hp-check[6211]: info: :OK, version 2.5.2 installed
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking PyQt version...[0m
> hp-check[6211]: info: :OK, version 3.17 installed.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking SIP version...[0m
> hp-check[6211]: info: :OK, Version 4.7 installed
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for CUPS...[0m
> hp-check[6211]: info: :Status: scheduler is running
> hp-check[6211]: info: :Version: 1.3.6
> hp-check[6211]: info: :error_log is set to level: info
> note: For troubleshooting printing issues, it is best to have the CUPS
> 'LogLevel'
> note: set to 'debug'. To set the LogLevel to debug, edit the file
> /etc/cups/cupsd.conf (as root),
> note: and change the line near the top of the file that begins with
> 'LogLevel' to read:
> note: LogLevel debug
> note: Save the file and then restart CUPS (see your OS/distro docs on how
> to restart CUPS).
> note: Now, when you print, helpful debug information will be saved to the
> file:
> note: /var/log/cups/error_log
> note: You can monitor this file by running this command in a console/shell:
> note: tail -f /var/log/cups/error_log
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dbus/python-dbus...[0m
> hp-check[6211]: info: :dbus daemon is running.
> hp-check[6211]: info: :python-dbus version: 0.82.2
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :------------------------------------
> hp-check[6211]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
> hp-check[6211]: info: :------------------------------------
> hp-check[6211]: info: :
> note: To check for compile-time only dependencies, re-run hp-check with the
> -c parameter (ie, hp-check -c).
> note: To check for run-time only dependencies, re-run hp-check with the -r
> parameter (ie, hp-check -r).
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: cups - Common Unix
> Printing System...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: cups-ddk - CUPS driver
> development kit...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: cups-devel- Common Unix
> Printing System development files...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: dbus - Message bus
> system...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: gcc - GNU Project C and
> C++ Compiler...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: GhostScript -
> PostScript and PDF language interpreter and previewer...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: libcrypto - OpenSSL
> cryptographic library...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: libjpeg - JPEG
> library...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP
> networking library development files...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: libpthread - POSIX
> threads library...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: libtool - Library
> building support services...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: libusb - USB
> library...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: make - GNU make utility
> to maintain groups of programs...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: PIL - Python Imaging
> Library (required for commandline scanning with hp-scan)...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: ppdev - Parallel port
> support kernel module....[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: PyQt 3- Qt interface
> for Python (for Qt version 3.x)...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: PyQt 4- Qt interface
> for Python (for Qt version 4.x)...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: python-ctypes - A
> foreign function library for Python...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: python-dbus - Python
> bindings for dbus...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: python-devel - Python
> development files...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: Python 2.3 or greater -
> Required for fax functionality...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: Python 2.2 or greater -
> Python programming language...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: Reportlab - PDF library
> for Python...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: SANE - Scanning
> library...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: SANE - Scanning library
> development files...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: scanimage - Shell
> scanning program...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for dependency: xsane - Graphical
> scanner frontend for SANE...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :----------------------
> hp-check[6211]: info: :| HPLIP INSTALLATION |
> hp-check[6211]: info: :----------------------
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mCurrently installed HPLIP version...[0m
> hp-check[6211]: info: :HPLIP 2.8.9 currently installed in
> '/usr/share/hplip'.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mCurrent contents of '/etc/hp/hplip.conf'
> file:[0m
> hp-check[6211]: info: :# hplip.conf. Generated from hplip.conf.in by
> configure.
>
> [hplip]
> version=2.8.9
>
> [dirs]
> home=/usr/share/hplip
> run=/var/run
> ppd=/usr/share/ppd/hpijs/HP
> ppdbase=/usr/share/ppd/hpijs
> doc=/usr/share/doc/hplip-2.8.9
> 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=no
> pp-build=no
> gui-build=yes
> scanner-build=yes
> fax-build=no
> dbus-build=yes
> cups11-build=no
> doc-build=yes
> shadow-build=no
> foomatic-drv-install=yes
> foomatic-ppd-install=no
> foomatic-rip-hplip-install=yes
> internal-tag=2.8.9.0
> restricted-build=no
> ui-toolkit=qt3
>
>
> hp-check[6211]: info: :
> hp-check[6211]: info: :--------------------------
> hp-check[6211]: info: :| DISCOVERED USB DEVICES |
> hp-check[6211]: info: :--------------------------
> hp-check[6211]: info: :
> hp-check[6211]: info: : Device URI
> Model
> hp-check[6211]: info: :
> -----------------------------------------------------
> ---------------------------
> hp-check[6211]: info: :
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557 HP Photosmart C4400
> series
> hp-check[6211]: info: :
> hp-check[6211]: info: :---------------------------------
> hp-check[6211]: info: :| INSTALLED CUPS PRINTER QUEUES |
> hp-check[6211]: info: :---------------------------------
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mLaser[0m
> hp-check[6211]: info: :[01m-----[0m
> hp-check[6211]: info: :Type: Unknown
> hp-check[6211]: info: :Installed in HPLIP?: No, not using the hp: or hpfax:
> CUPS backend.
> hp-check[6211]: info: :Device URI: lpd://192.168.1.10:515/lp2
> hp-check[6211] <http://192.168.1.10:515/lp2hp-check%5B6211%5D>: info:
> :PPD: /etc/cups/ppd/Laser.ppd
> hp-check[6211]: info: :PPD Description: Samsung ML-1210 Foomatic/gdi
> (recommended)
> hp-check[6211]: info: :Printer status: printer Laser is idle. enabled
> since Sun 09 Mar 2008 07:33:00 PM EDT
> warning: Printer is not HPLIP installed. Printers must use the hp: or
> hpfax: CUPS backend to function in HPLIP.
> hp-check[6211]: info: :[01mPhotosmart_C4480[0m
> hp-check[6211]: info: :[01m----------------[0m
> hp-check[6211]: info: :Type: Printer
> hp-check[6211]: info: :Installed in HPLIP?: Yes, using the hp: CUPS
> backend.
> hp-check[6211]: info: :Device URI:
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
> hp-check[6211]: info: :PPD: /etc/cups/ppd/Photosmart_C4480.ppd
> hp-check[6211]: info: :PPD Description: HP Photosmart c4400 series
> Foomatic/hpijs, hpijs 2.8.9
> hp-check[6211]: info: :Printer status: printer Photosmart_C4480 now
> printing Photosmart_C4480-154. enabled since Sun 26 Oct 2008 08:31:51 PM
> EDT
> hp-check[6211]: info: :Communication status: Good
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :----------------------
> hp-check[6211]: info: :| SANE CONFIGURATION |
> hp-check[6211]: info: :----------------------
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
> hp-check[6211]: info: :OK, found. SANE backend 'hpaio' is properly set up.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking output of 'scanimage -L'...[0m
> hp-check[6211]: info: :device
> `hpaio:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557' is a
> Hewlett-Packard Photosmart_C4400_series all-in-one
>
> hp-check[6211]: info: :
> hp-check[6211]: info: :---------------------
> hp-check[6211]: info: :| PYTHON EXTENSIONS |
> hp-check[6211]: info: :---------------------
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking 'cupsext' CUPS extension...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking 'pcardext' Photocard extension...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking 'hpmudext' I/O extension...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
> hp-check[6211]: info: :OK, found.
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :-----------------
> hp-check[6211]: info: :| USB I/O SETUP |
> hp-check[6211]: info: :-----------------
> hp-check[6211]: info: :
> hp-check[6211]: info: :
> hp-check[6211]: info: :[01mChecking for permissions of USB attached
> printers...[0m
> hp-check[6211]: info: :
> HP Device 0x6c11 at 001:003:
> hp-check[6211]: info: : Device URI:
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
> hp-check[6211]: info: : Device node: /proc/bus/usb/001/003
> hp-check[6211]: info: : Mode: 0664
> hp-check[6211]: info: :
> hp-check[6211]: info: :-----------
> hp-check[6211]: info: :| SUMMARY |
> hp-check[6211]: info: :-----------
> hp-check[6211]: info: :
> error: 1 error or warning.
> hp-check[6211]: info: :
> hp-check[6211]: info: :Please refer to the installation instructions at:
> hp-check[6211]: info: :http://hplip.sourceforge.net/install/index.html
>
> hp-check[6211]: info: :
> hp-check[6211]: info: :Done.
> =========================================================================
>
>
> Running hp-toolbox (as normal user):
> =========================================================================
> HP Linux Imaging and Printing System (ver. 2.8.9)
> HP Device Manager ver. 15.0
>
> 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.
>
> error: Unable to communicate with device (code=12):
> hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
> warning: Device not found
> =========================================================================
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
derekw (derek-wickersham) said :
#3

Do you specifically mean changing /proc/bus/usb/001/003 or /proc/bus/usb/* ? What are the implications of doing this?

Revision history for this message
derekw (derek-wickersham) said :
#4

/proc/bus/usb/001/003 is currently this:
-rw-rw-r-- 1 root usb 142 2008-10-26 22:03 003

Should I instead put my normal user in the usb group?

Also this wouldn't seem to explain why root can't print. I ran hp-testpage as root, this was the output:
=========================================================================
HP Linux Imaging and Printing System (ver. 2.8.9)
Testpage Print Utility ver. 6.0

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.

------------------
| SELECT PRINTER |
------------------

  Num CUPS Printer
  -------- --------------------
  0 Photosmart_C4400
  1* Photosmart_C4480

Enter number 0...1 for printer (q=quit, <enter>=default: *1) ?
Printing test page to printer Photosmart_C4480...
Test page has been sent to printer.

note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://hplip.sourceforge.net for troubleshooting and support.

Done.
=========================================================================

But nothing printed. Also I see this in /var/log/messages:
=========================================================================
Oct 26 22:52:09 ben python: hp-testpage[6962]: warning: hp-testpage should not be run as root/superuser.
Oct 26 22:52:24 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Oct 26 22:52:24 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 603: invalid product id string ret=-1
Oct 26 22:52:24 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 1104: unable to open hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
Oct 26 22:52:24 ben Photosmart_C4400_series?serial=CN878HG0DW0557: prnt/backend/hp.c 675: INFO: open device failed; will retry in 30 seconds...
=========================================================================

Thanks...

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

As root try running:

chmod 700 /usr/lib/cups/backend/hp

For mandriva this is an extra step that needs to be completed. I'm going to look into having the installer do it automatically.

Sorry for the inconvenience.

Aaron

Revision history for this message
derekw (derek-wickersham) said :
#6

I changed the permissions on that file as requested. It did not affect the behavior. When I open the HP Device Manager, the HP Photosmart printer has a red "X" on it, and the status still says "Device communication error" with code 5012.

In /var/log/messages, I see this:

Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 603: invalid product id string ret=-1
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 1104: unable to open hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: prnt/backend/hp.c 675: INFO: open device failed; will retry in 30 seconds...
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 603: invalid product id string ret=-1
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: io/hpmud/musb.c 1104: unable to open hp:/usb/Photosmart_C4400_series?serial=CN878HG0DW0557
Oct 27 22:27:30 ben Photosmart_C4400_series?serial=CN878HG0DW0557: prnt/backend/hp.c 675: INFO: open device failed; will retry in 30 seconds...

Revision history for this message
derekw (derek-wickersham) said :
#7

Additional info:

[root@ben log]# lsusb
Unknown line at line 2389
Bus 004 Device 004: ID 046d:c51b Logitech, Inc.
Bus 004 Device 003: ID 0409:005a NEC Corp.
Bus 004 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 03f0:6c11 Hewlett-Packard
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@ben log]# lsusb -v -s 003:002
Unknown line at line 2389

Bus 003 Device 002: ID 03f0:6c11 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 0x6c11
  bcdDevice 1.00
  iManufacturer 1 HP
  iProduct 2 Photosmart C4400 series
  iSerial 3 CN878HG0DW0557
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 124
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 2mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 204
      bInterfaceProtocol 0
      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 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x08 EP 8 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 0x89 EP 9 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x06 EP 6 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 0x87 EP 7 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 212
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x06 EP 6 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 0x87 EP 7 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 3
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 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 0x85 EP 5 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
Device Status: 0x0001
  Self Powered

Revision history for this message
derekw (derek-wickersham) said :
#8

I added my user to the "usb" group, logged out, logged back in, and *poof* -- the printer started printing all of these queued jobs that were waiting to go. I didn't have to change the permissions on the /proc/bus/usb device.

Apparently I did have a duplicate entry for the printer, so I removed one of them.

I am also able to scan, which was the primary objective. Thanks for the help, folks.