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: (no subject)



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.

Kris Daniel
Line 6, Inc.


On Thursday, October 2, 2003, at 07:32 AM, John Cebasek wrote:

Hi All:

Excuse the newbie question, I've inherited some code...

I have been working on the device driver for our product and have run
into a little bit of a brick-wall.  To summarize, everything is going
OK until I try and 'claim' the device.  When I call
USBInterfaceOpenSeize() I'm getting an error back
kIOReturnExclusiveAccess (E000002C5).  When USB Prober is running, it
reports "handleOpen failing because super::handleOpen failed (someone
already has it open)".

Sounds like someone (the OS??) has already claimed the device and won't
release it.

Is my hypothesis correct? What can I do about it? If my hypothesis
isn't correct, then any ideas?

If you could point me in the right direction, it would be appreciated.

Thanks for your time.


John Cebasek
email@hidden
_______________________________________________
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.
_______________________________________________
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: 
 >(no subject) (From: John Cebasek <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.