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: [OS X] Is ResetPipe() asyncronous...?



On 1/23/03 3:49 AM, MacInsight wrote:

> - the device is doing something very odd (technician: "...with
> MS-Windows, we have seen no similiar problems."  but, well, as far as
> I've heard in different OSs the USB specs are interpreted in different
> manners)

If you can point us to where in the spec we are misinterpreting something,
we will make sure to fix it.  What I think might have happened is that the
device worked under another OS and thus the manufacturer thought it was USB
1.1 compliant;  those are not the same thing.

> - the ResetPipe() method is asyncronous which isn't said in the docs

You should use ClearPipeStallBothEnds(true) instead of ResetPipe().  It is a
synchronous call so once you it returns, the device has received the
DeviceRequest to clear the endpoint halt.

If all this does not work, then you need to look and see what's going on on
a USB analyzer.


-- 
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: 
 >[OS X] Is ResetPipe() asyncronous...? (From: MacInsight <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.