Re: usb2: scanner no longer working

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Thu, 13 Nov 2008 19:33:35 +0100
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.
Received on Thu Nov 13 2008 - 17:33:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC