Reference

usb_printerid(1)

usb_printerid - prints the ID of the printer on a USB port usb_printerid [options] /dev/usb/lpNNN usb_printerid prints the identification of the printer on a USB port using the ioctl control LPIOC_GET_DEVICE_ID.

Print the USB info before and after downloading the firmware.

# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\
DES:HP LaserJet 1020;
# cp /lib/firmware/hp/sihp1020.dl /dev/usb/lp0
# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\
DES:HP LaserJet 1020;FWVER:20050309;

/usr/bin/usb_printerid, /lib/firmware/hp/* arm2hpdl(1) Rick Richardson <[email protected]>
http://foo2zjs.rkkda.com/

History