Re: Getting Notifications of Device Arrival and Departure without IOKit
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Nov 4, 2006, at 12:27 AM, NAHieu wrote: Hello, I am writing a plain KEXT which is not based on IOKit. Is there any way to get notified in kernelspace when an external device (such as USBkey) is connected to machine? Any pointer is highly appreciated. The event notification framework is part of IOKit. My recommendation is that you use IOKit. -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I found related documentation at http://developer.apple.com/documentation/DeviceDrivers/Conceptual/AccessingH... . Unfortunately the proposed method relies on IOKit, which is not used in my project. Many thanks. If you want to have a driver outside of IOKit do this, then you will need to provide at least an IOKit stub to talk to your device and forward notifications (e.g. via callback function registration between the KEXTs). This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert