<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Hi Charles,</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">     Tried it with -p but couldn't get it to run, I'll have to dig further into the man pages.  I ran without -p though and got an interesting timeout error.  Attached is the log.
  I'll look further into the -p option as well.  Tried sending the full zipped log but it was too big.  Attaching the part where the error occurred.  It seems like it was able to recover a couple of times, but the last time it got stuck.  Thanks!</p>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Charles Lepple <clepple@gmail.com><br>
<b>Sent:</b> Saturday, October 22, 2016 2:11 PM<br>
<b>To:</b> Daniel Shields<br>
<b>Cc:</b> nut-upsuser@lists. alioth. debian. org<br>
<b>Subject:</b> Re: [Nut-upsuser] Data Stale at random intervals</font>
<div> </div>
</div>
<div>
<div><br>
</div>
<div><br>
<div><br>
<br>
- Charles</div>
On Oct 16, 2016, at 3:34 AM, Daniel Shields <<a href="mailto:grungelizard9@hotmail.com">grungelizard9@hotmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<p>I've been testing with debug further and there's a few extra lines when the nut-server stops communicating as opposed to when it's running.</p>
<p><br>
</p>
<p>Backtrace after stale data, <span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">UPS nailbunny@localhost is unavailable:</span></p>
</div>
</blockquote>
<div>Sorry to take a while to get back to you on this.</div>
<div><br>
</div>
<div>I wonder if it is getting stuck once at that point, or if it is repeatedly calling the same libusb function. </div>
<div><br>
</div>
<div>If it is the former, then I suspect we are not going to get much help from Debian on this: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810449">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810449</a></div>
<div><br>
</div>
<div>Using "strace -p" with some extra options to see the time spent on each syscall might work. (There might be some sysctl magic necessary to attach to a running driver.)</div>
</div>
</div>
</div>
</body>
</html>