You are not logged in.

#1 2013-02-11 21:08:26

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

HP Laserjet P1005 can't load firmware

My printer stops working few days ago. After searching problem I've found that I have to manually load firmware to printer with "hp-firmware" command every time when printer turns on. So there is some problem with udev, however I didn't do any changes to anything, so I'm wondering where is a problem.

rule file content this:

cat /etc/udev/rules.d/86-hpmud-hp_laserjet_p1005.rules

# Load hp firmware for this printer.

ACTION!="add", GOTO="hpmud_rules_end"

# hp_laserjet_p1005 for Suse 10.3
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3d17", PROGRAM="/bin/sh -c 'logger -p user.info loading hp_laserjet_p1005 firmware $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-firmware -y3 -s$env{BUSNUM}:$env{DEVNUM} &'"

# hp_laserjet_p1005
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3d17", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.*}; D=$${X#*.}; logger -p user.info loading hp_laserjet_p1005 firmware $$B $$D; printf %%03i:%%03i $$B $$D'", RUN+="/bin/sh -c '/usr/bin/hp-firmware -y3 -s%c &'"

LABEL="hpmud_rules_end"

Have anyone idea what can be wrong ?

Last edited by LukynZ (2013-02-11 21:09:15)

Offline

#2 2013-02-12 04:28:15

bds
Member
Registered: 2004-02-27
Posts: 47

Re: HP Laserjet P1005 can't load firmware

Try SUBSYSTEM=="usbmisc"

Offline

#3 2013-02-12 10:59:58

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: HP Laserjet P1005 can't load firmware

This works for me (for other kind of USB device, though):

SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffa", PROGRAM=whatever

Offline

#4 2013-02-12 12:47:51

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: HP Laserjet P1005 can't load firmware

I had a laserjet p1005 and i had it running without any problem using https://aur.archlinux.org/packages/foo2zjs/ . Just remove hplip (if you're using them) and install foo2zjs and you'll be fine (at least, for me it worked flawlessly until a month ago, when i changed printer)

Offline

Board footer

Powered by FluxBB