Здравствуйте.
Подскажите nut драйвер для Powerman Smart Sine http://www.powerman.ru/good/show/381/397/
что надо записать в /etc/nut/ups.conf?
пока у меня так
[powerman]
driver = blazer_ser
port = /dev/usb/hiddev0
desc = "powerman smart sine"
Скорее всего неправильно, так как я указывал все методом тыка (руководствовался https://wiki.gentoo.org/wiki/NUT)
Ошибка такая
# /etc/init.d/upsdrv start
upsdrv | * Starting UPS drivers ...
upsdrv |Network UPS Tools - UPS driver controller 2.7.2
upsdrv |Network UPS Tools - Megatec/Q1 protocol serial driver 1.56 (2.7.2)
upsdrv |
upsdrv |Unable to open /dev/usb/hiddev0: Permission denied
upsdrv |
upsdrv | Current user id: nut (84)
upsdrv |Serial port owner: root (0)
upsdrv |Serial port group: root (0)
upsdrv | Mode of port: 0600
upsdrv |
upsdrv |Things to try:
upsdrv |
upsdrv | - Use another port (with the right permissions)
upsdrv |
upsdrv | - Fix the port owner/group or permissions on this port
upsdrv |
upsdrv | - Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf).
upsdrv | See upsdrvctl(8) and ups.conf(5).
upsdrv |
upsdrv |Fatal error: unusable configuration
upsdrv |Driver failed to start (exit status=1)
upsdrv | * Failed to start UPS drivers! [ !! ]
upsdrv | * ERROR: upsdrv failed to start