Wake events
Trigger Ubuntu OS to enter S3 status
Steps
1. Use the following command:
$ sudo su
2. Use the following command:
$ echo mem > /sys/power/state
3. Use a USB keyboard to enter any key to wake up the Ubuntu OS.
NOTE:
Use a physical keyboafd to wake up the system. If the keyboard is on a remote SSH session, the box does not
wake up.
Use RTC as wake event
Steps
1. Use the following command:
$ sudo rtcwake -u -s <second> -m <mode>
2. The <mode> can use the
mem
parameter to enter S3, and the
off
parameter can enter S5.
Wake-on-LAN
Steps
1. Make Ubuntu OS of target device enter S3 or S5.
2. Using another Ubuntu OS device that is working under the same local network, use the following commands:
$ sudo apt install wakeonlan
$ wakeonlan <target device NIC MAC>
For example:
$ wakeonlan 00:30:64:3a:ad:80
Results
The target device is waked up as a result of the WoL function.
Wake-on-WLAN
Steps
1. Use the following command to check the AX210 WiFi card WoWLAN status:
$ iw phy0 wowlan show
84
Setting Up the Ubuntu Operating System