<html theme="default-light" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000"><span>Laurent Taieb via Nut-upsuser wrote on
 3/9/23 9:25 AM:</span><br>
<blockquote type="cite" 
cite="mid:EF93639E-E1C6-46DF-BB4C-4402B444C0B8@free.fr" 
style="word-wrap:break-word">
  <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:"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:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0cm;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
span.s2
        {mso-style-name:s2;
        color:#FD851A;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
  <div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi 
NUT Users,<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">One
 of my APC UPS is having battery issue and apparently we cannot change 
battery in that UPS. (not super green…)<o:p></o:p></span></p><p 
class="MsoNormal"><span lang="EN-US">I have purchased an EATON UPS and 
added the ref in ups.conf<o:p></o:p></span></p><p class="MsoNormal"><span
 lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span 
lang="EN-US">When restarting the driver, I got this error<o:p></o:p></span></p><p
 class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p><p 
class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.030612</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] 
Checking device 2 of 10 (0463/FFFF)</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.287659</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 VendorID: 0463</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.287853</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 ProductID: ffff</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.287941</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 Manufacturer: EATON</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288023</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 Product: 5S</span></span><span lang="EN-US"><o:p></o:p></span></p><p 
class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288103</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 Serial Number: unknown</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288156</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 Bus: 002</span></span><span lang="EN-US"><o:p></o:p></span></p><p 
class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288205</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 Device: unknown</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288254</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] -
 Device release number: 0001</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288303</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] 
Trying to match device</span></span><span lang="EN-US"><o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288352</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] 
match_function_subdriver (non-SHUT mode): matching a device...</span></span><span
 lang="EN-US"><o:p></o:p></span></p><p class="p1"><span class="s1"><span
 lang="EN-US">></span></span><span class="apple-converted-space"><span
 lang="EN-US">  </span></span><span class="s1"><span lang="EN-US">0.288406</span></span><span
 class="s2"><span lang="EN-US"> </span></span><span 
class="apple-converted-space"><span lang="EN-US">    </span></span><span
 class="s1"><span lang="EN-US">[D3] match_function_regex: matching a 
device...</span></span><span lang="EN-US"><o:p></o:p></span></p><p 
class="p1"><span class="s1"><span lang="EN-US">></span></span><span 
class="apple-converted-space"><span lang="EN-US">  </span></span><span 
class="s1"><span lang="EN-US">0.288509</span></span><span class="s2"><span
 lang="EN-US"> </span></span><span class="apple-converted-space"><span 
lang="EN-US">    </span></span><span class="s1"><span lang="EN-US">[D2] 
match_function_regex: failed match of Device: (null)</span></span><span 
lang="EN-US"><o:p></o:p></span></p><p class="p1"><span class="s1"><span 
lang="EN-US">></span></span><span class="apple-converted-space"><span
 lang="EN-US">  </span></span><span class="s1"><span lang="EN-US">0.288563</span></span><span
 class="s2"><span lang="EN-US"> </span></span><span 
class="apple-converted-space"><span lang="EN-US">    </span></span><span
 class="s1"><span lang="EN-US">[D2] Device does not match - skipping</span></span><span
 lang="EN-US"><o:p></o:p></span></p><p class="MsoNormal"><span 
lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span 
lang="EN-US">The UPS has been defined in ups.conf as:<o:p></o:p></span></p><p
 class="p1"><span class="s1"><span lang="EN-US">[myups3]</span></span><span
 lang="EN-US"><o:p></o:p></span></p><p class="p1"><span 
class="apple-tab-span"><span lang="EN-US">       </span></span><span 
class="s1"><span lang="EN-US">driver : usbhid-ups</span></span><span 
lang="EN-US"><o:p></o:p></span></p><p class="p1"><span 
class="apple-tab-span"><span lang="EN-US">       </span></span><span 
class="s1"><span lang="EN-US">port = auto</span></span><span 
lang="EN-US"><o:p></o:p></span></p><p class="p1"><span 
class="apple-tab-span"><span lang="EN-US">       </span></span><span 
class="s1"><span lang="EN-US">vendorid = 0463</span></span><span 
lang="EN-US"><o:p></o:p></span></p><p class="p1"><span 
class="apple-tab-span"><span lang="EN-US">       </span></span><span 
class="s1"><span lang="EN-US">productid = ffff</span></span><span 
lang="EN-US"><o:p></o:p></span></p><p class="p1"><span 
class="apple-tab-span"><span lang="EN-US">       </span></span><span 
class="s1"><span lang="EN-US">desc = "5S"</span></span><span 
lang="EN-US"><o:p></o:p></span></p><p class="p1"><span 
class="apple-tab-span"><span lang="EN-US">       </span></span><span 
class="s1">bus = 002</span><o:p></o:p></p><p class="p1"><span 
class="apple-tab-span">       </span><span class="s1">device = 014</span><span
 class="apple-converted-space"> </span><o:p></o:p></p><p class="p1"><span
 class="apple-tab-span">       </span><span class="s1">pollonly</span><o:p></o:p></p></div>
</blockquote>
I have only:<br>
<br>
[ups02]<br>
driver=usbhid-ups<br>
port=auto<br>
serial = [redacted]<br>
<br>
<div class="moz-signature">-- <br>Dan Langille<br>
<a class="moz-txt-link-abbreviated" href="mailto:dan@langille.org">dan@langille.org</a> : <a class="moz-txt-link-freetext" href="https://langille.org/">https://langille.org/</a><br>

</div>
</body></html>