From mboxrd@z Thu Jan 1 00:00:00 1970 From: Derek Broughton Subject: Re: Latest ACPI + cpufreq on a Dell Inspiron 2650 Date: Tue, 03 Dec 2002 12:42:51 -0400 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <00de01c29aeb$0583c8f0$3746028e@bio.dfo.ca> References: <200212030136.30159.chris@chrishowells.co.uk> <002401c29acd$e1316880$3746028e@bio.dfo.ca> <200212031601.20634.chris@chrishowells.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org From: "Chris Howells" > > > > * Entering S1 halts the system clock so the time when leaving S1 is the > > > same as when it entered S1 > > > > As it should. You have to reset the clock. > > Oh really? Hrm.... so presumably the correct solution would be to do a > "hwclock --hctosys" on leaving S1? *Wonders how to make it do this > automatically* It should generate an event to /proc/acpi/event, and the easiest way to use that is to use acpid. check syslog for messages from acpid, which correspond to unprocessed events. iirc, sometimes you might only get an event on pushing the suspend button, in which case you run a script that completes the suspend, then sleeps a couple of seconds, then runs hwclock to reset the clock. > I'm not going to have this machine much longer because after a length battle > with them including starting legal proceedings (the memory was(is) faulty and > g++ kept suffering from Internal Compiler errors) I'm getting a refund. > Hopefully the new machine will work as well or better :) better, one hopes! ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en