<br><div class="gmail_quote">2012/9/6 Martyn Hill <span dir="ltr"><<a href="mailto:martyn.joseph.hill@gmail.com" target="_blank">martyn.joseph.hill@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Arnaud<br></blockquote><div><br>Hi Martin,<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have not made progress with re-compiling NUT against libusb-0.1 on my FreeBSD v8.2 box as I cannot figure out how to do so.<br>
<br>
Instead, I built a FreeBSD v7.4 install in a VM (VirtualBox) on my XP laptop and attempted to test NUT there as a PoC for this UPS.<br>
<br>
FeeBSD definately uses libusb-0.1, as the following linkage for blazer_usb shows:<br></blockquote><div> <br>indeed<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

/usr/local/libexec/nut/blazer_<u></u>usb:<br>
    libusb-0.1.so.8 => /usr/local/lib/libusb-0.1.so.8 (0x2808d000)<br>
    libm.so.5 => /lib/libm.so.5 (0x28093000)<br>
    libthr.so.3 => /lib/libthr.so.3 (0x280a9000)<br>
    libc.so.7 => /lib/libc.so.7 (0x280be000)<br>
<br>
Unfortunately, VirtualBox refused to allow me to attach the UPS USB port to the guest OS (saying 'busy with a previous request'), so that came to nothing - and after several night's effort::-(<br></blockquote>
<div><br>have you shared the device, in VBox ?<br>Ie, allowed explicitly your VM to use the UPS, or even exclusively?<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

So, do you (or anyone else here) have any guidance on how to force NUT to link against libusb-0.1 at compile time ???<br>
<br>
I'm still not convinced that the FreeBSD implementation of libusb v2 is fully compatible with v0.1 - the available documentation is confusing...<br>
<br>
Meanwhile, I've seen a posting from a FreeBSD v9 user, who clearly gets further than the 'Unknown error' message that I get when running their (supported) UPS over USB in FreeBSD...<br></blockquote><div><br>try grouping your efforts, FreeBSD knowledges (I'm a newby there) and results.<br>
<br>you may also try with Linux first, to get around a possible device issue with the driver, and then get back to FBSD...<br> <br>cheers,<br>Arno<br></div></div><br>