Mailing Lists: Apple Mailing Lists

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

ControlRequestTO Timeouts



I've noticed that no matter how small of a time out value I specify, it always takes at least two seconds and sometimes 3 seconds for a ControlRequestTO call from user space on pipeRef 0.

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?

Here are some examples from USB Prober where multiple requests are being made immediately after each other:
177.481 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fac828, 0x20ecb80, e0004051)
179.481 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fac7bc, 0x20ecb80, e0004051)
181.481 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fac750, 0x20ecb80, e0004051)
183.481 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fac6e4, 0x20ecb80, e0004051)
185.481 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fac678, 0x20ecb80, e0004051)


812.471 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fae1e4, 0x20ecb80, e0004051)
814.471 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fae178, 0x20ecb80, e0004051)
817.471 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fae0e8, 0x20ecb80, e0004051)
819.471 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fae07c, 0x20ecb80, e0004051)
821.471 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fae010, 0x20ecb80, e0004051)
823.471 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fadfa4, 0x20ecb80, e0004051)


1014.468 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fada04, 0x20ecb80, e0004051)
1016.468 [1] +AppleUSBOHCI[0x20e0000]::ReturnOneTransaction(0x9fad734, 0x20ecb80, e0004051)


Let me know if there is any additional information I can provide to help with this,

Dave Koziol
VP of Engineering
IOXperts, Inc.
_______________________________________________
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.



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.