<br><div class="gmail_quote">2012/10/18 Mike Raath <span dir="ltr"><<a href="mailto:raathm@gmail.com" target="_blank">raathm@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi</blockquote><div><br>Hi Mike,<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>Having followed this guide: <a href="http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/" target="_blank">http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/</a> and seeing support for Apollo UPSes mentioned on the compatibility list (genericups, type=4) I tried to set up Nut as follows.</div>

<div><br></div><div>OS: Ubuntu Server 12.04</div><div>Nut: 2.6.3 (I believe - from Ubuntu repos)</div><div><br></div><div>ups.conf:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

[apollo]<br><span style="white-space:pre-wrap">   </span>driver = genericups<br><span style="white-space:pre-wrap">   </span>upstype = 4<br><span style="white-space:pre-wrap">   </span>port = /dev/ttyUSB0</blockquote>
<div><br></div><div>Problem is that there is no ttyUSB0 device. UPS attaches to machine via USB cable, and lsusb indicates that it is a Cypress Semiconductor USB to Serial cable.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

$ lsusb<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>Bus 004 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial</blockquote></div></blockquote>
</div><br>try using this in ups.conf:<br>[apollo]<br>    driver = blazer_usb<br>    port = auto<br><br>start the driver using:<br>$ /lib/nut/blazer_usb -u root -DDDDD -a apollo<br><br>let the driver run for a couple of minutes, then Ctrl+C, and send back the output in compressed form.<br>
<br>cheers,<br>Arnaud<br>-- <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.fr" target="_blank">http://arnaud.quette.fr</a><br><br>