From: Gernot H. <aik...@gm...> - 2015-09-21 18:44:57
|
On Tue, Sep 22, 2015 at 3:38 AM, Solomon Peachy <pi...@sh...> wrote: > On Tue, Sep 22, 2015 at 03:28:53AM +0900, Gernot Hassenpflug wrote: >> Does getusbprinterid.pl work on the new libusb devices? > >> root@hase:/usr/share/system-config-printer# ./getusbprinterid.pl >> /dev/bus/usb/010/003 >> Died at ./getusbprinterid.pl line 12. Hello Solomon, > Same things happens on my x86_64 system: > > Bus 001 Device 007: ID 04f9:0039 Brother Industries, Ltd HL-5340 series > > perl getusbprinterid.pl /dev/bus/usb/001/007 > Died at /home/pizza/getusbprinterid.pl line 12. > > And the CUPS USB backend finds it just fine: > > /usr/lib/cups/backend/usb > direct usb://Brother/HL-5340D%20series?serial=M9J473381 "Brother HL-5340D series" "Brother HL-5340D series" "MFG:Brother;CMD:PJL,PCL,PCLXL;MDL:HL-5340D series;CLS:PRINTER;" "" > > Come to think of it, any reason you can't just invoke the CUPS USB backend to get the IEEE1284 ID? Good point, I did not know I could do that! However, only the iP4500 is found: root@hase:/home/hase/src/gutenprint/print-compile/src/testpattern# /usr/lib/cups/backend/usb DEBUG: Loading USB quirks from "/usr/share/cups/usb". DEBUG: Loaded 127 quirks. DEBUG: list_devices DEBUG: libusb_get_device_list=20 DEBUG2: Printer found with device ID: MFG:Canon;CMD:BJL,BJRaster3,BSCCe,PLI;SOJ:TXT01;MDL:iP4500 series;CLS:PRINTER;DES:Canon iP4500 series;VER:1.000;STA:10;FSI:03;HRI:JP;MSI:AOFF,BOFF,DAT,E3; Device URI: usb://Canon/iP4500%20series?serial=200E70 direct usb://Canon/iP4500%20series?serial=200E70 "Canon iP4500 series" "Canon iP4500 series" "MFG:Canon;CMD:BJL,BJRaster3,BSCCe,PLI;SOJ:TXT01;MDL:iP4500 series;CLS:PRINTER;DES:Canon iP4500 series;VER:1.000;STA:10;FSI:03;HRI:JP;MSI:AOFF,BOFF,DAT,E3;" "" No mention of the MP10/MPC200. Weird. Regards, Gernot Hassenpflug |