P1505 firmware download is broken

Asked by Daniel D.

It looks like the firmware itself might be broken based on the led sequence (constant on the error LED while the device warms up, then green led when warmup stops, but no sound of 'initializing things'...(i.e. paper feed, toner?) and the device is not actually accessible.

The syslog reveals:

Oct 25 05:26:34 daniloth kernel: [18554.649001] usb 1-2.5: SerialNumber: CA3396E
Oct 25 05:26:34 daniloth logger: loading hp_laserjet_p1505 firmware 001 028
Oct 25 05:26:35 daniloth logger: loading hp_laserjet_p1505 firmware 1 28
Oct 25 05:26:38 daniloth kernel: [18558.469950] usblp0: removed
Oct 25 05:26:43 daniloth python: io/hpmud/musb.c 136: unable get_string_descriptor -110: Connection timed out
Oct 25 05:26:43 daniloth python: io/hpmud/musb.c 603: invalid product id string ret=-110
Oct 25 05:26:43 daniloth kernel: [18563.705959] usb 1-2.5: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
Oct 25 05:26:43 daniloth python: io/hpmud/musb.c 1104: unable to open hp:/usb/HP_LaserJet_P1505?serial=CA3396E
Oct 25 05:26:43 daniloth python: hp-firmware[19841]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_P1505?serial=CA3396E
Oct 25 05:26:43 daniloth python: hp-firmware[19841]: error: Error opening device (Device not found). Exiting.

But it was working before I did a reinstall of Debian 5.0.3 and decided to try HPLIP instead of foo2zjs. Bad move.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel D.
Solved:
Last query:
Last reply:

This question was originally filed as bug #460288.

Revision history for this message
Daniel D. (cshoredaniel-deactivatedaccount) said :
#1

Ok, the LED sequence wasn't what I remembered:

The circle (green) LED and warning (amber) LED flash together for a while, then the warning (amber) LED flashes, at different speed, before finally giving up and going to pure green.

Revision history for this message
Daniel D. (cshoredaniel-deactivatedaccount) said :
#2

hp-check[20480]: info: :
Initializing. Please wait...
Debian

5.0.3

scheduler is running

1.3.8

Linux daniloth 2.6.26-2-amd64 #1 SMP Mon Oct 19 02:34:17 UTC 2009 x86_64 GNU/Linux

hp-check[20480]: info: :
hp-check[20480]: info: :---------------
hp-check[20480]: info: :| SYSTEM INFO |
hp-check[20480]: info: :---------------
hp-check[20480]: info: :
hp-check[20480]: info: :[01mBasic system information:[0m
hp-check[20480]: info: :Linux daniloth 2.6.26-2-amd64 #1 SMP Mon Oct 19 02:34:17 UTC 2009 x86_64 GNU/Linux

hp-check[20480]: info: :
hp-check[20480]: info: :[01mDistribution:[0m
hp-check[20480]: info: :debian 5.0.3
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking Python version...[0m
hp-check[20480]: info: :OK, version 2.5.2 installed
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking PyQt 4.x version...[0m
hp-check[20480]: info: :OK, version 4.4.2 installed.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for CUPS...[0m
hp-check[20480]: info: :Status: scheduler is running
hp-check[20480]: info: :Version: 1.3.8
hp-check[20480]: info: :error_log is set to level: warn
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[20480]: info: :dbus daemon is running.
hp-check[20480]: info: :python-dbus version: 0.82.4
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :------------------------------------
hp-check[20480]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[20480]: info: :------------------------------------
hp-check[20480]: 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[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: CUPS - Common Unix Printing System...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: CUPS DDK - CUPS driver development kit...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: CUPS devel- Common Unix Printing System development files...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: CUPS image - CUPS image development files...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: DBus - Message bus system...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: gcc - GNU Project C and C++ Compiler...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: libcrypto - OpenSSL cryptographic library...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: libjpeg - JPEG library...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP networking library development files...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: libpthread - POSIX threads library...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: libtool - Library building support services...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: PolicyKit - Administrative policy framework...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support for PyQt4...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Python DBus - Python bindings for DBus...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Python devel - Python development files...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Python XML libraries...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Python 2.2 or greater - Python programming language...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: Reportlab - PDF library for Python...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: SANE - Scanning library development files...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :----------------------
hp-check[20480]: info: :| HPLIP INSTALLATION |
hp-check[20480]: info: :----------------------
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[20480]: info: :HPLIP 3.9.8 currently installed in '/usr/share/hplip'.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[20480]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.8
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
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.9.8.36
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no

hp-check[20480]: info: :
hp-check[20480]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[20480]: info: :[plugin]
eula = 1
installed = 1

hp-check[20480]: info: :
hp-check[20480]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[20480]: info: :[last_used]
printer_name = HP_LaserJet_P1505
working_dir = .
device_uri = "hp:/usb/HP_LaserJet_P1505?serial=CA3396E"

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.8.36
date_time = 25/10/09 05:46:18

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

hp-check[20480]: info: :
hp-check[20480]: info: :--------------------------
hp-check[20480]: info: :| DISCOVERED USB DEVICES |
hp-check[20480]: info: :--------------------------
hp-check[20480]: info: :
hp-check[20480]: info: : Device URI Model
hp-check[20480]: info: : -------------------------------- -----------------
hp-check[20480]: info: : hp:/usb/HP_LaserJet_P1505?serial HP LaserJet P1505
  =CA3396E
hp-check[20480]: info: :
hp-check[20480]: info: :---------------------------------
hp-check[20480]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[20480]: info: :---------------------------------
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :[01mHP_LaserJet_P1505[0m
hp-check[20480]: info: :[01m-----------------[0m
hp-check[20480]: info: :Type: Printer
hp-check[20480]: info: :Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA3396E
hp-check[20480]: info: :PPD: /etc/cups/ppd/HP_LaserJet_P1505.ppd
hp-check[20480]: info: :PPD Description: HP LaserJet p1505 hpijs, 3.9.8.36
hp-check[20480]: info: :Printer status: printer HP_LaserJet_P1505 disabled since Sun 25 Oct 2009 05:39:52 AM EDT -
 Filter "foomatic-rip-hplip" for printer "HP_LaserJet_P1505" not available: No such file or directory

hp-check[20480]: info: :Required plug-in status: Installed
hp-check[20480]: info: :Communication status: Good
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :----------------------
hp-check[20480]: info: :| SANE CONFIGURATION |
hp-check[20480]: info: :----------------------
hp-check[20480]: info: :
hp-check[20480]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[20480]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[20480]: 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[20480]: info: :
hp-check[20480]: info: :---------------------
hp-check[20480]: info: :| PYTHON EXTENSIONS |
hp-check[20480]: info: :---------------------
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[20480]: info: :OK, found.
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :
hp-check[20480]: info: :-----------------
hp-check[20480]: info: :| USB I/O SETUP |
hp-check[20480]: info: :-----------------
hp-check[20480]: info: :
hp-check[20480]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[20480]: info: :
HP Device 0x3f17 at 001:030:
hp-check[20480]: info: : Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA3396E
hp-check[20480]: info: : Device node: /dev/bus/usb/001/030
hp-check[20480]: info: : Mode: 0664
hp-check[20480]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/001/030

# owner: lp

# group: lp

user::rw-

group::rw-

other::r--

hp-check[20480]: info: :
hp-check[20480]: info: :---------------
hp-check[20480]: info: :| USER GROUPS |
hp-check[20480]: info: :---------------
hp-check[20480]: info: :
hp-check[20480]: info: :daniel adm disk lp dialout cdrom floppy tape audio dip backup src utmp video plugdev scanner netdev powerdev partimag fuse uml-net swat pulse pulse-access pulse-rt kvm dlight-archive dlight-incoming incoming daniel-read iceweasel-daniel xuser-daniel merlin daniel-doc-read winbak tftp iceweasel2-daniel kqemu ooo2-daniel daniel-www-data ooo-users-daniel cshore-archive

hp-check[20480]: info: :
hp-check[20480]: info: :-----------
hp-check[20480]: info: :| SUMMARY |
hp-check[20480]: info: :-----------
hp-check[20480]: info: :
hp-check[20480]: info: :[32;01mNo errors or warnings.[0m
hp-check[20480]: info: :
hp-check[20480]: info: :Done.

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#3

Sorry for inconvenience! Since this site is for Linux driver support, please contact below link for firmware support.
http://h10025.www1.hp.com/ewfrf/wc/product?product=3435668&lc=en&cc=us&dlc=en&lang=en&cc=us#

Thank you for supporting HPLIP,
Naga Samrat.

Revision history for this message
Daniel D. (cshoredaniel-deactivatedaccount) said :
#4

Um, just to clarify the problem is with the firmware that is downloaded by HPLIP, and probably doesn't affect Windows users. Will HP still help with that, or will they send me back here (which is my previous experience). What firmware does HPLIP use? Is it the same version as the Windows version? If not, or if the firmrware might work/not work because of differences between Windows and Linux, this is an HPLIP thing.

Basically, that last time I mentioned Linux, I got told to talk to HPLIP, so I'm reluctant to go through HP's Windows support pages.

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#5

Please connect your plug-in printer to System.

Please download the required plugin from following web site.
http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.9.8-plugin.run

change the permission : "chmod +x hplip-3.9.8-plugin.run"
run the plugin "sh hplip-3.9.8-plugin.run"
Please post if any error messages come.

Now add your printer "su -c hp-setup"

Please let us know if the problem persists.

Thank you for supporting HPLIP,
Naga Samrat.

Revision history for this message
Daniel D. (cshoredaniel-deactivatedaccount) said :
#6

Ok, I tried that. No change. BTW to be clear I'm not using the HPLIP in Lenny, I installed 3.9.8 using the universal installer from the project download page. Like I said the problem appears to be the firmware, not HPLIP. Based on the diagnostic L.E.D. action I would say the firmware is causing an exception, or failing to complete or something like that on the printer and giving up. I don't suppose there's a way to get a serial console on it (I have RS232-TTL level shifters if need be).

Regards,

Daniel

Revision history for this message
anup (osta6161) said :
#7

HPLIP is LInux Printer driver solution to support HP printers. It does not upload any firmware on the device. If you face problem with the device hardware related issues than the vendor can help you out.

However , from your log provided below is the error message noticed:

Printer status: printer HP_LaserJet_P1505 disabled since Sun 25 Oct 2009 05:39:52 AM EDT -
Filter "foomatic-rip-hplip" for printer "HP_LaserJet_P1505" not available

Also, It seems somehow the configuration of the installation was not correct.

Can you please reinstall HPLIP? Below link can help you out in manual installation steps

http://hplipopensource.com/hplip-web/install/manual/distros/debian.html

Please note separate configure settings are for 32 bit and 64 bit OS. If you still face problem after re-installing than run hp-check -t and post it here.

Thanks,

A

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

>
> It does not upload any firmware on the device.
>

That is incorrect. The p1005 requires a firmware upload from the host.

On Fri, Oct 30, 2009 at 4:11 AM, anup <email address hidden> wrote:

> HPLIP is LInux Printer driver solution to support HP printers. It does
> not upload any firmware on the device. If you face problem with the
> device hardware related issues than the vendor can help you out.
>
> However , from your log provided below is the error message noticed:
>
> Printer status: printer HP_LaserJet_P1505 disabled since Sun 25 Oct 2009
> 05:39:52 AM EDT -
> Filter "foomatic-rip-hplip" for printer "HP_LaserJet_P1505" not available
>
> Also, It seems somehow the configuration of the installation was not
> correct.
>
> Can you please reinstall HPLIP? Below link can help you out in manual
> installation steps
>
> http://hplipopensource.com/hplip-web/install/manual/distros/debian.html
>
> Please note separate configure settings are for 32 bit and 64 bit OS. If
> you still face problem after re-installing than run hp-check -t and post
> it here.
>
> Thanks,
>
> A
>
> --
> P1505 firmware download is broken
> https://bugs.launchpad.net/bugs/460288
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

Revision history for this message
Daniel D. (cshoredaniel-deactivatedaccount) said :
#9

As noted the P1505 P1005, 1000, 1020 and some other HP low-end lasterjet printers do in fact load firmware and use proprietary plugins, which are handled by HPLIP.

I removed all traces of the HPLIP I downloaded, as well as the Debian package, rebooted and then reinstall the Debian package (2.8.6b), but before running hp-setup I downloaded http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-2.8.6b-plugin.run, ran hp-setup, and when prompted to download the plugin, or load from file, I loaded from file (downloading from within hp-setup doesn't work). The print test page from within the hp-setup didn't work, but I power cycled the printer and then used hp-toolbox to print a test page, which did work. So my printer now works.

I think the problem was failing to remove the package from Debian before installing the downloaded version.

Now, how do I save the plugin and firwmare files so that I can restore those files without a download, in the event that I'm reinstalling and want to make sure I don't end up with a broken firmware because of changes on HP's or HPLIP's servers?

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) said :
#10

You can save hplip-2.8.6b-plugin.run file.
when ever you want to restore plugin or firmware files you can execute hp-plugin and give hplip-2.8..6b-plugin.run file path.

Thank you for supporting HPLIP,
Naga Samrat.

Revision history for this message
anup (osta6161) said :
#11

Check out the path /usr/share/hplip/data/firmware for firmware. And for plugin,and plugin path should be /usr/share/hplip/prnt/plugins

Thanks,

A

Revision history for this message
anup (osta6161) said :
#12

This bug is more like a question. So , moving the same to questions. This will help other HPLIP users in future for better search n trouble-shooting with similar issue.

Thanks,

A

Revision history for this message
anup (osta6161) said :
#13

Correcting the status of question!

Revision history for this message
Daniel D. (cshoredaniel-deactivatedaccount) said :
#14

No longer have this printer