Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
kext unload problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kext unload problem



Hi all,

I've made a virtual audio device which is controlled by a IOUserClient implementation, so I can send state changes etc. to the audio device in order to change its properties. Works really fine. However, I've seen that often after a session, it is impossible to unload the kext, kextunload complains that:
(kernel) Can't unload kext se.company.driver.AudioDeviceClass; classes have instances:
(kernel)     Kext se.company.driver.AudioDeviceClass class se_company_driver_AudioDevice has 1 instance.

And this is regardless of whether a client application has used the audio device or not. Maybe the IOUserClient implementation somehow never releases its reference to the audio device object ??

Other ideas ?
TIA
/Rob



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.