Re: user settable preferences for a kext
Re: user settable preferences for a kext
- Subject: Re: user settable preferences for a kext
- From: "Stefan Werner" <email@hidden>
- Date: Thu, 18 Dec 2003 01:53:20 +0100
Hi,
----- Original Message -----
From: "Dean Reece" <email@hidden>
To: "Stefan Werner" <email@hidden>
Cc: <email@hidden>
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 | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.