<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=utf-8 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7000.29"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Hi Arnaud and Kjell,</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>One more thing. One thing I noticed is the QNAP find usb 
devices in /proc/bus/usb and Ubuntu find them in /dev/bus/usb.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Could this have any effect?</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Thanks</FONT></DIV>
<DIV><FONT face=Calibri>Greg</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=greg_roll@hotmail.com 
href="mailto:greg_roll@hotmail.com">Greg</A> </DIV>
<DIV><B>Sent:</B> Thursday, April 23, 2009 6:56 PM</DIV>
<DIV><B>To:</B> <A title=aquette.dev@gmail.com 
href="mailto:aquette.dev@gmail.com">Arnaud Quette</A> ; <A 
title=kjell.claesson@epost.tidanet.se 
href="mailto:kjell.claesson@epost.tidanet.se">Kjell Claesson</A> </DIV>
<DIV><B>Cc:</B> <A title=nut-upsuser@lists.alioth.debian.org 
href="mailto:nut-upsuser@lists.alioth.debian.org">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 and Kjell,</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Please find answers below.</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=aquette.dev@gmail.com 
href="mailto:aquette.dev@gmail.com">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">Greg</A> ; <A 
title=kjell.claesson@epost.tidanet.se 
href="mailto:kjell.claesson@epost.tidanet.se">Kjell Claesson</A> </DIV>
<DIV><B>Cc:</B> <A 
title="mailto:nut-upsuser@lists.alioth.debian.org&#10;CTRL + Click to follow link" 
href="mailto:nut-upsuser@lists.alioth.debian.org">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>Greg,<BR><BR>I forgot to add that I'm interested in an upsc output of the 
working version (ubuntu 8.10 with 2.2.2...)<BR></DIV>
<DIV><FONT face=Calibri>Here you go</FONT></DIV>
<DIV><FONT face=Calibri>=============================</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri><A href="mailto:root@ubuntuvmp">root@ubuntuvmp</A>:~# 
upsc <A 
href="mailto:PowerWare@localhost">PowerWare@localhost</A><BR>ambient.temperature: 
42<BR>battery.charge: 100<BR>battery.runtime: 2334<BR>battery.voltage: 
13.47<BR>driver.name: 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:&nbsp; 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:&nbsp; 10.2<BR>ups.model: 
51150500A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
500VA<BR>ups.power.nominal: 500<BR>ups.serial: UY196A0229<BR>ups.status: 
OL</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>=============================</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><BR>thanks (and sorry for top posting)<BR>Arnaud<BR><BR></DIV>
<DIV class=gmail_quote>2009/4/22 Arnaud Quette <SPAN dir=ltr>&lt;<A 
title="mailto:aquette.dev@gmail.com&#10;CTRL + Click to follow link" 
href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote>Greg, Kjell,<BR><BR>
  <DIV class=gmail_quote>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 class=im><BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>tisdag 21 april 2009 14:43:28 skrev &nbsp;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 "nut" 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 "nut" one (in order to avoid 
  runtime conflict between the classic and hal drivers).<BR><BR></DIV>
  <DIV class=im>
  <BLOCKQUOTE 
  style="BORDER-LEFT: rgb(204,204,204) 1px solid; 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'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>&nbsp;</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 class=im>
  <BLOCKQUOTE 
  style="BORDER-LEFT: rgb(204,204,204) 1px solid; 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'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'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><BR>I'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 "Model = PW5115 
  500i&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 500VA"<BR>- while Greg's 
  displays&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Model = 51150500A &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; 500VA"<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><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>
<BLOCKQUOTE 
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote>
  <DIV><BR>I'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><BR><BR>
<P>
<HR>

<P></P>_______________________________________________<BR>Nut-upsuser mailing 
list<BR>Nut-upsuser@lists.alioth.debian.org<BR>http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser</BODY></HTML>