Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nut-scanner does not suggest a "device" matching setting for USB #1790

Closed
jimklimov opened this issue Jan 9, 2023 · 0 comments · Fixed by #1795
Closed

nut-scanner does not suggest a "device" matching setting for USB #1790

jimklimov opened this issue Jan 9, 2023 · 0 comments · Fixed by #1795
Labels
enhancement nut-scanner USB USB-duplicate-devices Track bugs and issues about monitoring several devices that seem identical to NUT or libusb
Milestone

Comments

@jimklimov
Copy link
Member

jimklimov commented Jan 9, 2023

As posted in #1414, "duplicate" device support is problematic because not all data fields useful for device matching are proposed for driver configuration. For example, a box which monitored two devices in that issue could not discern between them with the data provided (while the unique device=... values would have helped):

:; nut-scanner -U
Scanning USB bus.
[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "0764"
        productid = "0601"
        product = "OR1500LCDRM1U"
        vendor = "CPS"
        bus = "001"
[nutdev2]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "0764"
        productid = "0601"
        product = "OR1500LCDRM1U"
        vendor = "CPS"
        bus = "001"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement nut-scanner USB USB-duplicate-devices Track bugs and issues about monitoring several devices that seem identical to NUT or libusb
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant