Re: [PATCH 1/2] lirc.4: document remaining ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sean,

On 11/3/18 12:18 PM, Sean Young wrote:
> Now all ioctls are documented.

Thanks. Applied.

Cheers,

Michael


> Signed-off-by: Sean Young <sean@xxxxxxxx>
> ---
>  man4/lirc.4 | 17 +++++------------
>  1 file changed, 5 insertions(+), 12 deletions(-)
> 
> diff --git a/man4/lirc.4 b/man4/lirc.4
> index 38b2ed171..c0a91f3b6 100644
> --- a/man4/lirc.4
> +++ b/man4/lirc.4
> @@ -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.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux