# /etc/upsd.conf
#
# upsd.conf is a plain text file containing mappings from
# RS-232 lines to UPS signals. The format is as follows:
#
# <RS-232 line> <UPS line> <active state>
#
# Where <RS-232 line> is a member of the set
# {RTS, CTS, DSR, DCD, DTR, RI},
#
# <UPS line> is a member of the set
# {ACFAIL, LOWBAT, UPSPWR, UPSDET, UPSOFF},
#
# and <active state> is a member of the set
# {H, L}
#
# ** NOTE: upsd reads the first set of entries it finds;
# **       ONE and ONLY ONE set should be un-commented!
#

#
## Belkin ReSource F5C520c
#
#RTS	UPSPWR	H	#(note -- same as UPSDET on Belkin unit)
#DTR	UPSOFF	H
#CTS	ACFAIL	L
#DCD	LOWBATT	L
#RTS	UPSDET	H	#no real loopback -- this fakes out cable detect

#
## APC or compatible UPS in 'dumb' mode
#
DSR	UPSPWR	H
RTS	UPSOFF	H
DCD	ACFAIL	L
CTS	LOWBATT	L
DSR	UPSDET	H
