NUT UPS problem

  • I'm trying to get the Nut plugin to work with my new UPS, an Infosec X3 500 USB. OMV box is an HP N54L connected to the UPS through USB.


    When I enable the plugin, the Services > UPS pops up the following error: Failed to execute command 'upsc 'infosec' 2>&1': Error: Driver not connected


    Code
    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'upsc 'infosec' 2>&1': Error: Driver not connected' in /usr/share/openmediavault/engined/rpc/nut.inc:151
    Stack trace:
    #0 [internal function]: OMVRpcServiceNetworkUPSTools->getStats(NULL, Array)
    #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getStats', NULL, Array)
    #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Nut', 'getStats', NULL, Array, 1)
    #4 {main}


    The console is also spammed with the following message ever 10 seconds:

    Code
    Broadcast Message from nut@hippo
            (somewhere) at 10:56 ...
    
    
    UPS infosec@localhost is unavailable




    My settings in the plugin are:
    driver = blazer_usb (I've also tried with other drivers, but this is the one recommended by the NUT compatibility list)
    port = auto (I've also tried with 'usb' and 'dev/usb/hiddev0', etc...)


    This is the output of lsusb:

    Code
    Bus 005 Device 008: ID 0665:5161 Cypress Semiconductor USB to Serial
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


    So I've tried adding the following options to config, as suggested by the blazer_usb man page, to no avail:
    vendorid = 0665
    productid = 5161
    subdriver = cypress


    Other things I've tried:


    I've also tried plugging/unplugging the USB, rebooting the server, restarting the UPS, etc... with no better result.


    Any ideas ?

    • Offizieller Beitrag

    Might need a newer version of nut. See this thread.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • @Nibb31
    got the same here:


    Code
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial


    and using the following parameters is perfectly working ( no temperature graph but this should depend on the UPS :(

    Code
    driver = blazer_usb
    subdriver = cypress
    protocol = mustek
    vendorid = 0665
    productid = 5161
    port = auto


    on OMV 2.1.8 kernel 3.2.0-4-amd64

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!