Subject: Re: envsys version 2 API
To: Jason Thorpe <firstname.lastname@example.org>
From: Juan RP <email@example.com>
Date: 05/05/2007 11:26:46
On Fri, 4 May 2007 22:19:01 -0700
Jason Thorpe <firstname.lastname@example.org> wrote:
> Agreed. And why add another daemon -- extend powerd(8) (and maybe
> make powerd(8) use a dictionary-based communication channel, while
> you're at it...)
You are right. I'll extend powerd to understand envsys events,
when a sensor exceeds the high/low watermarks an event will be sent
to userland, something like PENVSYS_UNDERCRITICAL and PENVSYS_OVERCRITICAL.
I think the best place for handling envsys sensors
Do you have any better idea for the naming scheme in the scripts and/or
events in sysmon_power.c?
Juan RP's blog - NetBSD/pkgsrc news in Spanish