General TC > Tiny Core Netbooks

SOLVED: Standby/resume on Eee 900

<< < (3/3)

OldAdamUser2:
First, make sure you download and mount vbetool.tcz. Then, here is the improved standby/resume script for the Eee 900:


--- Quote ---#!/bin/sh

# This standby script was adapted for Tiny Core 2.3 on an Asus 900 by OldAdamUser2.
# Run the script from a root shell.

# write all unwritten data (just in case)
sync
chvt 1
# suspend
vbetool dpms off; echo standby > /sys/power/state
chvt 2
# Reconnect to wifi.
iwconfig wlan0 essid any

# Push power button to restore.
--- End quote ---
This script seems to do the job! Wifi switches off (and on again), screen goes to black and backlight goes off, cpu goes into sleep mode. Then when I push the power button, everything comes back up almost immediately, just as it was before going into standby. It's not a true hibernate, but it is significantly useful in saving battery power.

giac_fab:
Hi

I saw the last post is very old but I used it today....

I suggest an improvement :

with "sudo su -c COMMAND"  you can execute it as user without log in as root

Navigation

[0] Message Index

[*] Previous page

Go to full version