[Nut-upsuser] Multi UPS on Debian
Márk Csaba
markcs at gwyll.eu
Mon Apr 4 10:12:14 UTC 2011
Hello Arjen,
as Armaud mentioned too, i'll have to change the bus-es. The UPS doesn't
give a serial.
I removed the unnecessary lines as you suggested.
Thanks for the reply and for the help!
cheers,
Csaba
----- Eredeti üzenet -----
From: Arjen de Korte
Sent: Monday, April 04, 2011 10:58 AM
To: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] Multi UPS on Debian
The recommended way to do use multiple USB devices, is to match the
serial number of the UPS. This will make sure that if you plug the
devices in a different port, the upsnames don't change. Check if the
serial number is reported by the devices if you run the driver with
the -DD option:
/path/to/blazer_usb -DD -u root -a <upsname>
If it is, use that instead. Note that many generic USB to serial
converters don't have unique serial numbers. In that case, your only
option is to make sure they are on different busses and match those.
If that isn't possible either, you can't control them from the same
host.
Best regards, Arjen
PS Unless needed, you shouldn't use the vendorid, productid and
subdriver in ups.conf. Less is better here, since the additional
matching that is required if you do is a waste of effort (matching
regular expressions is expensive).
--
Please keep list traffic on the list (off-list replies will be rejected)
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list