[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#630228: Info received (Bug#630228: foo2zjs: Firmware upload is not compatible with cups)



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.

   Till



Reply to: