acpid
walter harms
wharms at bfs.de
Sun Oct 12 11:13:29 UTC 2008
Alon Bar-Lev schrieb:
> Hello,
>
> The /proc/acpi is depreciated, I considered spending some time in
> order to understand how to get same functionality via the new event
> interface. The problem is that I don't know how to do this and still
> be backward compatible.
>
forget about "backward compatible" nobody really cares if you use
/proc or /sys they only want a stable ABI to your daemon.
re,
wh
> Alon.
>
> On 10/11/08, Vladimir Dronnikov <dronnikov at gmail.com> wrote:
>> Hello, list!
>>
>> Attached is the patch which introduces new applet: acpid.
>> It reads /proc/acpi/event (or whatever file specified via -e option)
>> line-by-line and spawns run-parts /etc/acpi/<EVENT> handler.
>> It is just my busyboxed experience in handling laptop special buttons
>> but it can seamlessly be used to handle any ACPI event.
>>
>> As I completely dislike the way the big acpid uses to configure (a
>> bunch of files hardly going further then specify a trivial regexp), it
>> is not a drop-in replacement. However, if an interest comes up I fix
>> that.
>>
>> Please, comment and consider applying.
>>
>> TIA,
>> --
>>
>> Vladimir
>>
>> _______________________________________________
>> busybox mailing list
>> busybox at busybox.net
>> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>>
>>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
>
>
More information about the busybox
mailing list