lirc.4: Minor reworking of Sean Young's LIRC_SET_REC_TIMEOUT patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-11-02 12:31:44 +01:00
parent ae04ed0767
commit 17f08f5e64
1 changed files with 12 additions and 5 deletions

View File

@ -273,14 +273,21 @@ is 1) or disable
.RI ( val
is 0) timeout packages in
.BR LIRC_MODE_MODE2 .
Each time the
The behavior of this operation has varied across kernel versions:
.RS
.IP * 3
Since Linux 4.16:
each time the
.BR lirc
device is opened, timeout reports are enabled for that
file descriptor since kernel release 4.16.
In earlier releases, timeout reports were disabled by default, and once
enabled, enabled for all
file descriptor.
.IP *
In Linux 4.15 and earlier: timeout reports were disabled by default,
and enabling them had effect for
.I all
.BR lirc
file descriptors until turned off again.
file descriptors until timeouts were disabled again.
.RE
.TP
.BR LIRC_SET_REC_CARRIER " (\fIint\fP)"
Set the receive carrier frequency (Hz).