<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Arnaud,<br>
<br>
On 31/07/12 01:02, Arnaud Quette wrote:<br>
</div>
<blockquote
cite="mid:CAFm_bUj1GOoBeUGfUuJZU-xLFV-5r1gyyv1inSgS8SgOpPf-=w@mail.gmail.com"
type="cite">Hi Greg,<br>
<br>
<div class="gmail_quote">2012/7/29 Greg Vickers <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:daehenoc@iinet.net.au"
target="_blank">daehenoc@iinet.net.au</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 22/07/12 20:14, Greg Vickers wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Arnaud,<br>
<br>
On 18/07/12 20:59, Arnaud Quette wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I've just made a quick test on an Opengear ACM 50004-2
(ARM supervision appliance).<br>
For the record:<br>
- uname -a: Linux acm5004-2 2.6.30.2-uc0 #1 Tue Feb 15
09:30:54 EST 2011 armv4tl unknown<br>
- nut version: 2.4.3 (so bcmxcp_usb 0.23)<br>
- tried with a PW5110 (ups.firmware: Cont:00.50
Inve:01.50)<br>
<br>
and everything worked like a charm.<br>
That said, Charles and Kjell comments are fully valid.<br>
That is, try with the latest version (2.6.4). It has at
least more debug traces to help getting visibility.<br>
</blockquote>
I've tested with nut 2.6.4, with the same result, i.e.
this driver can't communicate with the UPS.<br>
<br>
What switches should I use with the driver to provide you
the debug information? More -D switches?<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Could you perhaps test the 5110 on your Ubuntu system,
with a recent NUT?<br>
</blockquote>
OK, tested on the Ubuntu system and it works just fine!
My PW5110 has the same firmware versions as yours, and
the Ubuntu system I tested on has kernel 3.2.0 on it and
nut 2.6.3. I'll see if I can get kernel 3.2.0 on the
RaspberryPi and report back.<br>
</blockquote>
<br>
</div>
I've got kernel 3.2.0 on the RaspberryPi and nut 2.6.4 and the
bcmxcp_usb driver reports the same problem :(<br>
</blockquote>
<div><br>
damn, this would lead me to also think about a kernel or
libusb issue.<br>
<br>
just to be sure, is bcmxcp_usb linked against libusb *0.1* and
not 1.0-compat?<br>
</div>
</div>
</blockquote>
$ ldd bcmxcp_usb <br>
/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so (0x401b4000)<br>
libusb-0.1.so.4 => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
(0x4014f000)<br>
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0
(0x40068000)<br>
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x401bd000)<br>
/lib/arm-linux-gnueabihf/ld-linux.so.3 =>
/lib/ld-linux-armhf.so.3 (0x40037000)<br>
<br>
So yes, looks like it's linked to libusb 0.1. <br>
<blockquote
cite="mid:CAFm_bUj1GOoBeUGfUuJZU-xLFV-5r1gyyv1inSgS8SgOpPf-=w@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm going to go with the last option I have, and will replace
this UPS with one that works with this combination of
architecture and OS! :)</blockquote>
<div><br>
yup, still an option ;)<br>
</div>
</div>
</blockquote>
Thanks for your help!<br>
<br>
Cheers,<br>
Greg<br>
</body>
</html>