acpid

Alon Bar-Lev alon.barlev at gmail.com
Sat Oct 11 19:07:48 UTC 2008


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.

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
>
>



More information about the busybox mailing list