riello_usb - Driver for Riello UPS Protocol UPS equipment via USB
riello_usb -a UPS_NAME [OPTIONS]
This man page only documents the hardware-specific features of the riello_usb driver. For information about the core driver, see nutupsdrv(8).
riello_usb supports all recent Riello UPS with USB.
Older Riello UPS products are not supported.
port = string
This could be a device filesystem path like /dev/usb/hiddev0 but current use of libusb API precludes knowing and matching by such identifiers. They may also be inherently unreliable (dependent on re-plugging and enumeration order). At this time the actual value is ignored, but syntactically some port configuration must still be there.
It is possible to control multiple UPS units simultaneously by running several instances of this driver, provided they can be uniquely distinguished by setting some combination of the vendor, product, vendorid, productid, serial, bus and/or device options detailed below. For devices or operating systems that do not provide sufficient information, the allow_duplicates option can be of use (limited and risky!)
vendorid = regex, productid = regex, vendor = regex, product = regex, serial = regex
Try lsusb(8) or running this NUT driver with -DD command-line argument for finding out the strings to match.
bus = regex
device = regex
device numbers are not guaranteed by the OS to be stable across re-boots or device re-plugging.
busport = regex
this option is not practically supported by some NUT builds (it should be ignored with a warning then), and not by all systems that NUT can run on.
Normally the driver initialization would abort at this point claiming "Resource busy" or similar error, assuming that the otherwise properly matched device is unique — and some other process already handles it.
This feature is inherently non-deterministic! The association of driver instance name to actual device may vary between runs!
If you only care to know that at least one of your no-name UPSes is online, this option can help.
If you must really know which one, it will not!
usb_set_altinterface = bAlternateSetting
The NUT (Network UPS Tools) home page: https://www.networkupstools.org/
|Network UPS Tools 2.8.1