Install APC smartups 750 usb

  • hello


    I have an APC UPS connected via usb smartups 750


    I also installed the plug-in nut.


    when I active services / UPS


    I show the following options:


    [Ups]
    driver = usbhid-ups
    port = auto


    but I have an error message:


    Error # 4000:
    exception 'OMVException' with message 'Failed to execute command' sudo UPSC ups 2> & 1 ': Error: Driver not connected' in / var / www / openmediavault / rpc / nut.inc: 133
    Stack trace:
    # 0 [internal function]: NutRpc-> getStats (NULL)
    # 1 / usr / share / php / openmediavault / rpc.inc (265): call_user_func_array (Array, Array)
    # 2 / usr / share / php / openmediavault / rpc.inc (98): OMVRpc :: exec ('Nut', 'getStats', NULL)
    # 3 / var / www / openmediavault / RPC.php (44): OMVJsonRpcServer-> handle ()
    # 4 {main}


    when I did a dmesg on the server I see my UPS to connect:


    [4067.551331] generic-usb 0003:051 D: 0002.0003: hiddev0, hidraw0: USB HID v1.10 Device [American Power Conversion Smart-UPS 750 FW: 651.13.I USB FW: 7.3] on usb-0000: 00:1 d.2 -1/input0
    [5992.576050] usb 4-1: USB disconnect, address 4
    [6029.424017] usb 2-2: new low speed USB device using uhci_hcd and address 2
    [6029.672054] usb 2-2: New USB device found, idVendor = 051D, idProduct = 0002
    [6029.672059] usb 2-2: New USB device strings: Mfr = 3, Product = 1, SerialNumber = 2
    [6029.672063] usb 2-2: Product: Smart-UPS 750 FW: FW 651.13.I USB: 7.3
    [6029.672067] usb 2-2: Manufacturer: American Power Conversion
    [6029.672070] usb 2-2: SerialNumber: AS0806220977
    [6029.672208] usb 2-2: configuration # 1 chosen from 1 choice

  • same problème


    driver=usbhid-ups
    port=auto


    error message in service/ups


    Erreur #4000:
    exception 'OMVException' with message 'Failed to execute command 'sudo upsc ups 2>&1': Error: Driver not connected' in /var/www/openmediavault/rpc/nut.inc:133
    Stack trace:
    #0 [internal function]: NutRpc->getStats(NULL)
    #1 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('Nut', 'getStats', NULL)
    #3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #4 {main}

  • The drivers is intalled :


    root@slynas2:~# locate usbhid-ups
    /lib/nut/usbhid-ups



    or :



    root@slynas2:~# upsc -L
    Error: Connection failure: Connection refused
    root@slynas2:~#


    root@slynas2:~# lsusb
    Bus 005 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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 13fe:3600 Kingston Technology Company Inc.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@slynas2:~#

Jetzt mitmachen!

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