From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: Synaptics and keyboard losing interrupts w/ACPI ? Date: Sun, 4 Apr 2004 00:29:12 -0500 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200404040029.12359.dtor_core@ameritech.net> References: <1081044549.2179.281.camel@localhost.localdomain> <200404032336.39468.dtor_core@ameritech.net> <1081055767.2239.7.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1081055767.2239.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Karl Hegbloom Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click