Re: Synaptics and keyboard losing interrupts w/ACPI ?

Dmitry Torokhov
2004-04-04T05:29:12Z

On Sunday 04 April 2004 12:16 am, Karl Hegbloom wrote:
> On Sat, 2004-04-03 at 20:36, Dmitry Torokhov wrote:
> > I think you can leave it on but you will have to increase the poll interval.
> > Setting it to 30 sec or even 1 min will probably let you have your Synaptics
> > working and still have an idea on battery level.
>
> I will try this and see if it works, thank you.
>
> > > So, something is the matter with the ACPI battery code! I doubt I can
> > > find it... but I'll look in there anyway just for some exposure. :-)
> >
> > It is usually deep in the BIOS code, not something exposed in AML as far as
> > I can understand. Polling battery often takes long time, especially polling
> > full info as opposed to just state. :(
>
> Is there any reason why the ACPI code cannot cache that info, rather
> than looking it up each time the /proc file is accessed? (which is what
> I think it does now... am I right?)
>

It sort of does.. that's why there /proc/acpi/battery/BATX/info (slow access,
mostly static data) and /proc/acpi/battery/BATX/state. Now if only
applications weren't reading both of them all the time...

--
Dmitry