In message <[EMAIL PROTECTED]>, Terry Lambert wrote:
>Hiten Pandya wrote:
>> > I have been searching mailing lists and my friend Google for information
>> > about a acpid (like apmd) implementation for FreeBSD, but I have found
>> > nothing.
>> >
>> > Does one exist anywhere, or has anyone started out on something without
>> > telling anyone? :)
>> 
>> Why do you need an acpid?
>
>Power profiles, for one.

It is obious there will be good if we have a way to catch power 
event from userland.

I have some ideas to implement it.
One way is implement with kqueue(2) and /dev/acpi to
get power events. This way does not require daemons
to wait the event exclusively. Each process that requires
to get power event can handle it by the interface.
I wrote the experimental code a years ago.


Next way is that make /dev/acpictl node that can open
exclusively and catch the power event by it, like apmd.

The last way is that extend /dev/devctl interface and
devd(8) that can handle power event.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to