"kextunload: unload kext <HelloIOKit> failed"
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I ran through the tutorial and am able to kextload a driver. The driver's plist specifies idVendor/idProduct for a particular device in order to win against AppleUSBComposite. When I view the device in IORegistryExplorer it displays w/my test driver driving it. So far so good. When I run kextunload it fails (see subject line). The /var/log/system.log indicates: "localhost kernel: Stopping localhost kernel: Can't unload <driver> due to - localhost kernel: <driver name>:<driver name> has 1 instance(s)" This occurs after I have disconnected the device in question. Also IORegistryExplorer still sees the device and my driver after it's been disconnected. I am guessing this is the problem since Explorer still has a lock on the driver. So how to force IORegistryExplorer to refesh and release it's lock ? Or is the problem something else ? Any ideas please respond. Brian Jorgage _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Jorgage