QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Uninterruptable Power Supplies(UPS) for QNX4 |
Ref. No. |
QNX.000009527 |
Category(ies) |
Kernel, Filesystem, Configuration |
Issue |
Are there UPSs available which work with QNX4?
|
Solution |
There are no QNX4 software solutions. Generally, UPS hardware is designed to send a signal, usually serially, when power interruption occurs. This signal can be hooked up to a QNX4 machine's serial port. Under QNX4, the programmer would simply attach an interrupt handler to this signal(interrupt) and when it is triggered, the process could send a SIGPOWER signal to all of the processes, enabling a proper shutdown of the system.
There are a few UNIX utils which will talk to the popular UPS's, which should be straight-forward to port to QNX4. |
|