RE: [linux-usb-devel] question about mass storage gadget

2005-07-15 Thread Alan Stern
On Fri, 15 Jul 2005, Li Yang-r58472 wrote: > Seems I didn't state the problem clearly. I agree that there is no > problem with the mass-storage gadget driver. But the problem becomes > how to deal with host's clear_feature request in device controller > driver. Do we need to check the queue in

RE: [linux-usb-devel] question about mass storage gadget

2005-07-15 Thread Li Yang-r58472
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 14, 2005 10:01 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: RE: [linux-usb-devel] question about mass storage gadget > > On Thu, 14 Jul 20

RE: [linux-usb-devel] question about mass storage gadget

2005-07-14 Thread Alan Stern
On Thu, 14 Jul 2005, Li Yang-r58472 wrote: > Ok. Let's change the situation to that client reply shorter DATA than > host CBW requested. There will be a stall and CSW. Yes, that happens normally. > > > At this time, the bulk-in ep is halted, there is a CSW request queued in > > > the bulk-in e

RE: [linux-usb-devel] question about mass storage gadget

2005-07-13 Thread Li Yang-r58472
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 13, 2005 10:21 PM > To: Li Yang-r58472 > Cc: linux-usb-devel@lists.sourceforge.net > Subject: Re: [linux-usb-devel] question about mass storage gadget > > On Wed, 13 Jul 20

Re: [linux-usb-devel] question about mass storage gadget

2005-07-13 Thread Alan Stern
On Wed, 13 Jul 2005, Li Yang-r58472 wrote: > Hi, >   > While I was working on a device controller driver tested with mass > storage, I got a question regarding on the stall condition.  For mass > storage device, the driver stalls the bulk-in ep when there is an error > processing CBW.  Then the ho

[linux-usb-devel] question about mass storage gadget

2005-07-12 Thread Li Yang-r58472
Hi,   While I was working on a device controller driver tested with mass storage, I got a question regarding on the stall condition.  For mass storage device, the driver stalls the bulk-in ep when there is an error processing CBW.  Then the host will send clear_feature to clear the halt conditio