Network UPS Tools
Power Devices support
Table of Contents

Click here to see reports of other supported models from FSP.

Note

When a user reports that a variable/command is not right then it will be highlighted by a red underline.

Bad values/ranges/etc… will get a red dashed outline or red solid left border.

The accompanying explaining comment - if provided - will be emphasized through a red dotted border on the left.

2.7.4

Report #1 with driver blazer_usb (detailed comments available)

This device is known to work with driver blazer_usb. It may also work with driver nutdrv_qx.

You can grab a dummy-ups compliant .dev file to simulate this device clicking here.

Some more detailed comments are available after the "Known supported…" sections.

Known supported variables

This device is known to support the following variables (values are just examples):

battery.charge

100

battery.voltage

81.72

battery.voltage.high

78.00

battery.voltage.low

62.40

battery.voltage.nominal

72.0

device.mfr


device.model

WPHVT3K0

device.type

ups

driver.name

blazer_usb

driver.parameter.pollinterval

2

driver.parameter.port

auto

driver.parameter.productid

5161

driver.parameter.synchronous

no

driver.parameter.vendorid

0665

driver.version

2.7.4

driver.version.internal

0.12

input.current.nominal

13.0

input.frequency

50.0

input.frequency.nominal

50

input.voltage

231.8

input.voltage.fault

231.8

input.voltage.nominal

220

output.voltage

220.1

ups.beeper.status

enabled

ups.delay.shutdown

30

ups.delay.start

180

ups.firmware

01060.04

ups.load

1

ups.mfr


ups.model

WPHVT3K0

ups.productid

5161

ups.status

OL

ups.temperature

18.0

ups.type

online

ups.vendorid

0665

About this device

Reported at:

Further system data or configuration examples:

Driver configuration
[fsp]
        desc = "Champ 3k"
        driver = "blazer_usb"
        port = "auto"
        vendorid = "0665"
        productid = "5161"
        # product = "USB to Serial"
        # vendor = "INNO TECH"
        # bus = "003"
Data sample
* Running `nut-scanner`:
+

:; sudo nut-scanner -U Neon library not found. XML search disabled. IPMI library not found. IPMI search disabled.

Scanning USB bus.

driver = "blazer_usb"
port = "auto"
vendorid = "0665"
productid = "5161"
product = "USB to Serial"
vendor = "INNO TECH"
bus = "003"
* System identification:
+

:; inxi -BS System: Host: kubuntu Kernel: 5.19.0-26-generic arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.25.5 Distro: Ubuntu 22.10 (Kinetic Kudu) Battery: Message: No system battery data found. Is one present?

* Package identification:
+

:; dpkg-query --list nut* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +-==============-===============-============-================================= ii nut 2.7.4-14ubuntu2 all network UPS tools - metapackage un nut-cgi <none> <none> (no description available) ii nut-client 2.7.4-14ubuntu2 amd64 network UPS tools - clients un nut-ipmi <none> <none> (no description available) un nut-monitor <none> <none> (no description available) ii nut-server 2.7.4-14ubuntu2 amd64 network UPS tools - core system un nut-snmp <none> <none> (no description available) un nut-xml <none> <none> (no description available)

SystemD log of NUT startup
> I tried to test a few instant commands, using `upscmd`,
> but they all failed when checking the logs...

:; systemctl status --lines=20 --full --no-pager nut-server nut-driver

* nut-server.service - Network UPS Tools - power devices information server
     Loaded: loaded (/lib/systemd/system/nut-server.service; enabled; preset: enabled)
     Active: active (running) since Sat 2022-12-24 17:09:07 +03; 50min ago
    Process: 2624 ExecStart=/sbin/upsd (code=exited, status=0/SUCCESS)
   Main PID: 2625 (upsd)
      Tasks: 1 (limit: 38274)
     Memory: 648.0K
        CPU: 171ms
     CGroup: /system.slice/nut-server.service
             +-2625 /lib/nut/upsd

Dec 24 17:09:07 kubuntu systemd[1]: Starting Network UPS Tools - power devices information server...
Dec 24 17:09:07 kubuntu upsd[2624]: fopen /run/nut/upsd.pid: No such file or directory
Dec 24 17:09:07 kubuntu upsd[2624]: listening on 127.0.0.1 port 3493
Dec 24 17:09:07 kubuntu upsd[2624]: listening on ::1 port 3493
Dec 24 17:09:07 kubuntu upsd[2624]: listening on 127.0.0.1 port 3493
Dec 24 17:09:07 kubuntu upsd[2624]: listening on ::1 port 3493
Dec 24 17:09:07 kubuntu upsd[2624]: Connected to UPS [fsp]: blazer_usb-fsp
Dec 24 17:09:07 kubuntu upsd[2624]: Connected to UPS [fsp]: blazer_usb-fsp
Dec 24 17:09:07 kubuntu upsd[2625]: Startup successful
Dec 24 17:09:07 kubuntu systemd[1]: Started Network UPS Tools - power devices information server.
Dec 24 17:09:47 kubuntu upsd[2625]: User upsmon@127.0.0.1 logged into UPS [fsp]
Dec 24 17:12:06 kubuntu upsd[2625]: Instant command: admin@127.0.0.1 did load.off on fsp
Dec 24 17:12:42 kubuntu upsd[2625]: Instant command: admin@127.0.0.1 did load.on on fsp
Dec 24 17:13:55 kubuntu upsd[2625]: Instant command: admin@127.0.0.1 did beeper.toggle on fsp

* nut-driver.service - Network UPS Tools - power device driver controller
     Loaded: loaded (/lib/systemd/system/nut-driver.service; static)
     Active: active (running) since Sat 2022-12-24 17:09:07 +03; 50min ago
    Process: 2620 ExecStart=/sbin/upsdrvctl start (code=exited, status=0/SUCCESS)
   Main PID: 2623 (blazer_usb)
      Tasks: 1 (limit: 38274)
     Memory: 452.0K
        CPU: 12.598s
     CGroup: /system.slice/nut-driver.service
             +-2623 /lib/nut/blazer_usb -a fsp

Dec 24 17:09:04 kubuntu systemd[1]: Starting Network UPS Tools - power device driver controller...
Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Supported UPS detected with megatec protocol
Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Vendor information read in 1 tries
Dec 24 17:09:06 kubuntu upsdrvctl[2621]: No values provided for battery high/low voltages in ups.conf
Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Using 'guestimation' (low: 62.400000, high: 78.000000)!
Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Battery runtime will not be calculated (runtimecal not set)
Dec 24 17:09:07 kubuntu upsdrvctl[2620]: Network UPS Tools - UPS driver controller 2.7.4
Dec 24 17:09:07 kubuntu blazer_usb[2623]: Startup successful
Dec 24 17:09:07 kubuntu systemd[1]: Started Network UPS Tools - power device driver controller.
Dec 24 17:12:06 kubuntu blazer_usb[2623]: instcmd(load.off, [NULL])
Dec 24 17:12:07 kubuntu blazer_usb[2623]: instcmd: command [load.off] failed
Dec 24 17:12:42 kubuntu blazer_usb[2623]: instcmd(load.on, [NULL])
Dec 24 17:12:42 kubuntu blazer_usb[2623]: instcmd: command [load.on] failed
Dec 24 17:13:55 kubuntu blazer_usb[2623]: instcmd(beeper.toggle, [NULL])
Dec 24 17:13:55 kubuntu blazer_usb[2623]: instcmd: command [beeper.toggle] failed
Variables per upsrw ups@localhost listing
# TODO: Convert to RW:... and RO:... markup
`upsrw fsp@localhost` returns nothing...
Commands per upscmd -l fsp@localhost listing
# TODO: Convert to CMD:... markup
:; upscmd -l fsp@localhost
Instant commands supported on UPS [fsp]:

beeper.toggle - Toggle the UPS beeper
load.off - Turn off the load immediately
load.on - Turn on the load immediately
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start - Start a battery test
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
%s listing
:; `lsusb -v -d 0665:5161`
Bus 003 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0665 Cypress Semiconductor
  idProduct          0x5161 USB to Serial
  bcdDevice            0.02
  iManufacturer           1 INNO TECH
  iProduct                2 USB to Serial
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          3 20100813
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              4 Sample HID
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      27
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)