Power cycling tool for suspend/hibernation/reboot

There are some tools for myself to doing the work and I do believe those tools are very helpful for you guys doing power cycling either suspend/hibernate/reboot.

To obtain the tool on ubuntu:
Download link is hosted on Launchpad:

https://edge.launchpad.net/~jouston-huang/+archive/ppa/+files/fae-tools_0.9-2ubuntu1_lpia.deb

Following also a way you can do to add my PPA:

* Create a file in /etc/apt/sources.list.d/ call jouston-PPA
* Put below two lines into it:

deb http://ppa.launchpad.net/jouston-huang/ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/jouston-huang/ppa/ubuntu hardy main

* sudo apt-key adv --recv-keys BCE861C1 --keyserver keyserver.ubuntu.com
* sudo aptitude update
* sudo aptitude install fae-tools

In this version of s5_reboot you will need to make the system start run my script by doing this in the target unit:

* cp /usr/local/doc/s5_reboot.desktop

Please logout and login again to start the reboot testing. So far, the BIOS 1.20 passed 300 cycle and 1.20.1 is running 70 cycles while I leave office today and keep doing so.

For other two tools, just run with:

$ sudo s3_suspend
or
$ sudo s4_hibernate

All of my script was design to run *only* 300 cycles, if that is not enough for your system please feel free to modify the code and commit to my launchpad project.

I will love to consider any improvement of those scripts. My TODO will be:

* Adopt those scripts to checkbox infrastructure.
* Allowing script to run *given* cycles runtime: s3_suspend 300 or s4_hibernate 1000
* Better log output for all scripts
* Each suspend, hibernate and reboot cycles need to check how much time spent. Too long or too short will need to be caution and properly put into the log.



留言

這個網誌中的熱門文章

大車人生: Yamaha FZ6N更換TPS、火星塞以及引擎調校

[鳳梨外貿社] 1988 Austin Mini Automatic 奧斯丁 迷你上架銷售

PSA Citroen C5 Stereo Upgrade - from RD3 to RD45 (applied to Peugeot 307SW, Citroen XSara / C5 / C8, Berlingo)