Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456314 - net-print/foo2zjs-99999999 uses hotplug scripts to upload firmware to printers
Summary: net-print/foo2zjs-99999999 uses hotplug scripts to upload firmware to printers
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2013-02-09 14:36 UTC by Roman Belov
Modified: 2023-11-06 17:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.