Moxa V2416-LX [23/88] Device suspend

Moxa V2416-T-XPE [23/88] Device suspend
V2416 Linux User's Manual Software Configuration
2-16
ATTENTION
You can free up the cache space with the command # apt-get clean.
MOXA:~# apt-get clean
MOXA:~#
Device Suspend
The V2416-LX supports ACPI S3 (suspend to ram). You should enable option S3 in the BIOS, and then use the
pm-suspend --qurik-s3-bioscommand.
MOXA:~# pm-suspend --quirk-s3-bios
After suspend is in effect, press the power button to wake up the computer.
If you login in as administrator (root) in X windows, you can use System Shutdown Suspend to
suspend your device. Note: This does not work for non-root users.
Some components on Moxas embedded computer may need to be reset after resuming. You can write a simple
script in the directory /usr/lib/pm-utils/sleep.d/ to complete this procedure. For example, you could
create a script 99serial for your application.
#!/bin/sh
case “$1” in
hibernate|suspend)
echo “close AP and tty ports which are opened”
echo “operations before serial ports suspend”
;;
thaw|resume)
echo “restart AP”
echo “operations after serial ports resume”
;;
*) exit $NA
;;
esac
NOTE If you want to see how to execute the script, start rsyslogd with the command /etc/init.d/rsyslogd start
and
then view the file /var/log/pm-suspend.log.

Содержание

Похожие устройства

Скачать