"kextunload: unload kext <HelloIOKit> failed"
"kextunload: unload kext <HelloIOKit> failed"
- Subject: "kextunload: unload kext <HelloIOKit> failed"
- From: "Brian Jorgage" <email@hidden>
- Date: Fri, 03 Dec 2004 20:21:35 -0500
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden