<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><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"><br>
We need to make sure this isn't something vm-related</blockquote><div> </div><div>I suspect that this is definitely vm related now. I've tried Ubuntu server 10.10 as you suggested, and also Debian wheezy and both do the same thing.</div><div><br></div><div>I saw in another thread that the author of the .vib of nut for ESXi is on this mailer - hopefully he can shed some light on what's happening. I would even be happy if I can simulate the cable being disconnected through the ESX CLI, have asked the same question on the vmware communities page but no answer.</div><div><br></div><div>This is frustrating as we are about to go into a full-blown power crisis in this country and loss of data is a real risk.</div><div><br></div><div>Thanks so far for your help, hopefully we can still get to the bottom of this though.</div><div><br></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">
<br>
Also:<br>- do you see any difference if you launch, as root, the driver with<br>
the '-u root' option?<br>
</blockquote></div><br></div><div class="gmail_extra">I tried, and it can't re-establish the connection</div><div class="gmail_extra"><br></div><div class="gmail_extra"><p style="margin:0px;font-size:11px;font-family:Menlo">$ sudo /lib/nut/blazer_usb -u root -a apollo-ups -DDDDD</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.3)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.000000<span class="" style="white-space:pre">   </span>debug level is '5'</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.037486<span class="" style="white-space:pre">   </span>Checking device (0665/5161) (002/004)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450857<span class="" style="white-space:pre">   </span>- VendorID: 0665</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450894<span class="" style="white-space:pre">   </span>- ProductID: 5161</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450900<span class="" style="white-space:pre">   </span>- Manufacturer: unknown</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450906<span class="" style="white-space:pre">   </span>- Product: WayTech USB-RS232 Interface (V1.0)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Baud rate 2400bps</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450913<span class="" style="white-space:pre">   </span>- Serial Number: unknown</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450918<span class="" style="white-space:pre">   </span>- Bus: 002</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450923<span class="" style="white-space:pre">   </span>Trying to match device</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.450932<span class="" style="white-space:pre">   </span>Device matches</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455814<span class="" style="white-space:pre">   </span>send_to_all: SETINFO ups.vendorid "0665"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455852<span class="" style="white-space:pre">   </span>send_to_all: SETINFO ups.productid "5161"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455865<span class="" style="white-space:pre">   </span>send_to_all: SETINFO device.type "ups"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455873<span class="" style="white-space:pre">   </span>send_to_all: SETINFO driver.version "2.4.3"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455881<span class="" style="white-space:pre">   </span>send_to_all: SETINFO driver.version.internal "0.03"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455889<span class="" style="white-space:pre">   </span>send_to_all: SETINFO <a href="http://driver.name">driver.name</a> "blazer_usb"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.455895<span class="" style="white-space:pre">   </span>Trying megatec protocol...</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   0.470826<span class="" style="white-space:pre">   </span>send: Q1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   1.472061<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   1.472099<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   1.472107<span class="" style="white-space:pre">   </span>Status read 1 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   1.487818<span class="" style="white-space:pre">   </span>send: Q1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   2.490033<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   2.490077<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   2.490085<span class="" style="white-space:pre">   </span>Status read 2 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   2.505990<span class="" style="white-space:pre">   </span>send: Q1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   3.509926<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   3.509969<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   3.509977<span class="" style="white-space:pre">   </span>Status read 3 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   3.509983<span class="" style="white-space:pre">   </span>Trying mustek protocol...</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   3.524769<span class="" style="white-space:pre">   </span>send: QS</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   4.526100<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   4.526143<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   4.526151<span class="" style="white-space:pre">   </span>Status read 1 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   4.541874<span class="" style="white-space:pre">   </span>send: QS</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   5.544009<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   5.544047<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   5.544054<span class="" style="white-space:pre">   </span>Status read 2 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   5.559816<span class="" style="white-space:pre">   </span>send: QS</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   6.561675<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   6.561714<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   6.561814<span class="" style="white-space:pre">   </span>Status read 3 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   6.561825<span class="" style="white-space:pre">   </span>Trying megatec/old protocol...</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   6.575768<span class="" style="white-space:pre">   </span>send: D</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   7.576204<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   7.576243<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   7.576251<span class="" style="white-space:pre">   </span>Status read 1 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   7.586650<span class="" style="white-space:pre">   </span>send: D</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   8.589290<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   8.589331<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   8.589339<span class="" style="white-space:pre">   </span>Status read 2 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   8.600671<span class="" style="white-space:pre">   </span>send: D</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   9.602361<span class="" style="white-space:pre">   </span>read: No error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   9.602400<span class="" style="white-space:pre">   </span>blazer_status: short reply</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   9.602408<span class="" style="white-space:pre">   </span>Status read 3 failed</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">   9.602414<span class="" style="white-space:pre">   </span>No supported UPS detected</p></div></div>