Re: Synaptics and keyboard losing interrupts w/ACPI ?

Stefan Seyfried
2004-04-05T02:40:43Z

On Sun, Apr 04, 2004 at 01:06:15AM -0500, Dmitry Torokhov wrote:
> On Sunday 04 April 2004 12:54 am, Karl Hegbloom wrote:

> > But the thing is that the kernel can know when a battery gets jacked in,
> > removed, or swapped for a fresh one, but a user space application
> > cannot.
>
> It can, the kernel signals when a battery is inserted or removed through
> /proc/acpi/event (normally acpid listens on it). The only change that may be

I have a machine here that throws a battery event whenever the charging state
changes (hp compaq nx5000), pretty neat.

> needed is to allow multiple applications read /proc/acpi/event simultaneously,
> right now it only allows exclusive access.

Or a more general daemon than acpid, that also cares for (and caches) battery
states, temperatures, etc....
--
Stefan Seyfried