June 22, 2011

The Ways to wake up Linux from S3

1. PS/2 keyboard.
To enable that, the PS/2 connector, SuperIO, southbridge must have standby power.
And the feature in the superio and southbridge should be enabled. We need to know
which event pin of SB the PME# from Superio is connected. Add
/* General event 3 */
Method(_L03) {
/* DBGO("\\_GPE\\_L00\n") */
Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
}
in the _GPE.

2. USB Keyboard.
We need to know which pin belongs to the USB PME#.

3. Wakeup On Lan
There are some Wakeup On Lan tools. You should provide the MAC address of your board.

4. RTC on Lan
Use rtcwake. The day_alarm, month_alarm, century in FADT should point to the
CMOS Ram erea, instead of all 0s.