Loading KEXT dynamicaly for a USB MassStorage Drive
Loading KEXT dynamicaly for a USB MassStorage Drive
- Subject: Loading KEXT dynamicaly for a USB MassStorage Drive
- From: "RajaGovarthanan Velusamy" <email@hidden>
- Date: Thu, 10 Aug 2006 14:40:35 +0530
Hi All,
I am working on to load\unload the KEXT dynamically from my application.
The current scenario is like this,
1) I have a KEXT file which has the IOKitPersonalities matching my USB device.
2) After copying this driver with the ROOT/WHEEL rights and restarting the system the KEXT is loaded for my device.
3) My application is able to communicate with this KEXT to send commands to the device. The aim of the application is to pass the scsi commands to the device.
I want to eliminate the step 2. Ie.. My KEXT should not be loaded each time my machine restarts. Instead when the application starts it should load the KEXT which is used to issue the commands to my USB device.
Is there any API that I can use to do this dynamically? Please help me with a sample or link.
Regards,
V.Rajagovarthanan
_______________________________________________
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