<div dir="ltr"><div><div>Hello,<br><br></div>I am attaching debug logs. Hopefully it helps to fix this issue.<br><br></div>Thank you.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-17 22:43 GMT+00:00 <a href="mailto:hyouko@gmail.com">hyouko@gmail.com</a> <span dir="ltr"><<a href="mailto:hyouko@gmail.com" target="_blank">hyouko@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><a href="tel:2015-03-17%200" value="+420201503170">2015-03-17 0</a>:24 GMT+01:00 Charles Lepple <<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>>:<br>
> On Mar 16, 2015, at 12:26 PM, cinowell <<a href="mailto:cinowell@gmail.com">cinowell@gmail.com</a>> wrote:<br>
><br>
>> I've done all the steps. However FSD indication did NOT disappear. So it seems UPS always send the FSD flag.<br>
<br>
</span>One thing more.<br>
<br>
Can you launch the driver with a debug level of 3 and then report back<br>
the log (gzipped) of the same procedure suggested by Charles (extended<br>
a bit as follows)?<br>
<br>
i.e.:<br>
<br>
1) Power down, and disconnect the UPS USB cable from the computer.<br>
2) Power up the computer attached to a different UPS or wall outlet<br>
3) Turn the UPS on<br>
4) Kill the upsmon process (this will prevent automatic shutdown)<br>
5) Plug the UPS USB cable back in<br>
5.1) Kill the blazer_usb process (if any) and issue (as root):<br>
blazer_usb -a ups -DDD >> /path/to/my/precious/log 2>&1<br>
(keep it running till the test is over - this is the log we are after)<br>
6) Turn the UPS off<br>
6.1) Turn the UPS on<br>
<br>
[Me too, I'm inclined to see it as a bogus value (in the old megatec<br>
driver there was the 'ignoreoff' option that dealed with it - although<br>
the value was mapped as an on/off status rather than the actual<br>
'shutdown active'), but the 7th bit of the status byte should change<br>
only while the UPS is shutting down and then be back at its original<br>
value: if you turned off the UPS with a button (and this is likely as<br>
the UPS has a VID:PID of 0001:0000 and so, since no overridding<br>
'subdriver' parameter is passed to the driver, it should use the<br>
'krauler' subdriver, which doesn't implement the shutdown commands)<br>
and checked the upsc output only after the UPS had already turned off<br>
the load, then you wouldn't have noticed the change.]<br>
</blockquote></div><br></div>