Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 456314

Summary: net-print/foo2zjs-99999999 uses hotplug scripts to upload firmware to printers
Product: Gentoo Linux Reporter: Roman Belov <romblv>
Component: Current packagesAssignee: Printing Team <printing>
Status: UNCONFIRMED ---    
Severity: normal CC: ostroffjh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=145809
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Belov 2013-02-09 14:36:01 UTC
sys-apps/hotplug package has been removed recently (refer to #145809). But net-print/foo2zjs uses hotplug scripts to upload firmware when printer is plugged in.

So, printing does not work until I do the thing like

# /etc/hotplug/usb/hplj1018 /dev/bus/usb/001/006



Reproducible: Always
Comment 1 Roman Belov 2013-12-30 22:57:15 UTC
I was found that hotplug script is completely broken from now. Printer was not recognized as valid usb device after firmware upload.

5863 Dec 30 23:14:37 fakemoon kernel: usb 1-4: new high-speed USB device number 5 using xhci_hcd
5864 Dec 30 23:14:42 fakemoon kernel: usb 1-4: device descriptor read/8, error -110
5865 Dec 30 23:14:47 fakemoon kernel: usb 1-4: device descriptor read/8, error -110

Now I am forced to use own bash script,

export DEVICE_URI="usb://HP/LaserJet%201018?serial=KP3CB8W"
/usr/libexec/cups/backend/usb 1 root firmware 1 0 /usr/share/foo2zjs/firmware/sihp1018.dl

and udev rule.

SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4117", RUN+="/root/hplj1018"
Comment 2 Roman Belov 2013-12-31 18:35:45 UTC
Sorry for bad english in previous comment.
Comment 3 Jack 2020-07-17 23:34:06 UTC
I think things have changed, as this seems to work now for me with an HP Laserjet P1505.