<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>
<<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>> написал:<br>
<div class="im"><br>
>> It looks like bcmxcp driver doesn't fit my device:<br>
>><br>
>> UPS Model PW9125<br>
>> UPS Firmware Version FP: 1.10 INV: 1.10<br>
>> VA Rating 3000 VA<br>
>><br>
>> Web/SNMP card is present.<br>
>><br>
>> Minicom connection to /dev/ttyS0 gives nice banner and control menu,<br>
>> but they prevent nut driver from working correctly (I guess). UPS should<br>
>> be switched into "Pass-Through" mode before BCM/XCP commands<br>
>> became actual.<br>
>><br>
>> How to deal with such UPS? Should I modify default bcmxcp driver or<br>
>> somehow turn device into supported mode?<br>
><br>
> the bcmxcp driver is for serial communication (like bcmxcp_usb is for USB).<br>
> here, you should be using snmp-ups, ie having in your ups.conf the<br>
> following:<br>
> [connectUPS]<br>
> driver = snmp-ups<br>
> port = <ip address of the connectUPS card><br>
><br>
> this should answer your needs.<br>
<br>
</div>Thank you, it works this way too, but I'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'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 "Serial Pass-Through Mode":<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'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've succeeded in using bcmxcp driver (with a serial to USB converter). To speed up the driver startup, put "baud_rate=9600" 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&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>