True, we don't want to modify the Info.plist
for config parameters.
Can u give some pointers to read for accessing
SystemConfiguration framework. i.e. what is the format
to write? How to access this framework? etc.
Any header file to look in....
I'll also look at how to write in Systemconfig
framework..
See SCPreferences.h. You can use
SCPreferencesCreate()/SCPreferencesLock()/SCPreferencesGetValue()/
SCPreferencesUnlock().
I think we can't do this because we want our driver to
read the parameters during loading time.
So if I put something in startup item, and pass it via
user client, than it may possible that driver gets
loaded first.
Well, there is a bit of a chicken-and-egg problem if you're the boot
device, but if you aren't the boot device, you can just have your
subclass hang out and rendezvous with the StartupItem before creating
device nodes. You can set a timer up and if the rendezvous doesn't
occur within a prescribed time, you can use some default setting. The
only other option really is to put it in the Info.plist file as Shawn
suggested previously.
I think you should file an enhancement request Radar against IOKit to
include a preferences-like database so Apple knows how important this
is to you as well...
HTH,
-- Chris
------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
email: email@hidden
_______________________________________________
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