From: Rockefeller, H. <harryr@SSD.FSI.com> - 2004-03-31 21:40:58
|
I use acpid with perl scripts to perform sleep/suspend functions. When the wake event happens the perl script continues with waking events right where it left off (at the sleep/suspend command ;-)), i.e., system ('hwclock --hctosys ; date'); # Restore system time -----Original Message----- From: acp...@li... [mailto:acp...@li...] On Behalf Of Jeff Downs Sent: Wednesday, March 31, 2004 3:10 PM To: acp...@li... Subject: [ACPI] Time restoration when waking from sleep Hello, Using the S1 sleep state provided by ACPI (echo 1 > /proc/acpi/sleep) works well, overall, on my Dell Inspiron 8600 with Kernel 2.4.25. However, I've noticed that the system clock is not updated when the system is restored. It simply contains the time at which the system was put into the S1 state. I checked archives (except for this list, the sourceforge archive appears to be broken) and whatnot for people haveing similar problems and found no references on the topic of system time restoration. Is this something that should be done in user-land, or is it something that will be added to the kernel in the future? Please CC: me on any responses, as I am not a member of this list. Thanks, -Jeff ------------------------------------------------------- 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 _______________________________________________ Acpi-devel mailing list Acp...@li... https://lists.sourceforge.net/lists/listinfo/acpi-devel |