<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 10/08/2012 22:34, Arnaud Quette wrote:
<blockquote
cite="mid:CAFm_bUh9ddgyyvt6L7gQkO+nkQhuA-cf3ijh5EMrpeA9maXXBA@mail.gmail.com"
type="cite">Aha!<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I also found a FreeBSD port patch on-line for 2.6.4 that has
yet to be committed to the ports-tree. I'll try your route
against the latest NUT release and see what we get.</blockquote>
<div><br>
guys, I've released 2.6.5 yesterday! go the 2.6.5 route ;)<br>
</div>
</div>
</blockquote>
<br>
Yeah - saw that, but didn't see any specific changing referencing
the blazer_usb driver, so haven't tried it yet...<br>
<blockquote
cite="mid:CAFm_bUh9ddgyyvt6L7gQkO+nkQhuA-cf3ijh5EMrpeA9maXXBA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
</blockquote>
<br>
</div>
</div>
I applied the 2.6.4 patch and recompiled and, after chown'ing
the USB DEV nodes, got something very similar, effectively,
the sequence:<br>
<br>
Trying megatec protocol...<br>
send: Q1<br>
read: Unknown error<br>
Permissions problem: Input/output error<br>
<br>
I tried various protocol filters, but only the (new) megatec
protocol gets this far...
<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Just for fun, I noticed the #ifdef TESTING in
blazer_usb.c.<br>
<br>
I defined that, and got this output when running
./blazer_usb -a zigor:<br>
<br>
<a moz-do-not-send="true"
href="http://www.bayofrum.net/%7Ecrees/scratch/zigor-testing.txt"
target="_blank">http://www.bayofrum.net/~crees/scratch/zigor-testing.txt</a><br>
<br>
Any hints there?<br>
</blockquote>
</div>
</blockquote>
<div><br>
you've been fooled Chris.<br>
TESTING just fakes good values for... testing purpose ;) <br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Nice!<br>
<br>
I then installed the Upsilon s/w on my Windows XP laptop
(which works effectively, even if it looks a bit
'old-school'..)<br>
<br>
I did take some comfort in seeing references to 'Megatec(USB)'
in the Upsilon software configuration...<br>
<br>
I ran USBSniff against the port whilst attaching the UPS.
Unfortuately, I couldn't make much sense of the verbose
USBSniff output, but if this is useful for debugging (for
Arnaud?) I could share it.<br>
</blockquote>
<div>
<br>
yup, there are not many people left out there, that speak
Q1...<br>
could you please post a link, or a compressed archive (less
than 40 Kb!)?<br>
</div>
</div>
</blockquote>
<br>
Here's a 6KB rar file of a fresh SniffUSB log file, covering just
the first minute after plugging-in the UPS to my XP laptop (UPSilon
already running in Windows System tray).<br>
<br>
I've no idea what these 'URB' references are between sections, but
around URB 60, I toggled the Beeper and then again around URB 65...<br>
<br>
Curiously, the documentation for the Zigor 650 states no Beeper
toggle ability, but it does work...<br>
<br>
Hope that helps - more than happy to carry out further tests and
record the output, if of any use to you...<br>
<br>
M.<br>
<br>
<pre class="moz-signature" cols="72">--
"There are 10 types of people in this world. Those who understand binary and those who don't."</pre>
</body>
</html>