I am trying to make sys-power/nut to work with Newpoint UPS. Newpoint UPS is supposed to be supported by 'powercom' driver.
The UPS has a USB connection. here is the outpu of 'lsusb':
Code: Select all
Bus 002 Device 006: ID 0d9f:0001 Powercom Co., Ltd
Bus 002 Device 005: ID 04b3:301b IBM Corp.
Bus 002 Device 004: ID 04b3:301a IBM Corp.
Bus 002 Device 003: ID 046d:c03d Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000Code: Select all
ls -l /dev/usb/hiddev0
crw-rw-rw- 1 root root 180, 96 Sep 7 20:07 /dev/usb/hiddev0So I made the following entry in /etc/nut/ups.conf file:
Code: Select all
[Newpoint]
driver = powercom
port = /dev/usb/hiddev0
desc = "Newpoint Surge Protector 525VA 20877"Code: Select all
Network UPS Tools - UPS driver controller 2.0.3
Network UPS Tools - PowerCom and similars protocol UPS driver $ Revision: 0.5 $ (2.0.3)
tcgetattr(/dev/usb/hiddev0): Invalid argument
Driver failed to start (exit status=1)

