Re: user settable preferences for a kext
Hi, ----- Original Message ----- From: "Dean Reece" <dean.reece@apple.com> To: "Stefan Werner" <stefan@keindesign.de> Cc: <darwin-kernel@lists.apple.com> Sent: Wednesday, December 17, 2003 8:17 PM Subject: Re: user settable preferences for a kext
1) Figure out a way to not need the prefs in the first place.
2) Move out of the kernel and do your work as a daemon instead of a
kext.
3) Have the driver not maintain prefs, but instead have the client app
push the prefs down on open.
Thanks for your answer. I have figured out a way of solving my problem, which is a StartupItem that is reading the plist file in /Library/Preferences and is passing the parameters to my .kext. Since my kext is an audio driver, based on the PhantomAudio example (hence the Info.plist for configuration, that's how PhantomAudio does it), I was able to use a AudioDriverPlugin to implement custom properties and have a user-space interface to them. Funny how one always gets the ideas /after/ sending the question to a mailing list... Stefan _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Stefan Werner