<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:"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></head><body lang=FR link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><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><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here is the lsusb trace.<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 style='font-size:8.5pt;font-family:Menlo;color:white;background:black;mso-fareast-language:FR'>GNU nano 7.2 lsusb.trc2 </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:white;mso-fareast-language:FR'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bcdUSB 1.10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDeviceClass 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDeviceSubClass 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDeviceProtocol 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bMaxPacketSize0 8<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> idVendor 0x0463 MGE UPS Systems<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> idProduct 0xffff UPS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bcdDevice 0.01<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> iManufacturer 1 EATON<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> iProduct 2 5S<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> iSerial 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bNumConfigurations 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Configuration Descriptor:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bLength 9<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDescriptorType 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> wTotalLength 0x0022<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bNumInterfaces 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bConfigurationValue 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> iConfiguration 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bmAttributes 0xa0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> (Bus Powered)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Remote Wakeup<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> MaxPower 20mA<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Interface Descriptor:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bLength 9<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDescriptorType 4<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bInterfaceNumber 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bAlternateSetting 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bNumEndpoints 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bInterfaceClass 3 Human Interface Device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bInterfaceSubClass 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bInterfaceProtocol 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> iInterface 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> HID Device Descriptor:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bLength 9<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDescriptorType 33<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bcdHID 1.10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bCountryCode 33 US<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bNumDescriptors 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDescriptorType 34 Report<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> wDescriptorLength 481<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Report Descriptors:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> ** UNAVAILABLE **<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Endpoint Descriptor:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bLength 7<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bDescriptorType 5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bEndpointAddress 0x81 EP 1 IN<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> bmAttributes 3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Transfer Type Interrupt<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Synch Type None<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> Usage Type Data<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> wMaxPacketSize 0x0008 1x 8 bytes<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'> </span><span style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'>bInterval 20<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:black;mso-fareast-language:FR'><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>I wonder whether I did anything wrong.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks for any advice you oculd share.<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>Laurent<o:p></o:p></span></p></div></body></html>