<br><div class="gmail_quote">2012/3/29 Joachim Schiele <span dir="ltr"><<a href="mailto:js@lastlog.de">js@lastlog.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
<br>
i own a aeg protect home (think it is a 600 VA) which has a serial and an usb port.<br>
<br>
using this hack in ups.conf:<br>
 [bestupsname]<br>
       driver = bestups<br>
       port = /dev/ttyUSB0<br>
       ID = FOR,750,230,230,11.0,13.5<br>
       desc = "home-server"<br>
<br>
i start the driver with:<br>
  ./bestups -a bestupsname -D -q<br></blockquote><div><br>the bestups driver is indeed part of the large "Q1 protocol" family:<br><a href="https://alioth.debian.org/pm/task.php?func=detailtask&project_task_id=493&group_id=30602&group_project_id=318">https://alioth.debian.org/pm/task.php?func=detailtask&project_task_id=493&group_id=30602&group_project_id=318</a><br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
and after adding some debugging it seems to work (not yet in production). i first started by looking at the protocol and it is very very similar to <a href="http://www.networkupstols.org/ups-protocols/megatec.html" target="_blank">www.networkupstols.org/ups-protocols/megatec.html</a> at least protocol wise.<br>
</blockquote><div><br>so the way to go is blazer_ser or blazer_usb<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
but i have a few problems<br>
<br>
==== problem 1 ====<br>
using FOR is wrong as it then reports as a different device than it actually is. should i add a new device string, say APH?<br>
<br>
==== problem 2 ====<br>
i would like to use the usb protocol but i don't know where to start.<br>
<br>
lsusb<br>
Bus 003 Device 003: ID 0665:5161 Cypress Semiconductor USB to Serial<br></blockquote><div><br>confirming blazer_usb support<br clear="all"></div></div><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>