> Date: Thu, 15 Jul 2004 20:11:10 -0700 > From: David Brownell <[EMAIL PROTECTED]> > > Todd Fischer wrote: > > Am I missing something or is one of the other UDC APIs (like > flush or queue) > > suppose to also clear the stall? > > The USB host is supposed to clear it. I think the current 2.6 > kernels behave right there, but I'm not sure about older > Linuxes or other operating systems. > > Out of curiosity, what UDC are you using? The ones I know > about so far don't have both ep1in and ep1out. > > - Dave
Dave, the host never sees the stall condition until after the SCSI status is sent back. If I put in some debug statements, then the timing changes enough and the host does see and clear the stall okay. With debug off, the host sends a new SCSI request without detecting the stall so the packet containing the new SCSI command is stalled. I am developing a UDC for the TI DM270 which has a UDC tailored for a digital camera use model. I had to create separate ep1in and ep1out endpoint instead of a single bidi ep to make file_storage.c (and zero.c) happy. Todd ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
