<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:"Apple Color Emoji";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@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;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
font-size:8.5pt;
font-family:Menlo;
color:#999999;}
span.s1
{mso-style-name:s1;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Sorry, but to add again<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I have further updated ups.conf<o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2FB41D'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2FB41D'>[myups1]</span></b><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2FB41D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>driver = usbhid-ups<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>port = auto<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>vendorid = "051d"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>productid = "0003"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>desc = "Smart-UPS_1500 FW:UPS 04.6 / ID=1018"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>bus = "002"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>device = "005"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>pollonly<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2EAEBB'># To find out if your driver supports any extra settings, start it with<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2EAEBB'># the -h option and/or read the driver's documentation.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2FB41D'>[myups2]</span></b><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#2FB41D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>driver = usbhid-ups<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>port = auto<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>vendorid = "051d"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>productid = "0002"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'>bus = "002"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span style='font-size:8.5pt;font-family:Menlo;color:black'>device = "003"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:#FD851A'> </span><span style='font-size:8.5pt;font-family:Menlo;color:black'>pollony</span><span style='font-size:8.5pt;font-family:Menlo;color:#FD851A'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>$ sudo ./usbhid-ups -a myups1 -DDD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>Network UPS Tools - Generic HID driver 0.47 (2.8.0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>USB communication driver (libusb 1.0) 0.43<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.000000 [D1] debug level is '3'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.001750 [D2] Initializing an USB-connected UPS with library libusb-1.0.26 (API: 0x1000109) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> </span><span style='font-size:8.5pt;font-family:Menlo;color:#999999'>0.001775 [D1] upsdrv_initups (non-SHUT)...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:#999999'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>0.010544 [D2] Checking device 1 of 7 (051D/0003)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027034 [D2] - VendorID: 051d<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027070 [D2] - ProductID: 0003<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027124 [D2] - Manufacturer: American Power Conversion <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027147 [D2] - Product: Smart-UPS_1500 FW:UPS 04.6 / ID=1018<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027158 [D2] - Serial Number: AS2212262511 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027178 [D2] - Bus: 002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027195 [D2] - Device: unknown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027208 [D2] - Device release number: 0001<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027221 [D2] Trying to match device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027238 [D2] match_function_subdriver (non-SHUT mode): matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027264 interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of this message)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027280 [D3] match_function_regex: matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027400 [D2] match_function_regex: failed match of Device: (null)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027412 [D2] Device does not match - skipping<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.027444 [D2] Checking device 2 of 7 (051D/0002)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037719 [D2] - VendorID: 051d<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037773 [D2] - ProductID: 0002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037785 [D2] - Manufacturer: American Power Conversion<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037800 [D2] - Product: Back-UPS XS 1400U FW:926.T2 .I USB FW:T2 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037813 [D2] - Serial Number: 4B1835P44428 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037826 [D2] - Bus: 002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037840 [D2] - Device: unknown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037854 [D2] - Device release number: 0106<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037868 [D2] Trying to match device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037882 [D2] match_function_subdriver (non-SHUT mode): matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037900 [D3] match_function_regex: matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037920 [D2] match_function_regex: failed match of ProductID: 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037942 [D2] Device does not match - skipping<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037979 [D2] Checking device 3 of 7 (8087/0024)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038013 [D1] Failed to open device (8087/0024), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038031 [D2] Checking device 4 of 7 (1D6B/0002)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038060 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038079 [D2] Checking device 5 of 7 (1BCF/2C18)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038107 [D1] Failed to open device (1BCF/2C18), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038125 [D2] Checking device 6 of 7 (8087/0024)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038153 [D1] Failed to open device (8087/0024), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038170 [D2] Checking device 7 of 7 (1D6B/0002)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038196 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038212 [D2] libusb1: No appropriate HID device found<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038239 libusb1: Could not open any HID devices: insufficient permissions on everything<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.038253 No matching HID UPS found<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>$ <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>De : </span></b><span style='font-size:12.0pt;color:black'>Nut-upsuser <nut-upsuser-bounces+laurenttaieb=free.fr@alioth-lists.debian.net> au nom de Laurent Taieb via Nut-upsuser <nut-upsuser@alioth-lists.debian.net><br><b>Répondre à : </b>"laurenttaieb@free.fr" <laurenttaieb@free.fr><br><b>Date : </b>vendredi 24 février 2023 à 23:32<br><b>À : </b>Jim Klimov <jimklimov+nut@gmail.com>, nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org><br><b>Objet : </b>Re: [Nut-upsuser] Issue with two UPS APC managed from a single PC.<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'>To complement<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I’ve tried to launch the driver directly and got this error mesg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>$ sudo /lib/nut/usbhid-ups -a myups1 -DDD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.000000 [D1] debug level is '3'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.001656 [D2] Initializing an USB-connected UPS with library libusb-1.0.26 (API: 0x1000109) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> </span><span style='font-size:8.5pt;font-family:Menlo;color:#999999'>0.001680 [D1] upsdrv_initups (non-SHUT)...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:#999999'> </span><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>0.009987 [D2] Checking device 1 of 7 (051D/0003)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026102 [D2] - VendorID: 051d<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026123 [D2] - ProductID: 0003<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026140 [D2] - Manufacturer: American Power Conversion <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026156 [D2] - Product: Smart-UPS_1500 FW:UPS 04.6 / ID=1018<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026169 [D2] - Serial Number: AS2212262511 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026186 [D2] - Bus: 002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026221 [D2] - Device: unknown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026235 [D2] - Device release number: 0001<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026269 [D2] Trying to match device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026282 [D2] match_function_subdriver (non-SHUT mode): matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026323 interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of this message)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026348 [D3] match_function_regex: matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026455 [D2] match_function_regex: failed match of Device: (null)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026475 [D2] Device does not match - skipping<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.026668 [D2] Checking device 2 of 7 (051D/0002)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036755 [D2] - VendorID: 051d<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036775 [D2] - ProductID: 0002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036784 [D2] - Manufacturer: American Power Conversion<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036792 [D2] - Product: Back-UPS XS 1400U FW:926.T2 .I USB FW:T2 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036800 [D2] - Serial Number: 4B1835P44428 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036808 [D2] - Bus: 002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036817 [D2] - Device: unknown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036827 [D2] - Device release number: 0106<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036841 [D2] Trying to match device<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036858 [D2] match_function_subdriver (non-SHUT mode): matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036889 [D3] match_function_regex: matching a device...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036922 [D2] match_function_regex: failed match of Device: (null)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036938 [D2] Device does not match - skipping<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.036965 [D2] Checking device 3 of 7 (8087/0024)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037000 [D1] Failed to open device (8087/0024), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037016 [D2] Checking device 4 of 7 (1D6B/0002)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037055 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037071 [D2] Checking device 5 of 7 (1BCF/2C18)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037097 [D1] Failed to open device (1BCF/2C18), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037124 [D2] Checking device 6 of 7 (8087/0024)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037157 [D1] Failed to open device (8087/0024), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037171 [D2] Checking device 7 of 7 (1D6B/0002)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037199 [D1] Failed to open device (1D6B/0002), skipping: Access denied (insufficient permissions)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037215 [D2] libusb1: No appropriate HID device found<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037337 libusb1: Could not open any HID devices: insufficient permissions on everything<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> 0.037374 No matching HID UPS found<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Definitions in ups.conf. I’m unsure whether I shall define port or other items.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>[myups1]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> driver = usbhid-ups<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> port = auto<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'># port = /dev/usb/hiddev0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'># cable = usb<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> desc = "Smart-UPS_1500 FW:UPS 04.6 / ID=1018"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> bus = 002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> device = 003<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> pollonly<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'># To find out if your driver supports any extra settings, start it with<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'># the -h option and/or read the driver's documentation.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'>[myups2]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> driver = usbhid-ups<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> port = auto<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> desc = "*500*"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> bus = 002<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:8.5pt;font-family:Menlo;color:#999999'> </span><span style='font-size:8.5pt;font-family:Menlo;color:#999999'>device = 005<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:#999999'> pollony<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.5pt;font-family:Menlo;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Laurent<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>De : </span></b><span style='font-size:12.0pt;color:black'>Nut-upsuser <nut-upsuser-bounces+laurenttaieb=free.fr@alioth-lists.debian.net> au nom de Laurent Taieb via Nut-upsuser <nut-upsuser@alioth-lists.debian.net><br><b>Répondre à : </b>"laurenttaieb@free.fr" <laurenttaieb@free.fr><br><b>Date : </b>vendredi 24 février 2023 à 23:17<br><b>À : </b>Jim Klimov <jimklimov+nut@gmail.com>, nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org><br><b>Objet : </b>Re: [Nut-upsuser] Issue with two UPS APC managed from a single PC.<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Jim,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Yes both UPS are on the same machine.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I moved away from Ubuntu and tried with Kali and got a slightly different issue as the driver even doesn’t start properly.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I used the standard apt-get command to download nut and added libusb-dev which wasn’t by default on kali.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I went to Kali nut web page and downloaded all packages </span><span lang=EN-US style='font-family:"Apple Color Emoji";mso-fareast-language:EN-US'>😊</span><span lang=EN-US style='mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>hiddev0 and hiddev1 have been created in /dev/usb and changed the group to nut as they’ve been created with root group.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I have attached the lsusb traces for the 2 UPS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>When starting the driver I got this message<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=p1><span class=s1><span lang=EN-US>$ sudo upsdrvctl start</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>Network UPS Tools - UPS driver controller 2.8.0</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>Network UPS Tools - Generic HID driver 0.47 (2.8.0)</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>USB communication driver (libusb 1.0) 0.43</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of this message)</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>libusb1: Could not open any HID devices: insufficient permissions on everything</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>No matching HID UPS found</span></span><span lang=EN-US><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US>Driver failed to start (exit status=1)</span><o:p></o:p></span></p><p class=p1><span class=s1><span lang=EN-US><o:p> </o:p></span></span></p><p class=p1><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Thanks for your help and guidance.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Laurent<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>De : </span></b><span style='font-size:12.0pt;color:black'>Jim Klimov <jimklimov+nut@gmail.com><br><b>Date : </b>lundi 20 février 2023 à 13:43<br><b>À : </b>nut-upsuser Mailing List <nut-upsuser@lists.alioth.debian.org><br><b>Cc : </b>"laurenttaieb@free.fr" <laurenttaieb@free.fr><br><b>Objet : </b>Re: [Nut-upsuser] Issue with two UPS APC managed from a single PC.<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Is that with both UPSes on same machine?<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>A quick guess would be that insufficient data points to identify the device are configured (vendorid, productid, serial...) in ups.conf, so both drivers connect to the first match. I'd expect them to conflict and one would die or both loop reconnecting, if both are running at once, though.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Also, which NUT version? Custom build from GitHub or an (older?) distro package?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Jim<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Mon, Feb 20, 2023, 12:28 Manuel Wolfshant via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal><br><br>On February 20, 2023 12:01:46 PM GMT+02:00, Laurent Taieb via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br>>Hi mailing list,<br>>I looked at all FAQ and docs and can’t find a solution.<br>>I installed but on both Kali Linux and Ubuntu.<br>>(For comparison purposes)<br>>I’m trying to connect and monitor two UPS APC via usb.<br>>One is a back-ups bx1400 which I can see via via upsc.<br>>The second one is a more recent one smc 1500ic which when I poke it via upsc returns the data of the bx1400 one.<br>>I tried by changing port and other tricks but no success.<br>>Would anyone have a clue of what the issue could be ?<br><br>Hello<br><br>Can you please share the configuration you have used, as well as the output of lsusb ?<br><br>wolfy<br><br><br>>Thanks <br>><br>>Laurent <br>>_______________________________________________<br>>Nut-upsuser mailing list<br>><a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>><a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br><br>_______________________________________________<br>Nut-upsuser mailing list<br><a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br><a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________ Nut-upsuser mailing list Nut-upsuser@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser <o:p></o:p></p><p class=MsoNormal>_______________________________________________ Nut-upsuser mailing list Nut-upsuser@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser <o:p></o:p></p></div></body></html>