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 OSBundleRequired and kext dependency issue



If you are using an IOUSBInterface as your provider, then what is the reason that your driver does not load on boot? Is there some other driver which is matching instead of yours?

Rhoads Hollowell
USB Software Team
Apple Computer, Inc.

On Friday, January 31, 2003, at 09:10  AM, Rob McKeever wrote:

It does use IOUSBInterface as it's provider, but I have been unable to get it to reliably load on boot. I've gone through all relevant tech notes, etc. and this appeared to be the only unanswered question.

The device connects to a IOUSBInterface.
I have checked to make sure that IOKitDebug isn't present (although, this should only affect a safe boot).
I have checked to make sure that CFBundleVersion and MODULE_VERSION are the same string
...which, if I'm not mistaken, leaves me with OSBundleRequired...


I have tried it both unset and set. If unset, then it never loads if the device is connected at boot time. If set to "Network-Root", as the dependency suggests that it should be set, it never seems to get loaded. If I set it to "Root", then it loads at boot once, then requires the device to be disconnected and reattached before it loads every time afterwards.

From your message, it seems that either I've missed or am misunderstanding something. Am I?
On Friday, January 31, 2003, at 07:31 AM, Rhoads Hollowell wrote:


Rob,

I assume from your post that for some reason you do not want the AppleUSBComposite driver to control the IOUSBDevice part of your device. Can you explain why? Can you explain why your driver is not just one or more IOUSBInterface drivers?

Rhoads Hollowell
USB Software Team
Apple Computer, Inc.

On Thursday, January 30, 2003, at 11:58  PM, Rob McKeever wrote:

OK...

I've seen this mentioned here a couple of times before, but it's my turn now. First off, yes, I have gone through the list archives and not found a good answer to this.

I have a driver for a USB composite device that needs to load a boot time. Problem is, the device is dependent on a kext which had it's OSBundleRequired property set to something other than Root (in this case, Network-Root).

How?

The solutions that I can see are:
1) Modify the dependency. This really isn't a good idea as it's not mine.


	2) Tell the client that he has to wait until...

3) I split the driver into two separate kexts: one to load at Root time to grab the device before the USB composite driver does and the other that gets loaded later on (Network-Root time) and does all communication through the previously loaded kext.

...or is there another option?  Some sort of codeless kext, perhaps?

-Rob
_______________________________________________
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: OS X OSBundleRequired and kext dependency issue (From: Rob McKeever <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.