<br><br><div class="gmail_quote">2012/8/10 Chris Rees <span dir="ltr"><<a href="mailto:crees@freebsd.org" target="_blank">crees@freebsd.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="im">On 8 August 2012 10:07, Martyn Hill <<a href="mailto:martyn.joseph.hill@gmail.com">martyn.joseph.hill@gmail.com</a>> wrote:<br>
> Arnaud Quette <aquette.dev <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
>> 2012/6/3 Chris Rees <crees <at> <a href="http://freebsd.org" target="_blank">freebsd.org</a>>:<br>
>> it's quite probably due to a permission issue.<br>
>> See "4) Permissions" on<br>
> <a href="http://people.freebsd.org/%7Ethierry/nut_FreeBSD_HowTo.txt" target="_blank">http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt</a><br>
<br>
</div></div>(...)</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Arnaud, and sorry for the delay-- I've been on holiday.<br></blockquote><div>
<br>no pb, I hope you enjoyed... mine are in a week from now ;)<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As I mentioned above I've now got it to 2.6.4, and have a new message;<br>
<br>
[crees@pegasus]/usr/local/libexec/nut% sudo ./blazer_usb -a zigor -DDDDDDDDDDDDD<br>
Network UPS Tools - Megatec/Q1 protocol USB driver 0.08<br>
(2.6.4-Unversioned directory)<br>
   0.000000     debug level is '13'<br>
   0.001081     Checking device (0001/0000) (/dev/usb//dev/ugen2.3)<br>
   0.001688     - VendorID: 0001<br>
   0.001694     - ProductID: 0000<br>
   0.001697     - Manufacturer: unknown<br>
   0.001701     - Product: unknown<br>
   0.001705     - Serial Number: unknown<br>
   0.001708     - Bus: /dev/usb<br>
   0.001712     Trying to match device<br>
   0.001717     Device matches<br>
   0.001737     send_to_all: SETINFO ups.vendorid "0001"<br>
   0.001744     send_to_all: SETINFO ups.productid "0000"<br>
   0.001751     send_to_all: SETINFO device.type "ups"<br>
   0.001758     send_to_all: SETINFO driver.version "2.6.4-Unversioned<br>
directory"<br>
   0.001764     send_to_all: SETINFO driver.version.internal "0.08"<br>
   0.001770     send_to_all: SETINFO <a href="http://driver.name" target="_blank">driver.name</a> "blazer_usb"<br>
   0.001775     Trying megatec protocol...<br>
   0.001786     send: Q1<br>
   0.002191     read: Unknown error<br>
   0.002242     Permissions problem: Input/output error<br></blockquote><div><br>damn BSD USB stack. is it the "new" or the "old" (I may totally be off topic!)<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

[crees@pegasus]/usr/local/libexec/nut%<br>
<br>
I had already chmod'd 777 all the USB nodes (just for debugging of course!)<br></blockquote><div> <br>hem, ok, just for debugging purpose so ;)<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

and:<br>
<br>
[crees@pegasus]/usr/local/libexec/nut% grep -v ^# /usr/local/etc/nut/ups.conf<br>
<div class="im">[zigor]<br>
        port = auto<br>
        driver = blazer_usb<br>
<br>
</div>Looks as though the UPS is answering in strange ways....</blockquote><div><br>it's not answering at all for now! the I/O error is initial.<br>you should try using "export USB_DEBUG=3", which will enable libusb debug.<br>
<br>I've just seen that Martin has sent more data... jumping on this mail.<br><br>cheers,<br>Arno<br></div></div>