User's Manual UPS control system
Table Of Contents
- Apcupsd User's Manual
- Release Notes
- How To Use This Manual
- Basic User's Guide
- Planning Your Installation
- Building and Installing apcupsd
- After Installation
- Configuration Examples
- Testing Apcupsd
- Troubleshooting Your Installation
- Monitoring and Tuning your UPS
- Maintaining Your UPS
- Frequently-Asked Questions
- Apcupsd Bugs
- Advanced topics
- Customizing Event Handling
- Master/Slave Configurations
- Controlling Multiple UPSes on one Machine
- Support for SNMP UPSes
- Alternate Ways To Run The Network Information Server
- apcupsd System Logging
- Installation: Windows
- Windows Version of apcupsd
- Installation: Serial-Line UPSes
- Overview of Serial-Interface UPSes
- Connecting a Serial-Line UPS to a USB Port
- Connecting a APC USB UPS to either a PC USB or Serial Port
- Cables
- Smart-Custom Cable for SmartUPSes
- Smart Signalling Cable for BackUPS CS Models
- Voltage-Signalling Cable for "dumb" UPSes
- Other APC Cables that apcupsd Supports
- Voltage Signalling Features Supported by Apcupsd for Various Cables
- Voltage Signalling
- Back-UPS Office 500 signals
- Analyses of APC Cables
- Win32 Implementation Restrictions for Simple UPSes
- Internal Apcupsd Actions for Simple Cables
- RS232 Wiring and Signal Conventions
- Pin Assignment for the Serial Port (RS-232C), 25-pin and 9-pin, Female End
- Ioctl to RS232 Correspondence
- Testing Serial-Line UPSes
- Troubleshooting Serial Line communications
- Recalibrating the UPS Runtime
- DATA Logging
- Technical Reference
- Configuration Directive Reference
- apcupsd Status Logging
- Shutown Sequence and its Discontents
- APC smart protocol
- Apcupsd --- RPM Packaging FAQ
- Credits
- Kernel Config
condition = serial port initialization
cable = 0095A, 0095B, 0095C
action = ioctl(TIOMBIC, RTS) clear RTS (set PnP mode)
cable = 0119A, 0127A, 0128A
action = ioctl(TIOMBIC, DTR) clear DTR (killpower)
action = ioctl(TIOMBIS, RTS) set RTS (ready to receive)
apcserial.c:
condition = save_dumb_status
cable = CUSTOM_SIMPLE
action = ioctl(TIOMBIC, DTR) clear DTR (power bit?)
action = ioctl(TIOMBIC, RTS) clear RTS (killpower)
cable = 0020B, 0020C, 0119A, 0127A, 0128A
action = ioctl(TIOMBIC, DTR) clear DTR (killpower)
cable = 0095A, 0095B, 0095C
action = ioctl(TIOMBIC, RTS) clear RTS (killpower)
action = ioctl(TIOMBIC, CD) clear DCD (low batt)
action = ioctl(TIOMBIC, RTS) clear RTS (killpower) a second time!
apcserial.c:
condition = check_serial
cable = CUSTOM_SIMPLE
action = OnBatt = CD
action = BattLow = CTS
action = LineDown = SR
cable = 0020B, 0020C, 0119A, 0127A, 0128A
action = OnBatt = CTS
action = BattLow = CD
action = LineDown = 0
cable = 0023A
action = Onbatt = CD
action = BattLow = SR
action = LineDown = 0
cable = 0095A, 0095B, 0095C
action = OnBatt = RNG
action = BattLow = CD
action = LineDown = 0
apcserial.c
condition = killpower
cable = CUSTOM_SIMPLE, 0095A, 0095B, 0095C
action = ioctl(TIOMCBIS, RTS) set RTS (kills power)
action = ioctl(TIOMCBIS, ST) set TxD
cable = 0020B, 020C, 0119A, 0127A, 0128A
152










