[ltp] belt & suspenders suspend-to-ram script for acpid

Eric Jorgensen linux-thinkpad@linux-thinkpad.org
Thu, 22 Jun 2006 10:55:57 -0600


On Thu, 22 Jun 2006 11:30:24 +0200
Henrik Brix Andersen <brix@gentoo.org> wrote:


> >    As compared to the example script on the wiki, I've also added
> >    bits
> > to make the led blink the way it did in the old APM days. Also
> > presumes that you have the laptop_mode utility installed. 
> 
> Also supported in hibernate-script - without requiring laptop_mode.


   I should have been more clear - my script calls laptop_mode when
sleeping and resuming, but the led stuff is just 'echo -n "7 blink"
>/proc/acpi/ibm/led' and similar commands. 

   I will add my workarounds to the wiki when i get a round tuit, so
they'll be documented for posterity for those who only wanted
suspend-to-ram. 

   I should also add a section on ACPI processor throttling -- on the
X21 there are only two speedstep states (500mhz and 700mhz) but there
are 8 acpi throttling levels all the way down to 91mhz, that work quite
well whether or not i have speedstep-smi working.