Re: How to compile KEXTs?
Re: How to compile KEXTs?
- Subject: Re: How to compile KEXTs?
- From: Garth Cummings <email@hidden>
- Date: Fri, 4 Aug 2006 10:28:14 -0700
Hi Christian,
On Aug 4, 2006, at 1:38 AM, Christian Stieber wrote:
Hi,
I'm having a few problems with a piece of hardware that's "grabbed"
by a MacOS driver (an USB modem), but that driver doesn't correctly
access the card. So I'm now trying to setup a simple KEXT that I
can configure as driver for that particular vendor/product to prevent
the standard MacOS driver from getting it, and I hope that the card
can be accessed with my userspace "driver" then that I use for some
other cards.
This is done by writing a codeless KEXT--a KEXT bundle that contains
only an Info.plist.
The IOKitPersonalities dictionary should be set up to match your
device and specify an IOProviderClass of IOService. No
CFBundleExecutable property should be present.
This topic has come up a number of times on the USB mailing list <http://lists.apple.com/mailman/listinfo/usb
> so you might want to search the archives for that list.
Needless to say, there's no code to build so the gcc options aren't
relevant in your case. Your makefile could just create the root bundle
directory and the Contents directory inside it, then put the
Info.plist inside that.
HTH,
--gc
_______________________________________________
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