Hi Paul<br><br><div class="gmail_quote">2012/8/19 Paul Barber <span dir="ltr"><<a href="mailto:p@barbz.com.au" target="_blank">p@barbz.com.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi all,<div><br></div><div>I have an eaton ENV800HA connected for a freebsd 9.0 box with nut 2.6.5 installed (on the supported list).</div><div><br></div><div>The UPS is connected using the Blazer_USB driver (not sure how to check its version).</div>
<div><br></div><div>When I kick off upsd it detects the UPS no problems and I get all my information:</div><div><br></div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">battery.charge: 100</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">battery.voltage: 13.60</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">battery.voltage.high: 13.00</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">battery.voltage.low: 10.40</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">battery.voltage.nominal: 12.0</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">device.type: ups</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"><a href="http://driver.name" target="_blank">driver.name</a>: blazer_usb</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">driver.parameter.pollinterval: 2</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">driver.parameter.port: /dev/ugen1.5</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">driver.version: 2.6.5-Unversioned directory</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">driver.version.internal: 0.09</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">input.current.nominal: 3.0</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">input.frequency: 50.2</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">input.frequency.nominal: 50</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">input.voltage: 245.0</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">input.voltage.fault: 244.5</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">input.voltage.nominal: 240</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">output.voltage: 245.0</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.beeper.status: enabled</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.delay.shutdown: 30</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.delay.start: 180</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.load: 4</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.productid: 5161</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.status: OL</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.temperature: 25.0</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.type: offline / line interactive</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">ups.vendorid: 0665</span></div><div><br></div><div>However after a random amount of time I get the following error:</div>
<div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">blazer_usb[4466]: Permissions problem: Input/output error</span></div>
<div><br></div><div>Followed by:</div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">upsd[4468]: Can't connect to UPS [EatonUPS] (blazer_usb-EatonUPS): No such file or directory</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">upsmon[4566]: Poll UPS [EatonUPS@localhost] failed - Driver not connected</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">upsmon[4566]: Communications with UPS EatonUPS@localhost lost</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">upssched-cmd: Communications with the UPS EatonUPS@localhost are lost</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">upsmon[4566]: Poll UPS [EatonUPS@localhost] failed - Driver not connected</span></div>
<div><br></div><div>Ive tried the basics and chmod 777'd the ugen1.5 port (not a problem it if works for a while) but worth a shot.</div><div><br></div><div>After doing some reading on here I ran <span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">/usr/local/libexec/nut/./blazer_usb -u root -DDD -a EatonUPS which on its first run worked for 72 seconds, but 330 seconds on the second run before ending with:</span></div>
<div><br></div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">327.930857   send: Q1</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 328.193486   read: (247.0 247.0 247.0 004 50.0 13.6 25.0 00001001</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 329.940841   send: Q1</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 330.177471   read: (247.0 247.0 247.0 004 50.0 13.6 25.0 00001001</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 331.950574   send: Q1</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 332.193457   read: (247.0 247.0 247.0 004 50.0 13.6 25.0 00001001</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 338.860148   send: Unknown error</span><br style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono;margin:0px;padding:0px">
<div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono"> 338.860204   Permissions problem: Input/output error</span></div>
<div><br></div><div>Ive also found the following message in the log when I start upsd:</div><div><span style="line-height:15.199999809265137px;color:rgb(46,139,87);font-size:12px;font-family:Monaco,'Andale Mono','Courier New',Courier,mono">root: Unknown USB device: vendor 0x0665 product 0x5161 bus uhub2</span></div>
</div></blockquote><div><br>is this msg different from the one when you initially plug your UPS USB cord?<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
<div></div><div> Any ideas where to go from here?</div></div></blockquote></div><br clear="all">good question!<br>blazer_usb will reconnect upon certain error, like your IO one.<br>but the thing is that device permissions must allow that.<br>
Ie, on Linux, udev is in charge of setting the permissions for NUT on all known devices.<br>thus, upon any kind of disconnection/reconnection, NUT will be able to establish again the communication.<br>you should dig around this...<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><br>