Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bulk Transaction timeouts



On Jul 21, 2005, at 2:32 AM, Florent Pillet wrote:

That did it! When I receive a timeout, calling ClearPipeStallBothEnds gets the endpoint back on its feet, and transactions can continue. Thanks for the tip, David, it wasn't even targeted to me but it turns out it helped a lot!


I would like to point out that this is specified in the documentation for ReadPipeTO:

If a timeout is specified and the request times out, the driver may need to resynchronize the data toggle. See ClearPipeStall or ClearPipeStallBothEnds .
Timeouts do not apply to interrupt pipes, so you should use the ReadPipe call to perform a read from an interrupt pipe.

available in your hard drive at:

file:///Developer/ADC%20Reference%20Library/documentation/Darwin/Reference/IOKit/IOUSBLib/Classes/IOUSBInterfaceInterface190/Functions/Functions.html#//apple_ref/doc/inheritedContent/IOUSBInterfaceInterface190/ReadPipeTO/168

--
Fernando Urbina
USB Technology Team
Apple Computer, Inc.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >Bulk Transaction timeouts (From: Mike Smith <email@hidden>)
 >Re: Bulk Transaction timeouts (From: David Ferguson <email@hidden>)
 >Re: Bulk Transaction timeouts (From: Florent Pillet <email@hidden>)
 >Re: Bulk Transaction timeouts (From: Florent Pillet <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.