[Nut-upsuser] Multiple USVs (how to identify each one)

Arjen de Korte nut+users at de-korte.org
Thu Jun 7 18:19:24 UTC 2007


FORMER 03 | Baltasar Cevc wrote:

> we have three MGE UPS'. I've read all the documents I've found, but
> I haven't got the information I need.
> All three of them being attached to the same machine I need a way to
> identify which is wich (all three use the same driver). They power
> different systems (two of them running windows so that I can't easily
> setup a network-enabled software on two of them, as I've only seen
> a NUT client for MS Windows).
> 
> Do you have any hints? Any document pointer or answer is appreciated.

Assuming that these UPSes are connected through USB and you're using the
'newhidups' driver (or the 'usbhid-ups' driver, if you're running the
development version), 'man 8 newhidups' is what you need to read carefully:

       vendor=regex
       product=regex
       serial=regex
       vendorid=regex
       productid=regex

Probably the only difference between these units (if they are all the
models) is the serial number. Running the driver in debug mode (with -DD
on the commandline) will help to find the serial number. Connect one UPS
at a time, so that you're able to unambiguously determine which one has
which serial number.

Best regards, Arjen



More information about the Nut-upsuser mailing list