Re: Codeless kext: Dependency resolution failure on 64 bit machine.
Re: Codeless kext: Dependency resolution failure on 64 bit machine.
- Subject: Re: Codeless kext: Dependency resolution failure on 64 bit machine.
- From: Ryan Hankins <email@hidden>
- Date: Mon, 27 Dec 2010 20:08:46 -0600
Did you try using com.apple.kpi.iokit instead of
com.apple.kernel.iokit for both 32- and 64-bit?
Check out:
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/64bitPorting/KernelExtensionsandDrivers/KernelExtensionsandDrivers.html#//apple_ref/doc/uid/TP40001064-CH227-SW1
"In the 64-bit kernel, the kernel exports only KPI dependencies, not
the general kernel dependencies or unsupported dependencies. For
example, com.apple.kpi.iokit is supported, but
com.apple.kernel.iokit is not."
-Ryan
Hi,
I have codeless kext that loads perfectly on 32 bit machines. When
I am trying to load same kext, I am getting following error:
Dependency Resolution Failures:
64-bit kexts must use com.apple.kpi.* libraries, not
com.apple.kernel* libraries.
I want my codeless kext to work on both 32 bit and 64 bit
machines. Can anyone suggest what is the best way to make it work
on both (32 bit / 64 bit).
Following is the code snippet from my info.plist (Masked product
id and vendor id values).
<dict>
<key>Device Driver BSL</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.kernel.iokit</string>
<key>IOClass</key>
<string>IOService</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>xxx</integer>
<key>idVendor</key>
<integer>xxx</integer>
</dict>
Thanks,
Ram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Ryan Hankins Software Engineer
Small Tree Communications www.small-tree.com
email@hidden +1 952-641-7436
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden