Skip to content

riello_usb driver: 'vendorid' is not a valid variable name for this driver #745

@martin3142

Description

@martin3142

Using:

nut-scanner -U

gave the output:

Scanning USB bus.
[nutdev1]
        driver = "riello_usb"
        port = "auto"
        vendorid = "04B4"
        productid = "5500"
        product = "USB to Serial"
        vendor = "Cypress Semiconductor"
        bus = "003"

However, using that in /etc/nut/ups.conf causes the upsdrv service to fail with the error:

'vendorid' is not a valid variable name for this driver

The fix is to comment out or delete the offending lines to instead use:

[nutdev1]
        driver = "riello_usb"
        port = "auto"
        bus = "003"

And that works fine. (Aside: 'nutdev1' can be renamed as wished.)

Should the riello_usb driver be updated to accept those keyword values rather than error out? Or should nut-scanner be made aware to not output those superfluous lines?

Hopefully that is of help to other Riello UPS users.

Thanks,
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    RielloRiello UPS devices (serial, usb), usually with a variant of Qx protocolUSBimpacts-release-2.7.4Issues reported against NUT release 2.7.4 (maybe vanilla or with minor packaging tweaks)nut-scanner

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions