On Sun, 20 Aug 2006, Peter.Chen wrote:

> I wouder what causes -104 error?

That error means the request was cancelled.

>  I have a question,the error received
> error CBW causes -104 error,or -104 error causes it receives error CBW?

There is no direct connection.  g_file_storage cancels the request when it 
gets some sort of reset from the host.  Those -104 errors generally 
indicate that the host has reset the device.

> I find if it receives error CBW,the copy will be aborted after the host
> tries several resets.
> the debugging log are as belows:

You've got too much extra stuff in the debugging log.  Take out all your
messages and leave only DEBUG, VERBOSE, and DUMP_MSGS turned on in 
file_storage.c.

Have you tried using the "stall=n" option when you load g_file_storage?

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
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to