<br><div class="gmail_quote">2012/8/11 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">
<div bgcolor="#FFFFFF" text="#000000"><div><div>
<div>On 10/08/2012 22:27, Arnaud Quette
wrote:<br>
</div>
<blockquote type="cite">
<div class="gmail_quote"><br>
<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>
</div>
</blockquote>
<br></div></div>
My FreeBSD 8 appears to be running/linking against libusb20 - the
'new' one...</div></blockquote><div><br>you mean libusb1.0? with libusb-compat?<br>NUT USB drivers are still on 0.1, and need to be ported to 1.0.<br>this may be (part of) the problem!<br><br>can you please post back the list of libs linked.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div><blockquote type="cite"><div class="gmail_quote">
<div>
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><br>
</div>
</blockquote>
<br></div>
I'll also try this and see what it reveals...<br></div></blockquote><div><br>I've very (very very!) quickly looked at the snoop...<br>can you send me an "lsusb -v -d0001:0000".<br>another interesting test would be with usbhid-ups:<br>
- add the following in ups.conf<br>[test]<br> driver = usbhid-ups<br> port = auto<br> vendorid = 0001<br>
productid = 0000<br> explore<br><br>
- and launch the driver:<br> $ /path/to/usbhid-ups -DDDDD -a <ups.conf devname><br>
<br>as told previously, compress the archive if needed, to stay under the 40 Kb limit.<br><br>cheers,<br>Arno<br><br></div></div>