<br><div class="gmail_quote">2011/7/27 Petr Kubánek <span dir="ltr"><<a href="mailto:petr@kubanek.net">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">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 class="h5">> 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">urticaries@gmail.com</a><br>
><br>
><br>
> _______________________________________________<br>
> Nut-upsuser mailing list<br>
> <a href="mailto:Nut-upsuser@lists.alioth.debian.org">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">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>