lirc.4: Document remaining ioctl (LIRC_GET_REC_TIMEOUT)

Now all ioctls are documented.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Sean Young 2018-11-03 11:18:17 +00:00 committed by Michael Kerrisk
parent 77eefc59bd
commit a1e1ac251d
1 changed files with 5 additions and 12 deletions

View File

@ -132,11 +132,6 @@ The protocol or scancode is invalid, or the
device cannot transmit.
.SH IOCTL COMMANDS
.PP
The complete list of ioctl commands is maintained in the kernel
documentation, see SEE ALSO.
The ioctl commands presented here is a subset of the kernel
documentation.
.PP
The LIRC device's ioctl definition is bound by the ioctl function
definition of struct file_operations, leaving us with an unsigned
int for the ioctl command and an unsigned long for the argument.
@ -155,12 +150,6 @@ Many require a third argument, usually an
.IR int .
referred to below as
.IR val .
.PP
In general, each driver should have a default set of settings.
The driver implementation is expected to re-apply the default settings
when the device is closed by user space, so that every application
opening the device can rely on working with the default settings
initially.
.\"
.SS Always Supported Commands
.PP
@ -284,6 +273,10 @@ If the exact value cannot be set, then the next possible value
.I greater
than the given value should be set.
.TP
.BR LIRC_GET_REC_TIMEOUT " (\fivoid\fP)"
Return the current inactivity timeout (microseconds).
Available in kernel release 4.18 and later.
.TP
.BR LIRC_SET_REC_TIMEOUT_REPORTS " (\fIint\fP)"
Enable
.RI ( val
@ -334,7 +327,7 @@ By default this should be turned off.
.BR LIRC_GET_REC_RESOLUTION " (\fIvoid\fP)"
Return the driver resolution (microseconds).
.TP
.BR LIRC_SET_TRANSMITTER_MASK
.BR LIRC_SET_TRANSMITTER_MASK " (\fIint\fP)"
Enable the set of transmitters specified in
.IR val ,
which contains a bit mask where each enabled transmitter is a 1.