CUPS printing problem with USB

Gregory Boyce gboyce at badbelly.com
Thu Dec 18 18:36:19 EST 2003


I have a similiar problem with my system occasionally.  

Try stopping cups, and grepping your running processes for "serial".  I
have a process "/usr/lib/cups/backend/serial" which sticks around.  If I
kill it, and start cups back up, things are fine.

I don't print much, so I haven't tracked down a better solution yet, but
it's worth checking if it's the same issue.

On Thu, 2003-12-18 at 10:53, Greg Rundlett wrote:
> I celebrated earlier this week having finally connected Open Office
> and Mozilla to CUPS through KPrinter so that I could actually print
> things from the applications that I use constantly.  All of a sudden
> (without changing anything that I'm aware of), CUPS can't open my USB
> device.
> 
> Here is what I see in the CUPS web interface
> (http://spidey.buzgate.org:631/printers/spideyPrinter)
> Description: hp DeskJet 5550
> Location: Greg's Desk
> Printer State: processing, accepting jobs. 
> "Unable to open USB device
> "usb://hp/deskjet%205550?serial=MY29P1N4G32L": No such device" 
> Device URI: usb://hp/deskjet%205550?serial=MY29P1N4G32L
> 
> I've restarted CUPS, no love.
> 
> cat /proc/bus/usb/devices
> 
> seems to show (not implying that I can decipher this output) that
> there is the proper device:
> 
> T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc= 93/900 us (10%), #Int=  1, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=ec00
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=03f0 ProdID=6004 Rev= 1.00
> S:  Manufacturer=hp
> S:  Product=deskjet 5550
> S:  SerialNumber=MY29P1N4G32L
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=046d ProdID=c00e Rev=11.10
> S:  Manufacturer=Logitech
> S:  Product=USB-PS/2 Optical Mouse
> C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
> E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
> T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=e800
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=e400
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
> B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.04
> S:  Manufacturer=Linux 2.4.18-14 ehci-hcd
> S:  Product=Intel Corp. 82801DB USB EHCI Controller
> S:  SerialNumber=00:1d.7
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
> 
> 
> Anyone have insight into this problem?
> 
> 
> 
> -- 
> FREePHILE
> We are 'Open' for Business
> Free and Open Source Software
> http://www.freephile.com
> (978) 270-2425
> Dave Mack:	"Your stupidity, Allen, is simply not up to par."
> Allen Gwinn:	"Yours is."
-- 
Gregory Boyce <gboyce at badbelly.com>




More information about the Discuss mailing list