2016-05-20 10:28:15 +00:00
|
|
|
.\" Copyright (c) 2015-2016, Alec Leamas
|
2018-10-31 23:18:00 +00:00
|
|
|
.\" Copyright (c) 2018, Sean Young <sean@mess.org>
|
2015-12-15 07:19:10 +00:00
|
|
|
.\"
|
|
|
|
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the GNU General Public License as
|
|
|
|
.\" published by the Free Software Foundation; either version 2 of
|
|
|
|
.\" the License, or (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" The GNU General Public License's references to "object code"
|
|
|
|
.\" and "executables" are to be interpreted as the output of any
|
|
|
|
.\" document formatting or typesetting system, including
|
|
|
|
.\" intermediate and printed output.
|
|
|
|
.\"
|
|
|
|
.\" This manual is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public
|
|
|
|
.\" License along with this manual; if not, see
|
|
|
|
.\" <http://www.gnu.org/licenses/>.
|
|
|
|
.\" %%%LICENSE_END
|
getent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, pldd.1, sprof.1, time.1, _syscall.2, accept.2, add_key.2, adjtimex.2, bind.2, bpf.2, capget.2, chown.2, chroot.2, clock_getres.2, clone.2, connect.2, copy_file_range.2, epoll_ctl.2, epoll_wait.2, eventfd.2, fanotify_init.2, fanotify_mark.2, fcntl.2, fsync.2, futex.2, getcpu.2, getdents.2, getgid.2, getgroups.2, getpid.2, gettid.2, gettimeofday.2, getuid.2, getxattr.2, inotify_add_watch.2, inotify_init.2, ioctl_fat.2, ioctl_ns.2, ioctl_userfaultfd.2, ioprio_set.2, kcmp.2, kexec_load.2, keyctl.2, listxattr.2, lseek.2, madvise.2, memfd_create.2, migrate_pages.2, mount.2, mprotect.2, mremap.2, msgctl.2, msgop.2, nfsservctl.2, open_by_handle_at.2, perf_event_open.2, pipe.2, pivot_root.2, pkey_alloc.2, poll.2, posix_fadvise.2, prctl.2, readahead.2, readdir.2, readlink.2, reboot.2, recvmmsg.2, removexattr.2, rename.2, request_key.2, s390_guarded_storage.2, s390_runtime_instr.2, s390_sthyi.2, sched_setaffinity.2, sched_setattr.2, sched_setparam.2, seccomp.2, select.2, select_tut.2, semctl.2, sendmmsg.2, set_thread_area.2, setgid.2, setns.2, setuid.2, setxattr.2, shmctl.2, sigaction.2, signalfd.2, sigsuspend.2, socket.2, socketpair.2, spu_run.2, stat.2, statx.2, subpage_prot.2, syscalls.2, sysctl.2, tee.2, timer_create.2, timerfd_create.2, truncate.2, uname.2, unshare.2, userfaultfd.2, ustat.2, vmsplice.2, write.2, CPU_SET.3, __ppc_get_timebase.3, alloca.3, argz_add.3, asprintf.3, backtrace.3, basename.3, bsd_signal.3, bstring.3, bswap.3, bzero.3, cacos.3, cacosh.3, catan.3, catanh.3, catgets.3, clock_getcpuclockid.3, cmsg.3, confstr.3, ctermid.3, ctime.3, des_crypt.3, dl_iterate_phdr.3, dlinfo.3, dlsym.3, duplocale.3, end.3, endian.3, errno.3, exec.3, exit.3, ferror.3, fgetws.3, fmemopen.3, fnmatch.3, fopencookie.3, fputws.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo.3, getaddrinfo_a.3, getdate.3, getgrouplist.3, getifaddrs.3, getline.3, getlogin.3, getmntent.3, getnameinfo.3, getopt.3, getpass.3, getprotoent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, index.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, isatty.3, iswblank.3, iswspace.3, lockf.3, makecontext.3, mallinfo.3, malloc.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mcheck.3, memchr.3, mq_getattr.3, mq_notify.3, newlocale.3, nl_langinfo.3, offsetof.3, perror.3, posix_spawn.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_mutexattr_setrobust.3, pthread_rwlockattr_setkind_np.3, pthread_setaffinity_np.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, putenv.3, qsort.3, rand.3, random.3, readdir.3, regex.3, resolver.3, rpmatch.3, rtime.3, scanf.3, sem_wait.3, setaliasent.3, setbuf.3, stpcpy.3, stpncpy.3, strcat.3, strchr.3, strcmp.3, strcpy.3, strdup.3, strerror.3, strfromd.3, strfry.3, strftime.3, string.3, strlen.3, strnlen.3, strsep.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, system.3, termios.3, trunc.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3, wprintf.3, xcrypt.3, console_codes.4, dsp56k.4, full.4, initrd.4, lirc.4, loop.4, st.4, tty.4, vcs.4, charmap.5, core.5, host.conf.5, locale.5, proc.5, repertoiremap.5, resolv.conf.5, termcap.5, tmpfs.5, tzfile.5, aio.7, capabilities.7, cgroup_namespaces.7, cgroups.7, charsets.7, complex.7, epoll.7, fanotify.7, feature_test_macros.7, inotify.7, ip.7, locale.7, man-pages.7, man.7, namespaces.7, pid_namespaces.7, pkeys.7, pthreads.7, rtld-audit.7, sched.7, signal.7, sock_diag.7, socket.7, tcp.7, udp.7, unicode.7, user_namespaces.7, utf-8.7, zdump.8, zic.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2019-03-06 14:11:03 +00:00
|
|
|
.TH LIRC 4 2019-03-06 "Linux" "Linux Programmer's Manual"
|
2015-12-15 07:19:10 +00:00
|
|
|
.SH NAME
|
|
|
|
lirc \- lirc devices
|
|
|
|
.SH DESCRIPTION
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 11:33:02 +00:00
|
|
|
The
|
2018-11-01 11:57:11 +00:00
|
|
|
.I /dev/lirc*
|
2015-12-15 11:33:02 +00:00
|
|
|
character devices provide a low-level
|
2018-11-01 11:57:11 +00:00
|
|
|
bidirectional interface to infra-red (IR) remotes.
|
|
|
|
Most of these devices can receive, and some can send.
|
2018-10-31 23:18:03 +00:00
|
|
|
When receiving or sending data, the driver works in two different modes
|
|
|
|
depending on the underlying hardware.
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 07:19:10 +00:00
|
|
|
Some hardware (typically TV-cards) decodes the IR signal internally
|
2018-11-04 10:59:58 +00:00
|
|
|
and provides decoded button presses as scancode values.
|
2018-11-01 11:57:11 +00:00
|
|
|
Drivers for this kind of hardware work in
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_MODE_SCANCODE
|
2015-12-15 11:33:02 +00:00
|
|
|
mode.
|
2015-12-15 07:19:10 +00:00
|
|
|
Such hardware usually does not support sending IR signals.
|
2018-11-04 10:59:58 +00:00
|
|
|
Furthermore, such hardware can only decode a limited set of IR protocols,
|
|
|
|
usually only the protocol of the specific remote which is
|
2015-12-15 07:19:10 +00:00
|
|
|
bundled with, for example, a TV-card.
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 07:19:10 +00:00
|
|
|
Other hardware provides a stream of pulse/space durations.
|
|
|
|
Such drivers work in
|
2015-12-15 11:33:02 +00:00
|
|
|
.BR LIRC_MODE_MODE2
|
|
|
|
mode.
|
2015-12-15 07:19:10 +00:00
|
|
|
Sometimes, this kind of hardware also supports
|
|
|
|
sending IR data.
|
2018-11-01 11:57:11 +00:00
|
|
|
Such hardware can be used with (almost) any kind of remote.
|
|
|
|
This type of hardware can also be used in
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_MODE_SCANCODE
|
2018-11-01 11:57:11 +00:00
|
|
|
mode, in which case the kernel IR decoders will decode the IR.
|
2018-11-02 12:02:30 +00:00
|
|
|
These decoders can be written in extended BPF (see
|
|
|
|
.BR bpf (2))
|
2018-11-01 11:57:11 +00:00
|
|
|
and attached to the
|
|
|
|
.B lirc
|
|
|
|
device.
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2018-10-31 23:18:01 +00:00
|
|
|
The \fBLIRC_GET_FEATURES\fR ioctl (see below) allows probing for whether
|
|
|
|
receiving and sending is supported, and in which modes, amongst other
|
|
|
|
features.
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2018-10-31 23:18:00 +00:00
|
|
|
.SS Reading input with the LIRC_MODE_MODE2 mode
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 07:19:10 +00:00
|
|
|
In the \fBLIRC_MODE_MODE2 mode\fR, the data returned by
|
|
|
|
.BR read (2)
|
2018-10-31 23:18:00 +00:00
|
|
|
provides 32-bit values representing a space or a pulse duration.
|
2015-12-15 11:33:02 +00:00
|
|
|
The time of the duration (microseconds) is encoded in the lower 24 bits.
|
2018-11-04 10:59:58 +00:00
|
|
|
The upper 8 bits indicate the type of package:
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP 4
|
2018-11-04 10:59:58 +00:00
|
|
|
.BR LIRC_MODE2_SPACE
|
2015-12-15 07:19:10 +00:00
|
|
|
Value reflects a space duration (microseconds).
|
|
|
|
.TP 4
|
2018-11-04 10:59:58 +00:00
|
|
|
.BR LIRC_MODE2_PULSE
|
2015-12-15 07:19:10 +00:00
|
|
|
Value reflects a pulse duration (microseconds).
|
|
|
|
.TP 4
|
2018-11-04 10:59:58 +00:00
|
|
|
.BR LIRC_MODE2_FREQUENCY
|
2015-12-15 11:33:02 +00:00
|
|
|
Value reflects a frequency (Hz); see the
|
2015-12-30 19:46:39 +00:00
|
|
|
.B LIRC_SET_MEASURE_CARRIER_MODE
|
2015-12-15 07:19:10 +00:00
|
|
|
ioctl.
|
|
|
|
.TP 4
|
2018-11-04 10:59:58 +00:00
|
|
|
.BR LIRC_MODE2_TIMEOUT
|
2018-10-31 23:18:00 +00:00
|
|
|
Value reflects a space duration (microseconds).
|
2015-12-15 11:33:02 +00:00
|
|
|
The package reflects a timeout; see the
|
2015-12-15 07:19:10 +00:00
|
|
|
.B LIRC_SET_REC_TIMEOUT_REPORTS
|
|
|
|
ioctl.
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2018-10-31 23:18:00 +00:00
|
|
|
.SS Reading input with the LIRC_MODE_SCANCODE mode
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2018-10-31 23:18:00 +00:00
|
|
|
In the \fBLIRC_MODE_SCANCODE\fR
|
2015-12-15 07:19:10 +00:00
|
|
|
mode, the data returned by
|
2015-12-15 11:33:02 +00:00
|
|
|
.BR read (2)
|
2018-11-01 11:57:11 +00:00
|
|
|
reflects decoded button presses, in the struct \fIlirc_scancode\fR.
|
|
|
|
The scancode is stored in the \fIscancode\fR field, and the IR protocol
|
2018-11-04 10:59:58 +00:00
|
|
|
is stored in \fIrc_proto\fR.
|
2018-11-03 11:18:18 +00:00
|
|
|
This field has one the values of the \fIenum rc_proto\fR.
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2018-10-31 23:18:00 +00:00
|
|
|
.SS Writing output with the LIRC_MODE_PULSE mode
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 07:19:10 +00:00
|
|
|
The data written to the character device using
|
2015-12-15 11:33:02 +00:00
|
|
|
.BR write (2)
|
2015-12-15 07:19:10 +00:00
|
|
|
is a pulse/space sequence of integer values.
|
|
|
|
Pulses and spaces are only marked implicitly by their position.
|
|
|
|
The data must start and end with a pulse, thus it must always include
|
|
|
|
an odd number of samples.
|
|
|
|
The
|
2015-12-15 11:33:02 +00:00
|
|
|
.BR write (2)
|
2015-12-15 07:19:10 +00:00
|
|
|
function blocks until the data has been transmitted by the
|
|
|
|
hardware.
|
|
|
|
If more data is provided than the hardware can send, the
|
2015-12-15 11:33:02 +00:00
|
|
|
.BR write (2)
|
2015-12-15 07:19:10 +00:00
|
|
|
call fails with the error
|
2018-11-03 11:18:18 +00:00
|
|
|
.BR EINVAL .
|
2018-10-31 23:18:00 +00:00
|
|
|
.SS Writing output with the LIRC_MODE_SCANCODE mode
|
|
|
|
.PP
|
|
|
|
The data written to the character devices must be a single struct
|
2018-11-01 11:57:11 +00:00
|
|
|
\fIlirc_scancode\fR.
|
|
|
|
The \fIscancode\fR and \fIrc_proto\fR fields must
|
|
|
|
filled in, all other fields must be 0.
|
|
|
|
The kernel IR encoders will
|
2018-10-31 23:18:00 +00:00
|
|
|
convert the scancode to pulses and spaces.
|
2018-11-01 11:57:11 +00:00
|
|
|
The protocol or scancode is invalid, or the
|
|
|
|
.B lirc
|
|
|
|
device cannot transmit.
|
2016-05-20 10:28:15 +00:00
|
|
|
.SH IOCTL COMMANDS
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2016-05-20 10:28:15 +00:00
|
|
|
The LIRC device's ioctl definition is bound by the ioctl function
|
2018-11-04 10:59:58 +00:00
|
|
|
definition of
|
|
|
|
.IR "struct file_operations" ,
|
|
|
|
leaving us with an
|
|
|
|
.IR "unsigned int"
|
|
|
|
for the ioctl command and an
|
|
|
|
.IR "unsigned long"
|
|
|
|
for the argument.
|
2016-05-26 21:23:25 +00:00
|
|
|
For the purposes of ioctl portability across 32-bit and 64-bit architectures,
|
2016-05-20 10:28:15 +00:00
|
|
|
these values are capped to their 32-bit sizes.
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 07:19:10 +00:00
|
|
|
.nf
|
2018-10-31 23:18:04 +00:00
|
|
|
#include <linux/lirc.h> /* But see BUGS */
|
2015-12-15 07:19:10 +00:00
|
|
|
int ioctl(int fd, int cmd, ...);
|
|
|
|
.fi
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2018-11-01 11:57:11 +00:00
|
|
|
The following ioctls can be used to probe or change specific
|
|
|
|
.B lirc
|
2015-12-15 07:19:10 +00:00
|
|
|
hardware settings.
|
|
|
|
Many require a third argument, usually an
|
|
|
|
.IR int .
|
|
|
|
referred to below as
|
2015-12-15 11:33:02 +00:00
|
|
|
.IR val .
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2015-12-15 07:19:10 +00:00
|
|
|
.SS Always Supported Commands
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2015-12-15 07:19:10 +00:00
|
|
|
\fI/dev/lirc*\fR devices always support the following commands:
|
|
|
|
.TP 4
|
|
|
|
.BR LIRC_GET_FEATURES " (\fIvoid\fP)"
|
2015-12-15 11:33:02 +00:00
|
|
|
Returns a bit mask of combined features bits; see FEATURES.
|
2018-10-31 23:18:01 +00:00
|
|
|
.PP
|
|
|
|
If a device returns an error code for
|
|
|
|
.BR LIRC_GET_FEATURES ,
|
2018-11-01 11:57:11 +00:00
|
|
|
it is safe to assume it is not a
|
|
|
|
.B lirc
|
|
|
|
device.
|
2018-10-31 23:18:01 +00:00
|
|
|
.\"
|
|
|
|
.SS Optional Commands
|
|
|
|
.PP
|
2018-11-01 11:57:11 +00:00
|
|
|
Some
|
|
|
|
.B lirc
|
2018-11-02 11:38:10 +00:00
|
|
|
devices support the commands listed below.
|
2018-10-31 23:18:01 +00:00
|
|
|
Unless otherwise stated, these fail with the error \fBENOTTY\fR if the
|
|
|
|
operation isn't supported, or with the error \fBEINVAL\fR if the operation
|
|
|
|
failed, or invalid arguments were provided.
|
2018-11-04 10:59:58 +00:00
|
|
|
If a driver does not announce support of certain features, invoking
|
|
|
|
the corresponding ioctls will fail with the error
|
|
|
|
.BR ENOTTY .
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
2018-10-31 23:18:01 +00:00
|
|
|
.BR LIRC_GET_REC_MODE " (\fIvoid\fP)"
|
2018-11-02 11:04:35 +00:00
|
|
|
If the
|
|
|
|
.B lirc
|
2018-11-04 11:13:32 +00:00
|
|
|
device has no receiver, this operation fails with the error
|
|
|
|
.BR ENOTTY .
|
|
|
|
Otherwise, it returns the receive mode, which will be one of:
|
2018-11-04 10:59:58 +00:00
|
|
|
.RS
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
2018-10-31 23:18:01 +00:00
|
|
|
.BR LIRC_MODE_MODE2
|
2015-12-15 12:08:02 +00:00
|
|
|
The driver returns a sequence of pulse/space durations.
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_MODE_SCANCODE
|
2018-11-01 11:57:11 +00:00
|
|
|
The driver returns struct
|
|
|
|
.I lirc_scancode
|
|
|
|
values, each of which represents
|
2018-10-31 23:18:00 +00:00
|
|
|
a decoded button press.
|
2015-12-15 07:19:10 +00:00
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_REC_MODE " (\fIint\fP)"
|
|
|
|
Set the receive mode.
|
|
|
|
.IR val
|
|
|
|
is either
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_MODE_SCANCODE
|
2015-12-15 07:19:10 +00:00
|
|
|
or
|
|
|
|
.BR LIRC_MODE_MODE2 .
|
2018-11-02 11:04:35 +00:00
|
|
|
If the
|
|
|
|
.B lirc
|
2018-11-04 11:13:32 +00:00
|
|
|
device has no receiver, this operation fails with the error
|
2018-11-02 11:04:35 +00:00
|
|
|
.B ENOTTY.
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_GET_SEND_MODE " (\fIvoid\fP)"
|
2015-12-15 11:33:02 +00:00
|
|
|
Return the send mode.
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_MODE_PULSE
|
2018-10-31 23:18:00 +00:00
|
|
|
or
|
|
|
|
.BR LIRC_MODE_SCANCODE
|
2015-12-15 07:19:10 +00:00
|
|
|
is supported.
|
2018-11-02 11:04:35 +00:00
|
|
|
If the
|
|
|
|
.B lirc
|
2018-11-04 11:13:32 +00:00
|
|
|
device cannot send, this operation fails with the error
|
2018-11-02 11:04:35 +00:00
|
|
|
.B ENOTTY.
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_SEND_MODE " (\fIint\fP)"
|
|
|
|
Set the send mode.
|
2018-10-31 23:18:00 +00:00
|
|
|
.IR val
|
|
|
|
is either
|
|
|
|
.BR LIRC_MODE_SCANCODE
|
|
|
|
or
|
2018-11-02 11:04:35 +00:00
|
|
|
.BR LIRC_MODE_PULSE .
|
|
|
|
If the
|
|
|
|
.B lirc
|
2018-11-04 11:13:32 +00:00
|
|
|
device cannot send, this operation fails with the error
|
|
|
|
.BR ENOTTY .
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_SEND_CARRIER " (\fIint\fP)"
|
2015-12-15 11:33:02 +00:00
|
|
|
Set the modulation frequency.
|
|
|
|
The argument is the frequency (Hz).
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
2018-04-23 10:26:38 +00:00
|
|
|
.BR LIRC_SET_SEND_DUTY_CYCLE " (\fIint\fP)"
|
2015-12-15 07:19:10 +00:00
|
|
|
Set the carrier duty cycle.
|
2015-12-15 11:33:02 +00:00
|
|
|
.I val
|
|
|
|
is a number in the range [0,100] which
|
|
|
|
describes the pulse width as a percentage of the total cycle.
|
2015-12-15 07:19:10 +00:00
|
|
|
Currently, no special meaning is defined for 0 or 100, but the values
|
|
|
|
are reserved for future use.
|
cpuid.4, fd.4, full.4, initrd.4, lirc.4, msr.4, null.4, vcs.4, charmap.5, core.5, dir_colors.5, filesystems.5, gai.conf.5, hosts.equiv.5, locale.5, motd.5, networks.5, nscd.conf.5, nss.5, proc.5, protocols.5, repertoiremap.5, services.5, tmpfs.5, ttytype.5, intro.8, nscd.8: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 22:59:55 +00:00
|
|
|
.IP
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_GET_MIN_TIMEOUT " (\fIvoid\fP)", " "\
|
|
|
|
LIRC_GET_MAX_TIMEOUT " (\fIvoid\fP)"
|
|
|
|
Some devices have internal timers that can be used to detect when
|
2018-11-04 10:59:58 +00:00
|
|
|
there has been no IR activity for a long time.
|
2015-12-15 07:19:10 +00:00
|
|
|
This can help
|
2015-12-15 11:33:02 +00:00
|
|
|
.BR lircd (8)
|
2015-12-15 07:19:10 +00:00
|
|
|
in detecting that an IR signal is finished and can speed up the
|
|
|
|
decoding process.
|
2015-12-15 11:33:02 +00:00
|
|
|
These operations
|
|
|
|
return integer values with the minimum/maximum timeout that can be
|
2015-12-15 07:19:10 +00:00
|
|
|
set (microseconds).
|
2015-12-15 11:33:02 +00:00
|
|
|
Some devices have a fixed timeout.
|
|
|
|
For such drivers,
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_GET_MIN_TIMEOUT
|
|
|
|
and
|
|
|
|
.BR LIRC_GET_MAX_TIMEOUT
|
2018-11-04 11:13:32 +00:00
|
|
|
will fail with the error
|
2018-11-02 11:04:35 +00:00
|
|
|
.BR ENOTTY .
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_REC_TIMEOUT " (\fIint\fP)"
|
2015-12-15 12:08:02 +00:00
|
|
|
Set the integer value for IR inactivity timeout (microseconds).
|
2015-12-15 07:19:10 +00:00
|
|
|
To be accepted, the value must be within the limits defined by
|
|
|
|
.BR LIRC_GET_MIN_TIMEOUT
|
|
|
|
and
|
|
|
|
.BR LIRC_GET_MAX_TIMEOUT .
|
|
|
|
A value of 0 (if supported by the hardware) disables all hardware
|
|
|
|
timeouts and data should be reported as soon as possible.
|
|
|
|
If the exact value cannot be set, then the next possible value
|
|
|
|
.I greater
|
|
|
|
than the given value should be set.
|
|
|
|
.TP
|
2019-02-27 15:10:19 +00:00
|
|
|
.BR LIRC_GET_REC_TIMEOUT " (\fIvoid\fP)"
|
2018-11-03 11:18:17 +00:00
|
|
|
Return the current inactivity timeout (microseconds).
|
2018-11-04 10:59:58 +00:00
|
|
|
Available since Linux 4.18.
|
2018-11-03 11:18:17 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_REC_TIMEOUT_REPORTS " (\fIint\fP)"
|
2015-12-15 12:08:02 +00:00
|
|
|
Enable
|
2015-12-15 07:19:10 +00:00
|
|
|
.RI ( val
|
2015-12-15 12:08:02 +00:00
|
|
|
is 1) or disable
|
2015-12-15 11:33:02 +00:00
|
|
|
.RI ( val
|
2015-12-15 07:19:10 +00:00
|
|
|
is 0) timeout packages in
|
|
|
|
.BR LIRC_MODE_MODE2 .
|
2018-11-02 11:31:44 +00:00
|
|
|
The behavior of this operation has varied across kernel versions:
|
|
|
|
.RS
|
|
|
|
.IP * 3
|
2018-11-04 19:23:27 +00:00
|
|
|
Since Linux 4.16: each time the
|
|
|
|
.B lirc device is opened,
|
|
|
|
timeout reports are by default enabled for the resulting file descriptor.
|
|
|
|
The
|
|
|
|
.B LIRC_SET_REC_TIMEOUT
|
|
|
|
operation can be used to disable (and, if desired, to later re-enable)
|
|
|
|
the timeout on the file descriptor.
|
2018-11-02 11:31:44 +00:00
|
|
|
.IP *
|
2018-11-04 19:23:27 +00:00
|
|
|
In Linux 4.15 and earlier:
|
|
|
|
timeout reports are disabled by default, and enabling them (via
|
|
|
|
.BR LIRC_SET_REC_TIMEOUT )
|
|
|
|
on any file descriptor associated with the
|
|
|
|
.B lirc
|
|
|
|
device has the effect of enabling timeouts for all file descriptors
|
|
|
|
referring to that device (until timeouts are disabled again).
|
2018-11-02 11:31:44 +00:00
|
|
|
.RE
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_REC_CARRIER " (\fIint\fP)"
|
2018-11-02 11:36:09 +00:00
|
|
|
Set the upper bound of the receive carrier frequency (Hz).
|
|
|
|
See
|
2018-11-02 11:04:34 +00:00
|
|
|
.BR LIRC_SET_REC_CARRIER_RANGE .
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_REC_CARRIER_RANGE " (\fIint\fP)"
|
2018-11-02 11:04:34 +00:00
|
|
|
Sets the lower bound of the receive carrier frequency (Hz).
|
2018-11-02 11:36:09 +00:00
|
|
|
For this to take affect, first set the lower bound using the
|
2018-11-02 11:04:34 +00:00
|
|
|
.BR LIRC_SET_REC_CARRIER_RANGE
|
|
|
|
ioctl, and then the upper bound using the
|
|
|
|
.BR LIRC_SET_REC_CARRIER
|
|
|
|
ioctl.
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
2015-12-30 19:46:39 +00:00
|
|
|
.BR LIRC_SET_MEASURE_CARRIER_MODE " (\fIint\fP)"
|
2015-12-15 12:08:02 +00:00
|
|
|
Enable
|
2015-12-15 07:19:10 +00:00
|
|
|
.RI ( val
|
2015-12-15 12:08:02 +00:00
|
|
|
is 1) or disable
|
2015-12-15 11:33:02 +00:00
|
|
|
.RI ( val
|
|
|
|
is 0) the measure mode.
|
2015-12-15 07:19:10 +00:00
|
|
|
If enabled, from the next key press on, the driver will send
|
|
|
|
.BR LIRC_MODE2_FREQUENCY
|
2015-12-15 11:33:02 +00:00
|
|
|
packets.
|
2018-11-04 10:59:58 +00:00
|
|
|
By default, this should be turned off.
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
|
|
|
.BR LIRC_GET_REC_RESOLUTION " (\fIvoid\fP)"
|
2015-12-15 12:08:02 +00:00
|
|
|
Return the driver resolution (microseconds).
|
2015-12-15 07:19:10 +00:00
|
|
|
.TP
|
2018-11-03 11:18:17 +00:00
|
|
|
.BR LIRC_SET_TRANSMITTER_MASK " (\fIint\fP)"
|
2015-12-15 12:08:02 +00:00
|
|
|
Enable the set of transmitters specified in
|
|
|
|
.IR val ,
|
|
|
|
which contains a bit mask where each enabled transmitter is a 1.
|
2015-12-15 11:33:02 +00:00
|
|
|
The first transmitter is encoded by the least significant bit, and so on.
|
2015-12-15 07:19:10 +00:00
|
|
|
When an invalid bit mask is given, for example a bit is set even
|
2015-12-15 11:33:02 +00:00
|
|
|
though the device does not have so many transmitters,
|
|
|
|
this operation returns the
|
2015-12-15 07:19:10 +00:00
|
|
|
number of available transmitters and does nothing otherwise.
|
|
|
|
.TP
|
|
|
|
.BR LIRC_SET_WIDEBAND_RECEIVER " (\fIint\fP)"
|
2015-12-15 11:33:02 +00:00
|
|
|
Some devices are equipped with a special wide band receiver which is
|
2015-12-15 07:19:10 +00:00
|
|
|
intended to be used to learn the output of an existing remote.
|
|
|
|
This ioctl can be used to enable
|
|
|
|
.RI ( val
|
|
|
|
equals 1) or disable
|
|
|
|
.RI ( val
|
|
|
|
equals 0) this functionality.
|
|
|
|
This might be useful for devices that otherwise have narrow band
|
|
|
|
receivers that prevent them to be used with certain remotes.
|
|
|
|
Wide band receivers may also be more precise.
|
2018-11-04 10:59:58 +00:00
|
|
|
On the other hand, their disadvantage usually is reduced range of
|
2015-12-15 07:19:10 +00:00
|
|
|
reception.
|
|
|
|
.IP
|
|
|
|
Note: wide band receiver may be implicitly enabled if you enable
|
|
|
|
carrier reports.
|
2015-12-15 11:33:02 +00:00
|
|
|
In that case, it will be disabled as soon as you disable carrier reports.
|
2015-12-15 07:19:10 +00:00
|
|
|
Trying to disable a wide band receiver while carrier reports are active
|
|
|
|
will do nothing.
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2015-12-15 07:19:10 +00:00
|
|
|
.SH FEATURES
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2018-11-04 10:59:58 +00:00
|
|
|
the
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_GET_FEATURES
|
2015-12-15 11:33:02 +00:00
|
|
|
ioctl returns a bit mask describing features of the driver.
|
|
|
|
The following bits may be returned in the mask:
|
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_REC_MODE2
|
|
|
|
The driver is capable of receiving using
|
|
|
|
.BR LIRC_MODE_MODE2 .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_CAN_REC_SCANCODE
|
2015-12-15 07:19:10 +00:00
|
|
|
The driver is capable of receiving using
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_MODE_SCANCODE .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SET_SEND_CARRIER
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports changing the modulation frequency using
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_SEND_CARRIER .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SET_SEND_DUTY_CYCLE
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports changing the duty cycle using
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_SEND_DUTY_CYCLE .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SET_TRANSMITTER_MASK
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports changing the active transmitter(s) using
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_TRANSMITTER_MASK .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SET_REC_CARRIER
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports setting the receive carrier frequency using
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_REC_CARRIER .
|
2018-11-02 11:04:34 +00:00
|
|
|
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.
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SET_REC_CARRIER_RANGE
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_REC_CARRIER_RANGE .
|
2018-11-02 11:04:34 +00:00
|
|
|
The lower bound of the carrier must first be set using the
|
|
|
|
.BR LIRC_SET_REC_CARRIER_RANGE
|
2018-11-02 11:36:09 +00:00
|
|
|
ioctl, before using the
|
2018-11-02 11:04:34 +00:00
|
|
|
.BR LIRC_SET_REC_CARRIER
|
|
|
|
ioctl to set the upper bound.
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_GET_REC_RESOLUTION
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_GET_REC_RESOLUTION .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SET_REC_TIMEOUT
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_REC_TIMEOUT .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_MEASURE_CARRIER
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports measuring of the modulation frequency using
|
2015-12-30 19:46:39 +00:00
|
|
|
.BR LIRC_SET_MEASURE_CARRIER_MODE .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_USE_WIDEBAND_RECEIVER
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports learning mode using
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_SET_WIDEBAND_RECEIVER .
|
2015-12-15 11:33:02 +00:00
|
|
|
.TP
|
2015-12-15 07:19:10 +00:00
|
|
|
.BR LIRC_CAN_SEND_PULSE
|
2015-12-15 11:33:02 +00:00
|
|
|
The driver supports sending using
|
2018-10-31 23:18:00 +00:00
|
|
|
.BR LIRC_MODE_PULSE
|
|
|
|
or
|
|
|
|
.BR LIRC_MODE_SCANCODE
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2015-12-15 07:19:10 +00:00
|
|
|
.SH BUGS
|
2015-12-15 11:33:02 +00:00
|
|
|
Using these devices requires the kernel source header file
|
|
|
|
.IR lirc.h .
|
2016-05-26 21:23:25 +00:00
|
|
|
This file is not available before kernel release 4.6.
|
|
|
|
Users of older kernels could use the file bundled in
|
2015-12-15 11:33:02 +00:00
|
|
|
.UR http://www.lirc.org
|
|
|
|
.UE .
|
membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 08:14:22 +00:00
|
|
|
.\"
|
2015-12-15 07:19:10 +00:00
|
|
|
.SH SEE ALSO
|
2018-10-31 23:18:06 +00:00
|
|
|
\fBir\-ctl\fP(1), \fBlircd\fP(8),\ \fBbpf\fP(2)
|
add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:13:44 +00:00
|
|
|
.PP
|
2018-10-29 16:54:59 +00:00
|
|
|
https://www.kernel.org/doc/html/latest/media/uapi/rc/lirc-dev.html
|