<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>> Is it possible that there is another copy of the driver running in the background? There is apparently an issue where we only >write a PID file when the driver goes into the background, and "-D" prevents that.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I don't see another usbhid-ups running ... unless its "hidden"....  I would have to install the unhide package then....<o:p></o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p>/var/run/devd.pid</p><p>/var/run/syslog.pid</p><p>/var/run/mountd.pid</p><p>/var/run/istgt.pid</p><p>/var/run/upslog.pid</p><p>/var/run/upsmon.pid</p><p>/var/run/powerd.pid</p><p>/var/run/samba4/nmbd.pid</p><p>/var/run/samba4/smbd.pid</p><p>/var/run/samba4/winbindd.pid</p><p>/var/run/sshd.pid</p><p>/var/run/cron.pid</p><p>/var/run/rsyncd.pid</p><p>/var/run/lighttpd.pid</p><p>/var/run/spindown.pid</p><p>/var/run/upsd.pid</p><p>/var/run/usbhid-ups-upstl1300.pid</p><p><o:p> </o:p></p><p>Sent from <a href="http://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p><o:p> </o:p></p><p><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p style='border:none;padding:0in'><br><b>From: </b>Charles Lepple<br><b>Sent: </b>Tuesday, August 18, 2015 4:35 PM<br><b>To: </b>Johnny Wong<br><b>Cc: </b>nut-upsuser@lists.alioth.debian.org<br><b>Subject: </b>Re: [Nut-upsuser] Need help with Tripp Lite SMART1300LCDT NUT v2.7.3</p></div><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal>On Aug 18, 2015, at 3:28 PM, Johnny Wong <e430benz98@yahoo.com> wrote:</p><p class=MsoNormal>> </p><p class=MsoNormal>> So when the UPS is communicating with the driver... it seems to work.  Problem is now that it keeps disconnecting.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is it possible that there is another copy of the driver running in the background? There is apparently an issue where we only write a PID file when the driver goes into the background, and "-D" prevents that.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>>  Any recommendation on how to keep the drivers from disconnecting using the usb_set_altinterface?  (PS.  Is there a specific value to use?)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>From the earlier usbconfig output, I only see "bAlternateSetting = 0x0000". Adding that option (as you did just now) defaults to a parameter of zero. I will look into this.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>FYI, some history is here: https://github.com/networkupstools/nut/issues/138</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- </p><p class=MsoNormal>Charles Lepple</p><p class=MsoNormal>clepple@gmail</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="http://www.avast.com/">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body></html>