Comment # 96 on bug 920937 from
(In reply to Johannes Meixner from comment #95)
> Ian Powell,
> I am missing the "usbreset" in your comment#94.
> 
> Please use plain "/usr/lib/cups/backend/usb" without "2>/dev/null"
> because we are interested in its debug messages.
> 
> I had mentioned "2>/dev/null" only FYI as explanation
> how things work, cf. comment#91

I'll try again.

> Pre-Test:  Add printer in CUPS web admin
Forward print job data like a pipe to another command, Serial Port #1,HP
Printer (HPLIP),LPT #1 

> lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  
Bus 006 Device 002: ID 09da:000a A4Tech Co., Ltd. Optical Mouse Opto 510D /
OP-620D                         
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                  
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                  
Bus 001 Device 005: ID 04e8:329f Samsung Electronics Co., Ltd CLP-325 Color
Laser Printer                    
Bus 001 Device 002: ID 04a9:2213 Canon, Inc. CanoScan LiDE 50/LiDE 35/LiDE 40   
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  
Bus 004 Device 002: ID 046d:c31d Logitech, Inc. Media Keyboard K200             
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                  
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  

> ./usbreset /dev/bus/usb/001/005
Resetting USB device /dev/bus/usb/001/005
Reset successful

> strace -o cups-backend-usb.strace -f /usr/lib/cups/backend/usb
DEBUG: Loading USB quirks from "/usr/share/cups/usb".
DEBUG: Loaded 123 quirks.
DEBUG: list_devices
DEBUG: libusb_get_device_list=11
DEBUG2: Printer found with device ID:
MFG:Samsung;CMD:SPL,PCL5E,PCL6,FWV,EXT;MDL:CLP-320
Series;CLS:PRINTER;STATUS:IDLE; Device URI:
usb://Samsung/CLP-320%20Series?serial=Z4PGBAGB400971X
direct usb://Samsung/CLP-320%20Series?serial=Z4PGBAGB400971X "Samsung CLP-320
Series" "Samsung CLP-320 Series"
"MFG:Samsung;CMD:SPL,PCL5E,PCL6,FWV,EXT;MDL:CLP-320
Series;CLS:PRINTER;STATUS:IDLE;" ""

> Post-Test:  Add printer in CUPS web admin
Forward print job data like a pipe to another command, HP Printer (HPLIP),
Serial Port #1, LPT #1 


I'll attach the strace output for backend/usb


You are receiving this mail because: