Hi Greg,<br><br><div class="gmail_quote">2009/5/21 Greg <span dir="ltr">&lt;<a href="mailto:greg_roll@hotmail.com">greg_roll@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
<div><font face="Calibri">Hi Arnaud,</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Any luck with the latest </font><font face="Times New Roman">subversion trunk?</font></div></div></blockquote><div><br>sorry for the lag... too many things, not enough time.<br><br>I&#39;m preparing a version with some more debug info, but I&#39;m still puzzled with your issue.<br>
in the meantime, can you retry the debug test on your 9.04, ie<br><br><span lang="EN-AU">export USB_DEBUG=3 &amp;&amp; /lib/nut/bcmxcp_usb -u root -DDDDD -a PowerWare</span><br><br>if you end up with &quot;<font face="Calibri">Can&#39;t set POWERWARE USB configuration&quot;, then we should have an msg from libusb like &quot;</font>could not set config...&quot; with the exact errno...<br>
<br>I&#39;ll then ping you for the updated driver.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
<div><font face="Times New Roman"></font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="greg_roll@hotmail.com" href="mailto:greg_roll@hotmail.com" target="_blank">Greg</a> </div>
<div><b>Sent:</b> Wednesday, May 13, 2009 10:34 PM</div>
<div><b>To:</b> <a title="greg_roll@hotmail.com" href="mailto:greg_roll@hotmail.com" target="_blank">Greg</a> ; <a title="aquette.dev@gmail.com" href="mailto:aquette.dev@gmail.com" target="_blank">Arnaud Quette</a> </div>

<div><b>Cc:</b> <a title="kjell.claesson@epost.tidanet.se" href="mailto:kjell.claesson@epost.tidanet.se" target="_blank">Kjell Claesson</a> ; <a title="nut-upsuser@lists.alioth.debian.org" href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a> 
</div>
<div><b>Subject:</b> Re: [Nut-upsuser] Nut and PowerWare 5115</div></div></div>
<div><br></div>
<div><font face="Calibri">Hi Arnaud,</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Some more testing on Ubuntu 9.04.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Here is the output of bcmxcp_usb and lsusb</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">============================================</font></div>
<div><span lang="EN-AU">
<p><a href="mailto:root@Ubuntu9:/lib/nut" target="_blank">root@Ubuntu9:/lib/nut</a># 
./bcmxcp_usb -a PowerWare -u root</p>
<p>Network UPS Tools - BCMXCP UPS driver 0.21 (2.4.1)</p>
<p>USB communication subdriver 0.17</p>
<p>usb_set_debug: Setting debugging level to 3 (on)</p>
<p>usb_os_init: Found USB VFS at /dev/bus/usb</p>
<p>usb_os_find_busses: Found 001</p>
<p>usb_os_find_busses: Found 002</p>
<p>usb_os_find_devices: Found 001 on 001</p>
<p>usb_os_find_devices: Found 003 on 002</p>
<p>skipped 1 class/vendor specific interface descriptors</p>
<p>usb_os_find_devices: Found 002 on 002</p>
<p>usb_os_find_devices: Found 001 on 002</p>
<p>error obtaining child information: Inappropriate ioctl for device</p>
<p>root@Ubuntu9:/lib/nut# lsusb</p>
<p>usb_set_debug: Setting debugging level to 3 (on)</p>
<p>usb_os_init: Found USB VFS at /dev/bus/usb</p>
<p>usb_os_find_busses: Found 001</p>
<p>usb_os_find_busses: Found 002</p>
<p>usb_os_find_devices: Found 001 on 001</p>
<p>usb_os_find_devices: Found 003 on 002</p>
<p>skipped 1 class/vendor specific interface descriptors</p>
<p>usb_os_find_devices: Found 002 on 002</p>
<p>usb_os_find_devices: Found 001 on 002</p>
<p>error obtaining child information: Inappropriate ioctl for device</p>
<p>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</p>
<p>Bus 002 Device 003: ID 06da:0002 Phoenixtec Power Co., Ltd UPS</p>
<p>Bus 002 Device 002: ID 0e0f:0002 </p>
<p>Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</p>
<p>===========================================</p></span></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div><br></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="greg_roll@hotmail.com" href="mailto:greg_roll@hotmail.com" target="_blank">Greg</a> </div>
<div><b>Sent:</b> Thursday, May 07, 2009 9:22 PM</div>
<div><b>To:</b> <a title="aquette.dev@gmail.com" href="mailto:aquette.dev@gmail.com" target="_blank">Arnaud Quette</a> </div>
<div><b>Cc:</b> <a title="kjell.claesson@epost.tidanet.se" href="mailto:kjell.claesson@epost.tidanet.se" target="_blank">Kjell Claesson</a> ; <a title="nut-upsuser@lists.alioth.debian.org" href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a> 
</div>
<div><b>Subject:</b> Re: [Nut-upsuser] Nut and PowerWare 5115</div></div></div>
<div><br></div>
<div><font face="Calibri">Hi Arnaud,</font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div><br></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="aquette.dev@gmail.com" href="mailto:aquette.dev@gmail.com" target="_blank">Arnaud Quette</a> </div>
<div><b>Sent:</b> Thursday, May 07, 2009 6:50 AM</div>
<div><b>To:</b> <a title="greg_roll@hotmail.com" href="mailto:greg_roll@hotmail.com" target="_blank">Greg</a> </div>
<div><b>Cc:</b> <a title="kjell.claesson@epost.tidanet.se" href="mailto:kjell.claesson@epost.tidanet.se" target="_blank">Kjell Claesson</a> ; <a title="nut-upsuser@lists.alioth.debian.org" href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a> 
</div>
<div><b>Subject:</b> Re: [Nut-upsuser] Nut and PowerWare 5115</div></div></div>
<div><br></div>Hi Greg,<br><br>
<div class="gmail_quote">2009/5/4 Greg <span dir="ltr">&lt;<a href="mailto:greg_roll@hotmail.com" target="_blank">greg_roll@hotmail.com</a>&gt;</span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
  <div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area">
  <div><font face="Calibri">Hi guys,</font></div>
  <div><font face="Calibri"></font> </div>
  <div><font face="Calibri">I installed Nut 2.4.1_4 on Ubuntu 9.04 and I have 
  similar issues. If I run upsdrvctl start I get</font></div>
  <div><font face="Calibri"></font> </div></div></blockquote>
<div><br>2.4.1-2ubuntu4 you mean (the one that is available in the 
distro)?<br>have you tried to unplug and plug back the USB cord of the UPS? 
otherwise, try this and relaunch upsdrvctl or bcmxcp_usb<br></div>
<div><font face="Calibri">Sorry yes I installed the package from the distro. 
I have unplugged and plugged back in the UPS but get the same 
issue.</font></div>
<div> </div>
<div><font face="Calibri">I am creating a new install of Ubuntu 9.04 and will test 
again.</font> </div><font face="Calibri"></font></div>
<div class="gmail_quote">
<div><br></div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
  <div style="padding-left: 10px; padding-right: 10px; padding-top: 15px;" name="Compose message area"><font face="Calibri"></font><font face="Calibri"></font>
  <div></div>
  <div><font face="Calibri">==============================</font></div>
  <div>
  <div><font face="Calibri"></font> </div>
  <div><font face="Calibri">Can&#39;t set POWERWARE USB configuration<br>Unable to 
  find POWERWARE UPS device on USB bus 
  <div> </div>
  <div class="gmail_quote"><font face="Calibri">Things to try:</font></div>
  <div> </div>
  <div class="gmail_quote"><font face="Calibri"> - Connect UPS device to USB 
  bus</font></div>
  <div> </div>
  <div class="gmail_quote"><font face="Calibri"> - Run this driver as another 
  user (upsdrvctl -u or &#39;user=...&#39; in ups.conf).<br>   See 
  upsdrvctl(8) and ups.conf(5).</font></div>
  <div> </div>
  <div class="gmail_quote"><font face="Calibri">Fatal error: unusable 
  configuration<br>CLOSING</font></div></font></div>
  <div><font face="Calibri"></font> </div></div>
  <div><font face="Calibri">==============================</font></div>
  <div><font face="Calibri"></font> </div>
  <div><font face="Calibri">I am unable to run /lib/nut/bcmxcp_usb -a PowerWare -u 
  root as none of the files in /lib/nut appear as executable.</font></div>
  <div><font face="Calibri"></font> </div>
  <div><font face="Calibri">Any thoughts?</font></div>
  <div><font face="Calibri"></font> </div></div></blockquote>
<div><br>I&#39;ve just checked again, and all the files in /lib/nut are executable 
in a fresh jaunty install.<br>otherwise, you wouldn&#39;t have been able to run the 
driver nor get the above output!<br>so I found this strange, you should check 
again... it&#39;s probably the devices privileges mentioned above.<br>and this one 
is possibly due to a bug in the package.<br><br></div></div>
<div>we seem to face a completely different issue here than the one on the 
QNAP.<br>I&#39;d first like to be sure that you&#39;re unit is working (or not) in 
jaunty before getting back to the QNAP.<br><br>I&#39;ve just checked the code (which 
has been revamped), and the specific part seem similar (can&#39;t be 100% sure 
though). now, I&#39;ll have to add some more trace to get more visibility.<br>I&#39;ll 
probably ping you tomorrow to test the latest subversion trunk. ok with that 
method?<br></div>
<div><font face="Calibri">Yes that will be fine. I will be away from home the next 
3 days but I will test when I return.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Thanks again for your help.</font></div>
<div><font face="Calibri"></font> </div>
<div><br>Arnaud<br></div></div></blockquote></div><br><br clear="all">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>