Four UPS's via usb.
Alexander Solodukhin
alt at bird.cris.net
Thu Jan 31 19:07:27 UTC 2008
Hello everyone. I try to connect four PowerMust 2000 ups's via usb to one
computer using megatec_usb driver. But megatec_usb completly ignores port
directive in ups.conf, I even try port = /dev/null and megatec_usb founds ups
and it works. Problem is that megatec_usb seen only one ups not four, and for
four differend sections in ups.conf it uses only _one_ ups. After launch upsc
give statistics only for one ups:
data:/etc/nut# upsc ups1
Error: Data stale
data:/etc/nut# upsc ups2
Error: Data stale
data:/etc/nut# upsc ups3
Error: Data stale
data:/etc/nut# upsc ups4
battery.charge: 97.5
......
bus directive not work becouse i have only two buses and all ups's sits at
one:
data:/etc/nut# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0665:5161
Bus 001 Device 005: ID 0665:5161
Bus 001 Device 003: ID 0665:5161
Bus 001 Device 002: ID 0665:5161
Bus 001 Device 001: ID 0000:0000
serial directive not work becouse it 'unknown':
data:/etc/nut# upsc ups4 ups.serial
unknown
Here my ups.conf:
data:/etc/nut# cat ups.conf
[ups1]
driver = megatec_usb
port = /dev/usb/hiddev0
desc = "PowerMust 2000 1"
[ups2]
driver = megatec_usb
port = /dev/usb/hiddev1
desc = "PowerMust 2000 2"
[ups3]
driver = megatec_usb
port = /dev/usb/hiddev2
desc = "PowerMust 2000 3"
[ups4]
driver = megatec_usb
port = /dev/usb/hiddev3
desc = "PowerMust 2000 4"
I use nut from svn revision 1258 (last at that moment):
data:/etc/nut# upsd -V
Network UPS Tools upsd 2.3.0-1258M
on linux box:
data:/etc/nut# uname -a
Linux data 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 GNU/Linux
--
ISP CrIS, Softwarium
More information about the NUT-tracker
mailing list