所以我用 RS232/USB 电缆将此 UPS 连接到机器。
ups.conf
包含
[apc1]
driver = apcsmart
port = /dev/ttyUSB0
desc = "APC USB"
我得到以下输出:
$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.1
Network UPS Tools - APC Smart protocol driver 3.1 (2.7.1)
APC command table version 3.1
very old or unknown APC model, support will be limited