<div dir="ltr"><div>Hi,</div><div>I recently build 2.8.5 from the latest (as of a week ago) code.</div><div>I noticed that nut-scanner produces very inconsistent results for some of my 6 UPS.</div><div>There's quite the spread in both how often they respond and how well one of them responds.  In 600 runs, with varying pauses between them, with two analyses performed, and with uniq giving the frequency:</div><div>     15 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501"<br>     66 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="ABST600",vendor="CPS"<br>    319 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="SL Series",vendor="CPS"<br>    370 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="CP685AVR-G",vendor="CPS"<br>    500 USB:driver="usbhid-ups",port="auto",vendorid="051D",productid="0002",product="Back-UPS ES 600M1",serial="4B1936P07680",vendor="American Power Conversion"<br>    500 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="ABMT1500",serial="FCEMU2001294",vendor="CPS"<br>...so two are reliable, four are not.</div><div><br></div><div>With a slightly different call to get the USB bus info (since two of the UPS are identical models):</div><div>      2 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",bus="001",busport="002"<br>     56 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="ABST600",vendor="CPS",bus="001",busport="003"<br>     59 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="ABST600",vendor="CPS",bus="001",busport="001"<br>     73 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="SL Series",vendor="CPS",bus="001",busport="002"<br>     81 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="CP685AVR-G",vendor="CPS",bus="001",busport="002"<br>    101 USB:driver="usbhid-ups",port="auto",vendorid="0764",productid="0501",product="ABMT1500",serial="FCEMU2001294",vendor="CPS",bus="001",busport="001"<br>    106 USB:driver="usbhid-ups",port="auto",vendorid="051D",productid="0002",product="Back-UPS ES 600M1",serial="4B1936P07680",vendor="American Power Conversion",bus="001",busport="003"<br><br>bus="001",busport="001",vendorid="0764",productid="0501",vendor="CPS",product="ABMT1500",serial="FCEMU2001294"<br>bus="001",busport="001",vendorid="0764",productid="0501",vendor="CPS",product="ABST600",serial=<br>bus="001",busport="002",vendorid="0764",productid="0501",vendor="CPS",product="CP685AVR-G",serial=<br>bus="001",busport="002",vendorid="0764",productid="0501",vendor="CPS",product="SL Series",serial=<br>bus="001",busport="002",vendorid="0764",productid="0501",vendor=,product=,serial=<br>bus="001",busport="003",vendorid="051D",productid="0002",vendor="American Power Conversion",product="Back-UPS ES 600M1",serial="4B1936P07680"<br>bus="001",busport="003",vendorid="0764",productid="0501",vendor="CPS",product="ABST600",serial=</div><div><br></div><div>I believe both the USB bus is not always reporting all six (I checked that and saw lsusb not giving consistent results), but also the UPS themselves seem to be inconsistent.</div><div><br></div><div>I tried swapping cables, changing the USB port on the test computer, and more.</div><div><br></div><div>I'd rather not waste perfectly good UPS, and I'd rather not go live with this unreliability.</div><div><br></div><div>Thoughts on how I can diagnose this further?</div><div><br></div><div>Thanks.</div><div><br></div></div>