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)



John and Kris-
Maybe what is happening is that you have Classic Environment running and it "owns" the device
when you first attempt to open it.


This might shed some light on what is happening:

http://developer.apple.com/documentation/DeviceDrivers/Conceptual/ ClassicUSBDeviceArb.html

Hope this helps...
Regards,
Stephen Reid, Technical Lead, TI Connect for OS X
Texas Instruments Incorporated


On Thursday, October 2, 2003, at 10:08 AM, 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.

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.

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.