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: ControlRequestTO Timeouts



On 10/6/03 11:00 AM, "Dave Koziol" <email@hidden> wrote:

> Also interesting, is that it seems to be exactly 2 seconds or exactly 3
> seconds.
> 
> If I use the default, or increase my time out to something great than 2
> seconds, I get the expected longer timeout, so I think my code is
> behaving correctly.
> 
> Is there anything I can do to make these timeouts happen quicker?


The granularity of the timeout mechanism is 1 second and this is
asynchronous to when you submit the request.  So, every second we will see
if your transaction has exceeded its timeout value and if so, it will return
the transaction with timeout.

What version of the OS are you running?  Can you try with 10.2.8 (or
anything later if you have access to it ;-)?

We had a bug that I believe we fixed (checking on it) where we would time
out each phase of a control transaction, instead of the whole device request
(Control transactions are made up of 2 or 3 different transactions on the
bus:  Setup, Status, and Data if needed).  So, if you specified a timeout,
it would actually be returned to you in 2*timeout or 3*timeout.


-- 
Fernando Urbina                            mailto:email@hidden
USB Technology Team                           work: 719.534.9387
Apple Computer, Inc.                           fax: 719.532.0981
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >ControlRequestTO Timeouts (From: Dave Koziol <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.