RIELLO_USB(8)
π RIELLO_USB π
okay bestie, gather round, because this is the manual page for riello_usb(8) β the driver that lets NUT (Network UPS Tools) talk to Riello UPS gear over USB. no cap. let's go π¦
β¨ NAME β¨
riello_usb β Driver for Riello UPS Protocol UPS equipment via USB
πΈ SYNOPSIS πΈ
riello_usb -h
riello_usb -a UPS_NAME [OPTIONS]
π Note: this man page only documents the hardware-specific features of theriello_usbdriver. For all the core driver tea, go readnutupsdrv(8).
π SUPPORTED HARDWARE π
riello_usb supports all recent Riello UPS with USB. literally all the fresh ones π
Older Riello UPS products are not supported. sorry babe, they didn't make the cut π
π EXTRA ARGUMENTS π
port= string β Required option for all NUT drivers. Some value must be set, typicallyautofor drivers that handle USB connections.
π Note: 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 β Select a specific UPS, in case there is more than one connected via USB. Each option specifies an extended regular expression (seeregex(7)for more information on regular expressions), which must match the UPS's entire respective vendor/product/serial string values (minus any surrounding whitespace), or the whole 4-digit hexadecimal code forvendoridandproductid.
Try lsusb(8) or running this NUT driver with the -DD command-line argument for finding out the strings to match. π
Examples:
-x vendor="Foo.Corporation.*"-x vendorid="051d*"(APC)-x product=".*(Smart|Back)-?UPS.*"
bus= regex β OPTIONAL, NOT RECOMMENDED.
Select a UPS on a specific USB bus or group of buses. The argument is a regular expression that must match the bus name where the UPS is connected (e.g. bus="002" or bus="00[2-3]") as seen on Linux in /sys/bus/usb/devices or lsusb(8); including leading zeroes.
π Note: Bus numbers are not guaranteed by the OS to be stable across re-boots, kernel driver reloads or device re-plugging (e.g. changing visible population of USB hubs).
device= regex β OPTIONAL, NOT RECOMMENDED.
Select a UPS on a specific USB device or group of devices. The argument is a regular expression that must match the device name where the UPS is connected (e.g. device="001" or device="00[1-2]") as seen on Linux in /sys/bus/usb/devices or lsusb(8); including leading zeroes.
π Note: Device numbers are not guaranteed by the OS to be stable across re-boots or device re-plugging.
busport= regex β OPTIONAL, NOT RECOMMENDED.
If supported by the hardware, OS and libusb on the particular deployment, this option should allow to specify physical port numbers on an USB hub, rather than logical device enumeration values, and in turn β this should be less volatile across reboots or re-plugging. The value may be seen in the USB topology output of lsusb -tv on systems with that tool, for example.
π Note: 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.
allow_duplicatesβ OPTIONAL, NOT RECOMMENDED.
If you have several UPS devices which may not be uniquely identified by the options above (e.g. only VID:PID can be discovered there), this flag allows each driver instance where it is set to take the first match if available, or proceed to try another.
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.
β οΈ Warning: 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 β Force redundant call tousb_set_altinterface(), especially if needed for devices serving multiple USB roles where the UPS is not represented by the interface number0(default).usb_config_index,usb_hid_rep_index,usb_hid_desc_index,usb_hid_ep_in,usb_hid_ep_outβ Force use of specific interface, endpoint, descriptor index etc. numbers, rather than defaulting to0(rarely other values in certain drivers for some devices known to use non-zero numbers). Specified as a hexadecimal number.
As a rule of thumb for usb_hid_desc_index discovery, you can see larger wDescriptorLength values (roughly 600+ bytes) in reports of lsusb or similar tools.
LIBUSB_DEBUG= INTEGER β Run-time troubleshooting of USB-capable NUT drivers can involve not only raising the common NUT debug verbosity (e.g. using theDEBUG_MINsetting inups.conf(5)or protocol commands to change thedriver.debugvalue), but may also benefit from LibUSB specific debugging.
For the latter, you can set the LIBUSB_DEBUG driver option; alternatively you can classically export the environment variable LIBUSB_DEBUG before starting a NUT driver program (may be set and "exported" in driver init script or service method, perhaps via nut.conf(5)), to a numeric value such as 4 ("All messages are emitted").
For more details, including the currently supported values for your version of the library, see e.g.:
- https://libusb.sourceforge.io/api-1.0/
- https://libusb.sourceforge.io/api-1.0/group__libusb__lib.html
You may need to tweak some settings, depending on the make and model of your UPS (see ups.conf(5)):
localcalculationβ When enabled, driver will calculate values ofbattery.runtimeandbattery.charge"locally" in the driver. This is for some Riello models (iPlug and iDialog series) which provide incorrect values in hardware readings, or none at all. This "local calculation" is done according to nominal battery capacity, nominal battery voltage, actual battery charge, maximum and actual UPS load.
You may want to also configure default.battery.voltage.low and default.battery.voltage.high in case the built-in default range (from 10.7V to 12.9V) does not match your hardware, or give a shot to default.battery.voltage.nominal (e.g. 24) if your device does not serve that either.
π Note: Lead (PbAc) battery charge graph is not linear, so guesstimated charge value may not be perfectly accurate. However it should be good enough to determine battery actual status and roughly estimate the time it can still power the system.
β οΈ Warning: This keyword may be deprecated in future releases of the driver, in favor ofruntimecaland other settings which it requires (as seen innutdrv_qx(8),blazer_ser(8)andblazer_usb(8)drivers).
π AUTHOR π
Massimo Zampieri π
π SEE ALSO π
π§ Related drivers
π«Ά The core driver
π Internet resources
The NUT (Network UPS Tools) home page: https://www.networkupstools.org/historic/v2.8.5/
and that's the whole page bestie, you ate it π β¨ this was Network UPS Tools 2.8.5, dated 10/07/2026 β slay, go plug in that UPS ππ
π¦ where this page comes from
- fedora 43: nut 2.8.5-9.fc43 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 43: nut 2.8.5-9.fc43 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 44: nut 2.8.5-9.fc44 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 44: nut 2.8.5-9.fc44 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms