Imported Upstream version 2.7.3
This commit is contained in:
parent
a356b56d11
commit
fd413a3168
283 changed files with 14978 additions and 6511 deletions
|
|
@ -80,6 +80,22 @@ delay which is controlled by this setting. This is normally 2 seconds. This
|
|||
may be useful if the driver is creating too much of a load on your system or
|
||||
network.
|
||||
|
||||
*synchronous*::
|
||||
|
||||
Optional. The driver work by default in asynchronous mode (i.e
|
||||
*synchronous=no*). This means that all data are pushed by the driver
|
||||
on the communication socket to upsd (Unix socket on Unix, Named pipe
|
||||
on Windows) without waiting for these data to be actually consumed.
|
||||
With some HW, such as ePDUs, that can produce a lot of data,
|
||||
asynchronous mode may cause some congestion, resulting in the socket to
|
||||
be full, and the driver to appear as not connected. By enabling the
|
||||
'synchronous' flag (value = 'yes'), the driver will wait for data to be
|
||||
consumed by upsd, prior to publishing more. This can be enabled either
|
||||
globally or per driver.
|
||||
+
|
||||
The default is 'no' (i.e. asynchronous mode) for backward compatibility
|
||||
of the driver behavior.
|
||||
|
||||
*user*::
|
||||
|
||||
Optional. If started as root, the driver will setuid(2) to the user id
|
||||
|
|
@ -154,6 +170,21 @@ system from getting stuck due to a broken driver or UPS.
|
|||
+
|
||||
The default is 45 seconds.
|
||||
|
||||
*synchronous*::
|
||||
|
||||
Optional. Same as the global directive of the same name, but this is
|
||||
for a specific device.
|
||||
|
||||
*usb_set_altinterface*[='altinterface']::
|
||||
|
||||
Optional. Force the USB code to call `usb_set_altinterface(0)`, as was done in
|
||||
NUT 2.7.2 and earlier. This should not be necessary, since the default for
|
||||
`bAlternateSetting` (as shown in lsusb) is zero on all USB devices seen to
|
||||
date. However, this redundant call to `usb_set_altinterface()` prevents
|
||||
certain UPSes from working on Mac OS X. If your UPS requires explicitly setting
|
||||
the alternate interface, include this flag, and email the nut-upsdev list with
|
||||
details about your UPS and operating system.
|
||||
|
||||
*default.<variable>*::
|
||||
|
||||
Optional. Set a default value for <variable> which is used in case the UPS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue