On Sun, Jun 12, 2011 at 04:55:49PM +0200, Till Kamppeter wrote: > The fix is simple. The firmware uploader script needs to determine > whether usblp is loaded or not, and if it is not loaded and the CUPS > filter /usr/lib/cups/filter/usb exists, it should run a command line > like this ("1020" replaced by actual model number): > > for uri in `sudo /usr/lib/cups/backend/usb | grep -i > 'HP.*LaserJet.*1020' | grep -v FWVER | cut -d ' ' -f 2`; do echo > $uri; sudo DEVICE_URI="$uri" /usr/lib/cups/backend/usb 1 1 1 1 '' > /lib/firmware/hp/sihp1020.dl; done > > This goes through all devices of the given model which do not have > firmware loaded yet and load the firmware into them using the "usb" > CUPS backend. As the usblp module is blacklisted by the CUPS > package, this is sufficient to solve the problem.
Why is this not being done at a lower level, e.g. via udev or other existing hotplug mechanisms? Firmware-loading for /any/ device is not the remit of cups, and it's really not cups' call to disable any module loading. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature