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: kIOReturnExclusiveAccess from USBInterfaceOpen()



At 8:08 -0700 10/2/03, Kris Daniel wrote:
This happened to me as well. I noticed that if I called USBDeviceOpen(), or USBInterfaceOpen(), I'd usually get an error on the first call. Just to be stubborn, I tried calling the open command again after it failed, and it opened successfully.

I don't have an explanation for it (possibly uninitialized variable?), it works, so I moved on. At the very least, it's an idea to try.

It sounds like Classic has control of the device -- retrying USBDeviceOpen()/USBInterfaceOpen() is part of the procedure for getting Classic to release a device it has open.


-Steve
_______________________________________________
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: 
 >Re: (no subject) (From: Kris Daniel <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.