<br><div class="gmail_quote">2010/8/26 Баталов Григорий<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">26 августа 2010 г. 12:11 пользователь Arnaud Quette<br>

&lt;<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>&gt; написал:<br>
<div class="im"><br>
&gt;&gt; It looks like bcmxcp driver doesn&#39;t fit my device:<br>
&gt;&gt;<br>
&gt;&gt; UPS Model                    PW9125<br>
&gt;&gt; UPS Firmware Version    FP: 1.10 INV: 1.10<br>
&gt;&gt; VA Rating                      3000 VA<br>
&gt;&gt;<br>
&gt;&gt; Web/SNMP card is present.<br>
&gt;&gt;<br>
&gt;&gt; Minicom connection to /dev/ttyS0 gives nice banner and control menu,<br>
&gt;&gt; but they prevent nut driver from working correctly (I guess). UPS should<br>
&gt;&gt; be switched into &quot;Pass-Through&quot; mode before BCM/XCP commands<br>
&gt;&gt; became actual.<br>
&gt;&gt;<br>
&gt;&gt; How to deal with such UPS? Should I modify default bcmxcp driver or<br>
&gt;&gt; somehow turn device into supported mode?<br>
&gt;<br>
&gt; the bcmxcp driver is for serial communication (like bcmxcp_usb is for USB).<br>
&gt; here, you should be using snmp-ups, ie having in your ups.conf the<br>
&gt; following:<br>
&gt; [connectUPS]<br>
&gt;         driver = snmp-ups<br>
&gt;         port = &lt;ip address of the connectUPS card&gt;<br>
&gt;<br>
&gt; this should answer your needs.<br>
<br>
</div>Thank you, it works this way too, but I&#39;d like to setup serial<br>
communication as well.<br>
<br>
Do you mean that SNMP card has unsupported serial port and<br>
bcmxcp driver is for standalone communication ports only (9 pins)?<br></blockquote></div><br>ok, I took a bit of time to complete my knowledges on this specific topic.<br>According to what I&#39;ve found, you should be able to enable the serial communication using UPS passthrough communication. This should only need settings on the DIP switches, which should get rid of any driver modifications.<br>
See the below link, p32, chapter &quot;Serial Pass-Through Mode&quot;:<br><a href="http://lit.powerware.com/ll_download.asp?file=1405E-WebCard-Rel.pdf">http://lit.powerware.com/ll_download.asp?file=1405E-WebCard-Rel.pdf</a><br>
<br clear="all">Are your DIP switches set to the 1 (on) position? Have you made a reset?<br><br>I&#39;ve made a test on my side, with a 9130 and a connectUPS BD slot (which has the same features, but not the same form factor. By applying the above mentioned procedure, I&#39;ve succeeded in using bcmxcp driver (with a serial to USB converter). To speed up the driver startup, put &quot;baud_rate=9600&quot; in your ups.conf section for this UPS.<br>
<br>I will complete the HCL with these information.<br>thanks for pointing me this feature ;-)<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>