Hello Sean, On 11/02/2018 12:04 PM, Sean Young wrote: > Signed-off-by: Sean Young <sean@xxxxxxxx> > --- > man4/lirc.4 | 25 +++++++++++++++++++++---- > 1 file changed, 21 insertions(+), 4 deletions(-) Patch applied, followed by a few minor fix-ups. Cheers, Michael > diff --git a/man4/lirc.4 b/man4/lirc.4 > index dd526a8b7..e28a46377 100644 > --- a/man4/lirc.4 > +++ b/man4/lirc.4 > @@ -283,12 +283,16 @@ enabled, enabled for all > file descriptors until turned off again. > .TP > .BR LIRC_SET_REC_CARRIER " (\fIint\fP)" > -Set the receive carrier frequency (Hz). > +Set the upper bound of the receive carrier frequency (Hz). See > +.BR LIRC_SET_REC_CARRIER_RANGE . > .TP > .BR LIRC_SET_REC_CARRIER_RANGE " (\fIint\fP)" > -After opening device, the first use of this operation > -sets the lower bound of the carrier range, > -and the second use sets the upper bound (Hz). > +Sets the lower bound of the receive carrier frequency (Hz). > +For this to take affect, first set the lower bound of using the > +.BR LIRC_SET_REC_CARRIER_RANGE > +ioctl, and then the upper bound using the > +.BR LIRC_SET_REC_CARRIER > +ioctl. > .TP > .BR LIRC_SET_MEASURE_CARRIER_MODE " (\fIint\fP)" > Enable > @@ -365,10 +369,23 @@ The driver supports changing the active transmitter(s) using > .BR LIRC_CAN_SET_REC_CARRIER > The driver supports setting the receive carrier frequency using > .BR LIRC_SET_REC_CARRIER . > +Any > +.B lirc > +device since the drivers were merged in kernel release 2.6.36 > +must have > +.BR LIRC_CAN_SET_REC_CARRIER_RANGE > +set if > +.BR LIRC_CAN_SET_REC_CARRIER > +feature is set. > .TP > .BR LIRC_CAN_SET_REC_CARRIER_RANGE > The driver supports > .BR LIRC_SET_REC_CARRIER_RANGE . > +The lower bound of the carrier must first be set using the > +.BR LIRC_SET_REC_CARRIER_RANGE > +ioctl, before using > +.BR LIRC_SET_REC_CARRIER > +ioctl to set the upper bound. > .TP > .BR LIRC_CAN_GET_REC_RESOLUTION > The driver supports > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/