Date: Thu, 13 Nov 2008 19:33:35 +0100 From: Stefan Ehmann <shoesoft@gmx.net> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: usb2: scanner no longer working Message-ID: <200811131933.36709.shoesoft@gmx.net> In-Reply-To: <200811131804.01754.hselasky@c2i.net> References: <200811071134.42761.shoesoft@gmx.net> <200811131735.31998.shoesoft@gmx.net> <200811131804.01754.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 November 2008 18:04:00 Hans Petter Selasky wrote: > On Thursday 13 November 2008, Stefan Ehmann wrote: > > On Thursday 13 November 2008 16:57:55 Hans Petter Selasky wrote: > > > On Thursday 13 November 2008, Stefan Ehmann wrote: > > > > On Friday 07 November 2008 19:35:17 Hans Petter Selasky wrote: > > > > > On Friday 07 November 2008, Stefan Ehmann wrote: > > > > > > On Friday 07 November 2008 18:42:49 Hans Petter Selasky wrote: > > > > > > > On Friday 07 November 2008, Hans Petter Selasky wrote: > > You could also try: > > sysctl hw.usb2.dev.debug=15 I've tried several times but couldn't get a run where the scanning actually starts... The last commands I see are these: Nov 13 19:25:01 something kernel: usb2_transfer_done:2035: err=USB_ERR_NORMAL_COMPLETION Nov 13 19:25:01 something kernel: usb2_command_wrapper:2509: cb 0xc30280e0 (enter) Nov 13 19:25:01 something kernel: usb2_callback_wrapper:1882: case 1-4 Nov 13 19:25:01 something kernel: usb2_callback_wrapper_sub:2398: xfer=0xc30280e0 pipe=0xc33ba380 sts=0 alen=16, slen=16, afrm=2, nfrm=2 Nov 13 19:25:01 something kernel: usb2_do_request_callback:76: st=1 Nov 13 19:25:01 something kernel: usb2_command_wrapper:2511: cb 0 (leave) At this point I unplugged the scanner Nov 13 19:31:14 something kernel: usb2_get_pipe:170: udev=0xc33ba000 iface_index=0 address=0x2 type=0x2 dir=0x0 index=0 Nov 13 19:31:15 something kernel: usb2_get_pipe:170: udev=0xc33ba000 iface_index=0 address=0x2 type=0x2 dir=0x0 index=0 Nov 13 19:31:15 something kernel: usb2_sw_transfer:167: done err=USB_ERR_NORMAL_COMPLETION Nov 13 19:31:15 something kernel: usb2_transfer_done:2035: err=USB_ERR_NORMAL_COMPLETION > I have a patch which you can try. Apply to libusb20.c the following diff: Didn't notice any difference with the patch applied.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811131933.36709.shoesoft>