You are not logged in.
Pages: 1
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
Try SUBSYSTEM=="usbmisc"
Offline
This works for me (for other kind of USB device, though):
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffa", PROGRAM=whatever
Offline
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
Pages: 1