From 17f08f5e6423d468e9a9958bf7e6cab9b08b58c6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 2 Nov 2018 12:31:44 +0100 Subject: [PATCH] lirc.4: Minor reworking of Sean Young's LIRC_SET_REC_TIMEOUT patch Signed-off-by: Michael Kerrisk --- man4/lirc.4 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/man4/lirc.4 b/man4/lirc.4 index 6e9a94a66..d2bfc32ec 100644 --- a/man4/lirc.4 +++ b/man4/lirc.4 @@ -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).