From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 17:38:05 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0EB41065673 for ; Sat, 14 Mar 2009 17:38:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB538FC12 for ; Sat, 14 Mar 2009 17:38:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RCm3F3yzGhgzEp0jo5wA:9 a=THeKh3tpaPaloglMik8A:7 a=HKQww18MluAZ-phJi-mdhOxKkpsA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1040811010; Sat, 14 Mar 2009 18:38:03 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 14 Mar 2009 18:40:33 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141840.33955.hselasky@c2i.net> Cc: Alexander Best Subject: Re: problem with usb printer X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 17:38:06 -0000 On Saturday 14 March 2009, Alexander Best wrote: > hi there. > > i'm having a problem with my usb printer. it's being recognised as ulpt0, > but i cannot print. i'm using the cups port for printing. i've set > hw.usb2.ulpt.debug=15 and this is the output: > > uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling port 2 > ugen0.3: at usbus0 > ulpt_probe:472: > ulpt_attach:498: sc=0xc6f6be80 > ulpt0: 1.10/1.00, addr 3> on usbus0 > ulpt_attach:538: setting alternate config number: 0 > ulpt0: using bi-directional mode > ulpt_reset:164: > ulpt_write_callback:203: state=0x0 > ulpt_write_callback:203: state=0x1 > ulpt_write_callback:203: state=0x1 > ulpt_write_callback:203: state=0x2 > > after turning off the device i constantly get this output: > > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > ulpt_status_callback:328: error=USB_ERR_STALLED > > the cups daemon cannot be stopped (even with kill -9) and none of the lp* > apps work anymore. also i'm not able to attach any new usb devices. so a > reboot is the only solution that worked in order to get my computer fully > operational again. What happens if you try to reset the usb device? Maybe you could press CTRL + ALT + ESC and dump all the threads or at least threads having the word "ulpt" in the function names in the backtrace? --HPS