On Sat, 19 Aug 2006, Peter.Chen wrote: > thx Alan > > My host linux kernel is 2.6.11.10.is it old kernel or recent one? > and what causes the port reset fails?software's or hardware's?
Everything before 2.6.13 counts as an old kernel, so your kernel uses bulk reset requests. Generally, port reset failures are caused by hardware, not software. > yeah,i never get SETUP 21.ff v0000 i0000 l0000 at Windows host. > > But at WindowsXP host,i can get > g_file_storage gadget: bulk_out_complete --> -104 > At that situation,i read CBW.The CBW is error. > 0: 00 1e 45 ff 00 00 02 00 08 00 00 00 80 00 0a 25 > 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 The -104 means the request was cancelled, so of course the CBW is invalid. > Almost,i get above error when i read the data from device to host > and after get above error,the copy will abort. > But i can go on read the data from the device to host. I don't understand. How can you go on to read data from the device to the host if the device has aborted and isn't sending any data? Do you mean that you can start another copy and it will work? > usually,the next read from device is right. > and i get such error after copy data 5-6 hours(a batch at windows,one > read+one write....). > Now,i wonder is it software error or hardware error? > if software's,what causes it? I can't tell for sure without seeing the debugging log from g_file_storage. If it occurs after 5-6 hours then it's probably a hardware error. 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