Hola Sebastián,<br><br>first, please keep the NUT list cc'ed!<br><br><div class="gmail_quote">2011/7/27 Sebastián León del Moral <span dir="ltr"><<a href="mailto:urticaries@gmail.com">urticaries@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi Arnaud<div><br></div><div>The problem is that the tow ups have the same serial number, vendor, and product...</div>
<div><br></div><div>I don´t know i do now</div></div></blockquote><div><br>clean solution: buy well designed devices. More expensive, but buying Eaton, for example, means also supporting NUT developments!<br><br>quick and dirty solution: consider putting each unit on a separate USB bus (as show by lsusb).<br>
then use "bus = X" instead of serial (in my previous example) in ups.conf.<br><br>Once more, the USB drivers manpages will provide you with more details.<br><br>cheers,<br>Arnaud<br></div><div>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com/" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org/" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><div><div><div>El 27/07/2011, a las 14:14, Arnaud Quette escribió:</div><div><div></div><div class="h5"><br><blockquote type="cite"><br><div class="gmail_quote">2011/7/27 Petr Kubánek <span dir="ltr"><<a href="mailto:petr@kubanek.net" target="_blank">petr@kubanek.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hola,<br>
<br>
you will probably need to create two different device entries, using<br>
udev rules. See<br>
<br>
<a href="http://rts2.org/wiki/doku.php?id=howto:set_symlinks_for_usb_serial_ports" target="_blank">http://rts2.org/wiki/doku.php?id=howto:set_symlinks_for_usb_serial_ports</a><br>
<br>
for details (this is on USB, but should be similar for UPS..you need to<br>
find something which uniquely identified them - e.g. serial number).<br>
<br>
I believe that adding two entries with different name and port to<br>
ups.conf will deliver what you need.<br></blockquote><div><br>and the discriminant, as you well noted above: either id, serial, bus, ...<br>example (with usbhid-ups):<br> <br>[ups1]<br>    driver = usbhid-ups<br>    port = auto<br>

    serial = XXYY<br>[ups2]<br>
    driver = usbhid-ups<br>
    port = auto<br>
    serial = XXZZ<br>
<br>take a look at the manpage of your driver for more information.<br>Feedback on working units that are not listed in the HCL (<a href="http://www.networkupstools.org/stable-hcl.html" target="_blank">http://www.networkupstools.org/stable-hcl.html</a>) is also welcome.<br>

<br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com/" target="_blank">http://powerquality.eaton.com</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>

Debian Developer - <a href="http://www.debian.org/" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Petr<br>
<br>
Sebastián León del Moral píše v St 27. 07. 2011 v 11:25 +0200:<br>
<div><div></div><div>> Hi, my name is Sebastián from Spain<br>
><br>
> I need help for that. I have 2 salicru ups I need monitor with a fedora<br>
> 14 pc. Someone knows if i can configure ups.conf to monitor one or<br>
> another ups? only make a upsc "ups" for take data. The upses are<br>
> connected via usb and nut always read the first one connected. The<br>
> upses are the same model.<br>
><br>
> Thanks for all!<br>
><br>
> Sebastián León del Moral<br>
> <a href="mailto:urticaries@gmail.com" target="_blank">urticaries@gmail.com</a><br>
><br>
><br>
> _______________________________________________<br>
> Nut-upsuser mailing list<br>
> <a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a></div></div></blockquote></div><br><br>
</blockquote></div></div></div><br></div></div></blockquote></div><br><br>