Re: USB disconnects in 2.6.20-rc5 (but improved behaviour over earlier RCs)

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sun, 4 Feb 2007, Pete Zaitcev wrote:

> On Mon, 05 Feb 2007 14:16:50 +1100, Matt Doran <[email protected]> wrote:
> 
> > So I'm not sure whether these disconnects are the fault of the hardware 
> > or the USB layer, but I'd like to help track it down.  Is there anything 
> > that I can do to help track down the cause of the disconnections?   Can 
> > I enable some debugging that might help track down these issues? Or run 
> > a difference kernel, etc.
> 
> I suppose you can run usbmon constantly and have it dumping the traffic
> in a file, if your disk is big enough. Then if the device disconnects,
> we'll see the preceeding traffic and may be able to make deductions.
> Please look if your system has this file:
>  /usr/share/doc/kernel-*/Documentation/usb/usbmon.txt
> 
> This is not guaranteed to work, because sometimes devices just disconnect
> for no good reason, e.g. if they have bad power or a cables are not shielded
> well. But I don't have better ideas.

Another possibility is a recently-discovered bug in the USB core.  Here is 
a patch to fix the bug; perhaps it will help solve your problem:

http://marc.theaimsgroup.com/?l=linux-usb-devel&m=117068738929326&w=2

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.