Re: [linux-usb-devel] about file_storage.c

2006-08-22 Thread Alan Stern
On Tue, 22 Aug 2006, Peter.Chen wrote: > Grab the packet at windowsXP host using BUSHound.I can find below unusual > log: > . > 14 DO 55 53 42 43 - 48 35 8a 81 - 00 00 01 00 - 80 00 0a 28 00 00 > 0c f6 - 77 00 00 80 - 00 00 00 00 - 00 00 00 2.0ms > > 14 DI 82

Re: [linux-usb-devel] about file_storage.c

2006-08-21 Thread Alan Stern
On Mon, 21 Aug 2006, Peter.Chen wrote: > > > 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 -1

Re: [linux-usb-devel] about file_storage.c

2006-08-21 Thread Peter.Chen
On Sun, 2006-08-20 at 13:31 -0400, Alan Stern wrote: > On Sun, 20 Aug 2006, Peter.Chen wrote: > > > I wouder what causes -104 error? > > That error means the request was cancelled. If the request was cancelled,the copy is aborted or not? If the software is pretty ok,it can go on copying after we

Re: [linux-usb-devel] about file_storage.c

2006-08-20 Thread Peter.Chen
Thx On Sun, 2006-08-20 at 13:31 -0400, Alan Stern wrote: > 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

Re: [linux-usb-devel] about file_storage.c

2006-08-20 Thread Alan Stern
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 requ

Re: [linux-usb-devel] about file_storage.c

2006-08-19 Thread Peter.Chen
On Sat, 2006-08-19 at 10:45 -0400, Alan Stern wrote: > 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 ol

Re: [linux-usb-devel] about file_storage.c

2006-08-19 Thread Alan Stern
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 re

Re: [linux-usb-devel] about file_storage.c

2006-08-18 Thread Alan Stern
On Fri, 18 Aug 2006, Peter.Chen wrote: > Hi,all > when i copy files from host to device or from device to host, > > i often meet such message "g_file_storage gadget: bulk reset > request",as i received "SETUP 21.ff v i l",after receiving > it,my kernel is dead,no oops error