Greg,<br><br><div class="gmail_quote">2009/4/23 Greg <span dir="ltr">&lt;<a href="mailto:greg_roll@hotmail.com" target="_blank">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 and Kjell,</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Please find answers below.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">I also re-compiled 2.4.1 myself on Ubuntu and still got 
the same issues/errors.</font></div>
<div><font face="Calibri"></font> </div></div></blockquote><div><br>ok, I think I&#39;ve got it: how did you tried this one: recompiling the deb package or the source.<br>there is a udev change in 2.4.1 that is targeted to Jaunty.<br>
udev rules were previously in /etc/udev/rules.d, and is now is /lib/udev/rules.d<br><br>this means that the privileges won&#39;t be set correctly if you use such a package on pre jaunty.<br>if you went from source, well I&#39;m not sure.<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></div>
<div><font face="Calibri">If you have anything you would like run or if there is 
any other debugging I am happy to compile/run it.</font></div>
<div><font face="Calibri"></font> </div></div></blockquote><div><br>yep, I&#39;m interested in a simple &#39;lsusb&#39;<br>then, validates the privileges for both 2.2.2 and 2.4.1 with the data from lsubs (Bus and Dev)<br>
by doing an &quot;ls -l /dev/bus/usb/XXX/YYY&quot; (and/or /proc/bus... equivalent).<br><br>my guess is that it&#39;s a permission issue.<br>and you can validate it by running the driver as root (ie bcmxcp_usb -u root ...)<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></div>
<div><font face="Calibri">Is there anything else you can think of that I can try 
to get nut 2.2.2 working on my QNAP??</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> Wednesday, April 22, 2009 9:31 PM</div>
<div><b>To:</b> <a title="greg_roll@hotmail.com" href="mailto:greg_roll@hotmail.com" target="_blank">Greg</a> ; <a title="kjell.claesson@epost.tidanet.se" href="mailto:kjell.claesson@epost.tidanet.se" target="_blank">Kjell Claesson</a> </div>

<div>
<div><b>Cc:</b> <a title="mailto:nut-upsuser@lists.alioth.debian.org
CTRL + Click to follow link" 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>
<div><br></div><div>
<div>Greg,<br><br>I forgot to add that I&#39;m interested in an upsc output of the 
working version (ubuntu 8.10 with 2.2.2...)<br></div>
</div><div><font face="Calibri">Here you go</font></div>
<div><font face="Calibri">=============================</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri"><a href="mailto:root@ubuntuvmp" target="_blank">root@ubuntuvmp</a>:~# 
upsc <a href="mailto:PowerWare@localhost" target="_blank">PowerWare@localhost</a><br>ambient.temperature: 
42<br>battery.charge: 100<br>battery.runtime: 2334<br>battery.voltage: 
13.47<br><a href="http://driver.name" target="_blank">driver.name</a>: bcmxcp_usb<br>driver.parameter.pollinterval: 
2<br>driver.parameter.port: auto<br>driver.version: 
2.2.2<br>driver.version.internal: 0.14<br>input.frequency: 
50.34<br>input.voltage: 249<br>output.current:  0.0<br>output.frequency: 
50.34<br>output.phases: 1<br>output.voltage: 249<br>output.voltage.nominal: 
240<br>ups.firmware: Cont:01.00 Inve:10.04<br>ups.load:  10.2<br>ups.model: 
51150500A           
500VA<br>ups.power.nominal: 500<br>ups.serial: UY196A0229<br>ups.status: 
OL</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">=============================</font></div><div><div></div><div>
<div><font face="Calibri"></font> </div></div></div></div></blockquote><div><br>everything is ok there.<br>I still fail to see anything that can result in the 2.4.1 issue you have.<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><div><div></div>
<div><font face="Calibri"></font> </div>
<div><br>thanks (and sorry for top posting)<br>Arnaud<br><br></div>
</div></div><div class="gmail_quote"><div><div></div><div>2009/4/22 Arnaud Quette <span dir="ltr">&lt;<a title="mailto:aquette.dev@gmail.com
CTRL + Click to follow link" href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>&gt;</span><br>
</div></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Greg, Kjell,<br><br>
  <div class="gmail_quote"><div><div></div><div>2009/4/21 Kjell Claesson <span dir="ltr">&lt;<a href="mailto:kjell.claesson@epost.tidanet.se" target="_blank">kjell.claesson@epost.tidanet.se</a>&gt;</span> 
  <div><br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">tisdag 21 april 2009 14:43:28 skrev Â Greg:<br>&gt; Hi 
    Kjell,<br>&gt;<br>Hi Greg,<br>
    <div><br>&gt; Sorry for the late reply been doing a lot of 
    testing.<br></div>No problem.<br>
    <div><br>&gt; I got the package from<br>&gt; <a href="http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/nut_2.4" target="_blank">http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/nut_2.4</a>.<br>

&gt;1-1_arm.ipk 
    It pretty much pre-compiled which are then extracted to the<br>&gt; device 
    on installation.<br></div>OK.<br>
    <div><br>&gt;<br>&gt; I tested nut and the 5115 under Ubuntu 8.10. Ubuntu 
    comes with nut 2.2.2 by<br>&gt; default which works fine. I installed 2.4.1 
    which does not work either.<br>&gt;<br></div>This is not so good. Then we 
    may have a bug introduced to the nut_usb.<br>I cc this mail to 
    Arnaud.<br>Arnaud can you run some tests on the PW5115 with NUT 2.4.1 
    ?<br>We may have broken something from version 2.2.2.<br><br>But it may be 
    the package also but I think Arnaud is working on that 
  to.<br></blockquote></div>
  <div><br>well, the packages (and ipk are iirc kinda simplified debs) are quite 
  straighforward.<br>the &quot;nut&quot; package (for example on Ubuntu) includes the core 
  and the serial/usb drivers, with the udev file and so on. the hal support is 
  in another packages that is conflicting with the &quot;nut&quot; one (in order to avoid 
  runtime conflict between the classic and hal drivers).<br><br></div>
  <div>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">The error:<br>
    <div>&gt; USB error: could not set config 1: Device or resource busy<br>&gt; 
    Can&#39;t set POWERWARE USB configuration<br>&gt; Unable to find POWERWARE UPS 
    device on USB bus<br></div>Is indicating that something is already 
    running.<br>Did you check that the debug run was the only thing running at 
    the moment.<br>
    <div></div></blockquote></div>
  <div><br>yup, 2nded.<br>Greg: can you try again this test please.</div>
  <div> </div>
  </div></div><div><font face="Calibri">Yes it was the only thing running. I even restarted a 
  few times and tried a few more times.</font><br><br></div><div>
  <div>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
    <div>&gt; So I compiled and installed 2.2.2 on my QNAP device and it still 
    doesn&#39;t<br>&gt; work.<br>&gt; 2.2.2 was compiled on my QNAP without HAL 
    support just USB support.<br></div>Yes, and I see that you get the same 
    error as you get on 2.4.1 on the QNAP.<br><br>The problem is that I don&#39;t 
    have any 5115 to test this on. So I hope that<br>Arnaud can test this. My 
    PW3105 is running fine on usb on 2.4.1.<br></blockquote></div></div></div><div>
  <div><br>I&#39;ve just made some test on PW5115 500i (500VA), nut 2.4.1(-2 ; 
  packaged) on an Ubuntu 8.10. Everything was fine. same goes for 2.2.2 (from 
  source this time)<br>the firmwares are:<br>- USB: 01.00<br>- 
  Main:10.04<br><br>This is the only 5115 I have underhand, but what is puzzling 
  me is the exact model name:<br>- mine (with 2.2.2) displays &quot;Model = PW5115 
  500i         500VA&quot;<br>- while Greg&#39;s 
  displays        &quot;Model = 51150500A Â  
  Â  Â  Â  Â  500VA&quot;<br><br>a subtle difference! though the 2 
  firmwares (USB and main) are identical.<br>iirc, this value (the name) can be 
  changed. Have you done so Greg?<br></div>
  </div><div><font face="Calibri">I was unaware about changing the name of the UPS. I 
  have not done this.</font></div><font face="Calibri"></font></blockquote><div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
  <div><br>I&#39;m still learning PW, and will have to check with the PW people 
  there.<br>more info soon<br><br>cheers,<br>Arnaud<br><font color="#888888">-- 
  <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</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.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a> 
</font></div></blockquote></div></div><br><br></div>
</blockquote></div><br>Arnaud<br>