User manual

Chapter 8: Internal Devices
Automatic Shutdown with UPS
124 8580/8590 Vehicle-Mount Computer User Manual
8.8.2 Automatic Shutdown with UPS
When a Psion UPS is in use, the automatic shutdown must be configured to Switch-Off
“with ignition” or “with ignition and power key” and to Switch-On “with ignition only” or
“with ignition and power key”.
If the ignition signal is wired to the input of the UPS, the signal is passed through so that the
unit will automatically switch on and off with the ignition. However, if the UPS loses power
to both the power and ignition inputs (for example, if the vehicle battery is removed, or runs
down), the UPS will not only continue supplying power to the unit, but it will also keep the
ignition signal to the vehicle-mount active. Approximately three minutes before the UPS
battery discharges to the shutdown level, the UPS turns off the ignition to the unit to allow it
to shutdown cleanly before complete power loss.
8.8.3 Drivers
DLoGPwrw.sys driver V1.0 for Windows XP
Standard setting: I/O port 0x379, length 2 Bytes
The 8580/8590 and the automatic shutdown module communicate via the motherboard
control port, which consists of the two I/O ports described above.
8.8.4 General Notes About Automatic Shutdown Software
The Config program must be installed for the automatic shutdown module to function
correctly.
If the Config has not been started, the 8580/8590 will carry out a hard shutdown once the
delay time and shutdown time set by the hardware has elapsed. In this case, the operating
system is not shut down normally before the power is switched off. The current application
is unable to save its data, and the file system becomes increasingly unstable and
inconsistent.
If the Config has been started, the program can recognize when the operating system needs
to be shut down. Firstly, the Windows message “WM_QUERYENDSESSION” is sent to all
running applications to inform them of the impending shutdown.
Now every application has to respond within the time that is set in the registry. If a response
is not sent in the specified time, the application is forced to quit.
If there are any open programs with unsaved changes, it may not be possible to automati-
cally quit them (for example, an unsaved document in WORDPAD.EXE, a program
supplied with Windows). In this case WORDPAD.EXE responds to the Windows message
“WM_QUERYENDSESSION” with a user query to confirm if the current file is to be