Closed aquette closed 10 months ago
Additional notes:
...
[20:30:26] INFO: Connected USB devices:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 17ef:6018 Lenovo Lenovo Low Profile USB Keyboard
Bus 001 Device 004: ID 0463:ffff MGE UPS Systems UPS
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0463:ffff ...
Bus 001 Device 004: ID 0463:ffff ...
NUT USB UPS configuration:
Scanning USB bus.
[nutdev1]
driver = "usbhid-ups"
port = "auto"
vendorid = "0463"
productid = "FFFF"
product = "Protection Station"
serial = "XXXXXXXXXXX"
vendor = "EATON"
bus = "001"
[nutdev2]
driver = "usbhid-ups"
port = "auto"
vendorid = "0463"
productid = "FFFF"
product = "Ellipse ECO"
serial = "YYYYYYYYYYY"
vendor = "EATON"
bus = "001"
...
closing in favor of the new SmartNUT Add-on: https://github.com/aquette/addon-smartnut/blob/main/smartnut/DOCS.md
Proposed Changes
When enabling list_usb_devices option, also call nut-scanner -U, beside from lsusb, to detect supported USB devices and output the expected configuration. This should improve NUT addon usability and supportability
Related Issues
[autolink-references]: #333 #322