Andrew Gallatin writes:
>
> Godfrey van der Linden writes:
> > This basically the solution I was going to suggest, though if you can
> > get a daemon monitoring the state of your hardware you will be better
> > off. Note this daemon can then be used for all sorts of things that
> > are just easier to do in userland. If your drivers know that they
> > have a helper you may be able to get complex code out of the kernel
> > and into a place where you can debug it.
> >
> > Also check out the machinit functionality of launchd in Tiger. This
> > will allow you to setup a launch on demand daemon that will start
> > running when you send a mach_message to a 'known' port. I thing the
> > machinit code went in in the 10.2 timeframe but I'm not sure of the
> > details.
> >
>
> Could you give us a little more to go on, please? I'm really
> interested in getting rid of KUNCExecute(), but I can't find any
I have an idea:
I use devfs to dynamically create character devices nodes when my
driver is loaded. So I think I can probably use the WatchPaths
directive to watch for my character device nodes appearing. It will
require a wrapper shell script.... Hmm..
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden