Imported Upstream version 2.7.3
This commit is contained in:
parent
a356b56d11
commit
fd413a3168
283 changed files with 14978 additions and 6511 deletions
|
|
@ -1,13 +1,13 @@
|
|||
'\" t
|
||||
.\" Title: ups.conf
|
||||
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
||||
.\" Date: 02/25/2014
|
||||
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
||||
.\" Date: 04/22/2015
|
||||
.\" Manual: NUT Manual
|
||||
.\" Source: Network UPS Tools 2.7.1.5
|
||||
.\" Source: Network UPS Tools 2.7.3
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "UPS\&.CONF" "5" "02/25/2014" "Network UPS Tools 2\&.7\&.1\&." "NUT Manual"
|
||||
.TH "UPS\&.CONF" "5" "04/22/2015" "Network UPS Tools 2\&.7\&.3" "NUT Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
@ -107,6 +107,19 @@ The default is 5 seconds\&.
|
|||
Optional\&. The status of the UPS will be refreshed after a maximum 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\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBsynchronous\fR
|
||||
.RS 4
|
||||
Optional\&. The driver work by default in asynchronous mode (i\&.e
|
||||
\fBsynchronous=no\fR)\&. 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
|
||||
\fIsynchronous\fR
|
||||
flag (value =
|
||||
\fIyes\fR), the driver will wait for data to be consumed by upsd, prior to publishing more\&. This can be enabled either globally or per driver\&.
|
||||
.sp
|
||||
The default is
|
||||
\fIno\fR
|
||||
(i\&.e\&. asynchronous mode) for backward compatibility of the driver behavior\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBuser\fR
|
||||
.RS 4
|
||||
Optional\&. If started as root, the driver will setuid(2) to the user id associated with
|
||||
|
|
@ -189,6 +202,21 @@ Optional\&. This can be set as a global variable above your first UPS definition
|
|||
The default is 45 seconds\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBsynchronous\fR
|
||||
.RS 4
|
||||
Optional\&. Same as the global directive of the same name, but this is for a specific device\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBusb_set_altinterface\fR[=\fIaltinterface\fR]
|
||||
.RS 4
|
||||
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\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBdefault\&.<variable>\fR
|
||||
.RS 4
|
||||
Optional\&. Set a default value for <variable> which is used in case the UPS doesn\(cqt provide a value, but will be overwritten if a value is available from the UPS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue