10 How to Access the Interfaces Under Linux
BoltGATE 20-25 User Manual Rev. 1-1
10.11 The Ignition Key
The Ignition Key is a digital input that enables the system to be turned ON / OFF.
l
If Ignition Key = 1 the system turns ON
l
If Ignition Key = 0 the system turns OFF automatically after 120 seconds
(by default the shutdown time (timeout) is 120 seconds, but you can modify it)
For more information see
"The Ignition Key (Key Signal)" on page 95
To read the Ignition Key status, enter the following command:
cat /dev/ignition_key/value
The reply to the command is the following:
l
If the Ignition Key is connected to VIN+, you will obtain value = "1"
l
If the Ignition Key is connected to GND, you will obtain value = "0".
To read the Ignition Key timeout, enter the following command:
cat /sys/bus/usb/devices/1-5.3:1,.0/ignition_key_timeout
To set the Ignition Key timeout, enter the following command:
echo xx > /sys/bus/usb/devices/1-5.3:1,.0/ignition_key_timeout
10.11.1
Note About CPU Sleep States
By default the CPU cannot enter in the sleep states (S3 or S5) while the Ignition Key is ON.
If the CPU tries to enter in S3 or S5 while the Ignition Key is ON, the cortex will reset the system.
To allow the CPU to enter in S3 or S5 while the Ignition Key is ON, you have to prior notify this action to
the cortex.
To notify the CPU sleep action to the cortex, enter the following command:
echo 0 >/sys/bus/usb/devices/1-5.3:1,.0/cpu_sleep_action
80 / 102
Содержание BoltGATE 20-25
Страница 4: ...This page has been intentionally left blank...
Страница 12: ...This page has been intentionally left blank...
Страница 14: ...This page has been intentionally left blank...
Страница 16: ...This page has been intentionally left blank...
Страница 24: ...This page has been intentionally left blank...
Страница 48: ...This page has been intentionally left blank...
Страница 66: ...This page has been intentionally left blank...
Страница 86: ...This page has been intentionally left blank...
Страница 92: ...This page has been intentionally left blank...
Страница 94: ...This page has been intentionally left blank...
Страница 98: ...This page has been intentionally left blank...
Страница 101: ...BoltGATE 20 25 User Manual Rev 1 1 Notes NOTES 101 102...