Table 22. Convert pressure sensor raw data (continued)
Temperature (m degC) = in_temp_raw * in_temp_scale
Ignition Pin
The ignition pin can be used to wake the Edge Gateway.
Table 23. System state behavior
System state Input signal goes active Input signal goes inactive
G3 No effect No effect
S5 System transitions to S0 No effect
S4 System transitions to S0 No effect
S3 System transitions to S0 No effect
S0 No effect System transitions to S3, S4, or S5
Selecting and applying a power option
1. Adjust the power event in systemd using the following command:
# sudo vi /etc/systemd/logind.conf
2. Set the HandlePowerKey variable to one of the following power options:
Table 24. Power options
Power option Description
ignore
Do nothing
poweroff (default) Shut down the system
reboot
Reboot the system
halt
Halt the system
kexec
Direct-boot to a new kernel
suspend
Suspend the system
hibernate
Hibernate the system
hybrid-sleep
Suspend to both disk and RAM
lock
Screen-lock all running sessions.
NOTE: For more information about power options, see freedesktop.org/software/systemd/man/logind.conf.html.
3. Enable the power option by rebooting the system.
# sudo reboot
72
Setting up the operating system