Skip to content

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

@jimklimov

Description

@jimklimov

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions