Please merge procfs... :-)

Behdad Esfahbod behdad at cs.toronto.edu
Mon Jan 31 15:24:02 PST 2005


On Mon, 31 Jan 2005, Bill Nottingham wrote:

> David Zeuthen (david at fubar.dk) said:
> > On Sat, 2005-01-29 at 19:30 +0200, Paul Ionescu wrote:
> > > For some sensors we can use something like acpid to get notified when we
> > > need to refresh a value. For instance, AC adapter sends an ACPI event when
> > > state changes.
> > >
> >
> > I don't want a dependency on acpid, we should just read things off
> > the /proc/acpi/event socket.
>
> /proc/acpi/event doesn't support multiple readers, as I recall.

As somebody already mentioned, we can try read /proc/acpi/event
directly, and if it fails, open the acpid socket.  This is
assuming that acpid runs before hald.  In the long term, I
believe, acpid can be replaced by something based on hal
technology.  I'm trying to write up a functional spec for that
and send around here.

> Bill

Cheers,
--behdad
http://behdad.org/
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list