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: Write takes too long to return



Hey Mark,

We have a bug on this already, and we are looking at what we can do to fix it without breaking anything else.

It has to do with the fact that the port in question shares a Full Speed controller with the internal keyboard/trackpad, which gets suspended when it is not being used to save power.

You can mitigate this most easily by using a different port.

You can also insert a High Speed hub, which uses a different controller.

Other than that, just know that we are aware of the issue and are working on a solution.

----------------------------
Rhoads Hollowell
USB Software Team
Apple Inc.


On Mar 9, 2007, at 10:15 AM, Mark Cookson wrote:

We’re streaming isoc audio on a MacBook or MacBook Pro and getting occasional dropouts of audio that we’ve traced to being stalled for about 10-20ms in a call to pipe->Write().



Also, it appears that the problem only happens on the rearmost USB port on the MacBook, and it only happens after you press a key after you haven’t pressed any keys for a while.The question is, what can we do to avoid this? Are we somehow holding a lock that IOUSBFamily needs? Could we change our order of operations to fix this? Should we not be requesting an interrupt with every frame (low latency isoc with updateFrequency = 1)? The fact that it only happens on one MacBook port is very suspicious and makes me worried that we can’t actually fix it on our end, but are there steps we can take to mitigate its effects?
_______________________________________________
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: 
 >Write takes too long to return (From: "Mark Cookson" <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.