Hi Arnaud,<br><br>Thanks for your reply.<br><br>-The latest NUT development version used;<br>-Beeper was still beeping after each command execution;<br>-Please find the files attached:<br>beeper.toggle disabled > NUT_beeper_toggle_disabled.txt<br>
beeper.toggle 2 > NUT_beeper_toggle_2.txt<br><br>Thank you,<br>Sergey<br><br><br><div class="gmail_quote">On Mon, Oct 1, 2012 at 11:12 AM, Arnaud Quette <span dir="ltr"><<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_quote">2012/10/1 Sergey Talchuk <span dir="ltr"><<a href="mailto:tals1975@gmail.com" target="_blank">tals1975@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Arnaud,</blockquote><div><br>Hi Sergey,<br> </div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Please find the file attached.<br></div></blockquote>

</div><div><br>thanks. I realized that I made a typo error in the 2nd command (the "d" was missing at the end of "disable*d*")<br>Thus the value of "disabled" was not resolved to "2".<br>

I also forgotten to explicitly ask for the beeper behavior, after each execution of upscmd.<br>So, can you please try again both and tell me if the beeper still beeping?<div class="im"><br><br># upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle 2<br>
</div>

# upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle disabled<br><br>I'm only interested in the ack and the (compressed) trace of the 2nd (=> disabled)  to see the value resolution.<br><br>In a 2nd time, I'd like to also add enumerated value to this instant command.<br>

Will you be able to compile and test the latest NUT development version?<div><div class="h5"><br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix / Opensource Engineering Expert - Eaton - <a href="http://opensource.eaton.com" target="_blank">http://opensource.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.fr" target="_blank">http://arnaud.quette.fr</a><br></div></div></div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div><div class="gmail_quote">On Mon, Sep 24, 2012 at 12:02 PM, Arnaud Quette <span dir="ltr"><<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_quote"><div>2012/9/24 Sergey Talchuk <span dir="ltr"><<a href="mailto:tals1975@gmail.com" target="_blank">tals1975@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Arnaud!<br></blockquote></div><div><br>Hi Sergey,<br><br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for you reply.<br>Please find the file attached.<br>



</blockquote></div><div><br>I forgot to ask you to compress the output before sending it to the list (we have a 40Kb limit).<br><br>Could you please do the following tests:<br># upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle 2<br>



# upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle disable<br><br>check the beeper.status and send me back the *compressed* output.<br>Depending on your feedback, I should be able to address this programmatically.<br>



<br>cheers,<br>Arnaud<span><font color="#888888"><br>-- <br>Linux / Unix / Opensource Engineering Expert - Eaton - <a href="http://opensource.eaton.com" target="_blank">http://opensource.eaton.com</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a></font></span><div>


<div><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> </div></div></div>


<div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div class="gmail_quote">On Wed, Sep 19, 2012 at 9:39 PM, Arnaud Quette <span dir="ltr"><<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_quote">2012/9/19 Sergey Talchuk <span dir="ltr"><<a href="mailto:tals1975@gmail.com" target="_blank">tals1975@gmail.com</a>></span><br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Arnaud!<br></blockquote><div> <br>Hi Sergey<br><br></div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Powercom Imperial IMP-525AP seems to be fully compatible with NUT.<br>





Unfortunately, I can not disable beeper.<br><br>upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle<br>returns <b>OK</b>, however, ups.beeper.status=enabled<br>
<br>Thank you,<br>Sergey<br><br>==========<br>Additional info:<br>1)<br>$ upsc powercom<br>battery.charge: 100<br>battery.charge.low: 10<br>battery.charge.warning: 30<br>battery.date: 2010/01/01<br>battery.runtime: 2432<br>






battery.type: PbAc<br>device.mfr: POWERCOM Co.,LTD<br>device.model:   UPS  IMP--525AP FW3.A2<br>device.serial: 3A2-0000-0001<br>device.type: ups<br><a href="http://driver.name" target="_blank">driver.name</a>: usbhid-ups<br>





driver.parameter.pollfreq: 30<br>
driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>driver.version: 2.6.5<br>driver.version.data: PowerCOM HID 0.3<br>driver.version.internal: 0.37<br>input.frequency: 50.0<br>input.voltage: 230.0<br>input.voltage.nominal: 220<br>






output.frequency: 50.0<br>output.voltage: 230.0<br>output.voltage.nominal: 220<br>ups.beeper.status: enabled<br>ups.date: 2010/01/01<br>ups.load: 0<br>ups.mfr: POWERCOM Co.,LTD<br>ups.model:   UPS  IMP--525AP FW3.A2<br>ups.productid: 00a2<br>






ups.serial: 3A2-0000-0001<br>ups.status: OL<br>ups.test.result: Done and passed<br>ups.vendorid: 0d9f<br><br>2)<br>$ upscmd -l powercom<br>Instant commands supported on UPS [powercom]:<br><br>beeper.toggle - Toggle the UPS beeper<br>






test.battery.start.quick - Start a quick battery test<br><br>3)<br>$ upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle<br>OK<br><br>4) <br>$ upsc powercom | grep 'beeper'<br>ups.beeper.status: enabled<br>






</blockquote></div></div></div><br>can you please:<br>- restart the driver in debug mode (level 5) using:<br># upsdrvctl stop powercom && /path/to/usbhid-ups -DDDDD -a powercom<br>- in a separate console, send your upscmd, as in the above step (3)<br>





- send the driver trace excerpt, including at least 10 seconds of traces after executing the command.<br><br>cheers,<br>Arnaud<span><font color="#888888"><br>-- <br>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>
</font></span></blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>