From owner-freebsd-current@FreeBSD.ORG Thu Nov 13 18:33:39 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD641065690 for ; Thu, 13 Nov 2008 18:33:39 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 051DA8FC19 for ; Thu, 13 Nov 2008 18:33:38 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 13 Nov 2008 18:33:36 -0000 Received: from 85-127-251-132.dynamic.xdsl-line.inode.at (EHLO taxman.pepperland) [85.127.251.132] by mail.gmx.net (mp049) with SMTP; 13 Nov 2008 19:33:36 +0100 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1+V135i33aVY1cUv+3oumRm8t2v7j7fXkUEsYQIly E4p1hYTNvOXLUw From: Stefan Ehmann To: Hans Petter Selasky Date: Thu, 13 Nov 2008 19:33:35 +0100 User-Agent: KMail/1.10.3 (FreeBSD/7.1-PRERELEASE; KDE/4.1.3; i386; ; ) References: <200811071134.42761.shoesoft@gmx.net> <200811131735.31998.shoesoft@gmx.net> <200811131804.01754.hselasky@c2i.net> In-Reply-To: <200811131804.01754.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811131933.36709.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 Cc: freebsd-current@freebsd.org Subject: Re: usb2: scanner no longer working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 18:33:39 -0000 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.