Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _lirc_read: | |
4 | ||
5 | ************* | |
6 | LIRC read fop | |
7 | ************* | |
8 | ||
9 | The lircd userspace daemon reads raw IR data from the LIRC chardev. The | |
10 | exact format of the data depends on what modes a driver supports, and | |
11 | what mode has been selected. lircd obtains supported modes and sets the | |
12 | active mode via the ioctl interface, detailed at :ref:`lirc_ioctl`. | |
13 | The generally preferred mode is LIRC_MODE_MODE2, in which packets | |
14 | containing an int value describing an IR signal are read from the | |
15 | chardev. | |
16 | ||
17 | See also | |
18 | `http://www.lirc.org/html/technical.html <http://www.lirc.org/html/technical.html>`__ | |
19 | for more info. | |
20 | ||
21 | ||
22 | .. ------------------------------------------------------------------------------ | |
23 | .. This file was automatically converted from DocBook-XML with the dbxml | |
24 | .. library (https://github.com/return42/sphkerneldoc). The origin XML comes | |
25 | .. from the linux kernel, refer to: | |
26 | .. | |
27 | .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook | |
28 | .. ------------------------------------------------------------------------------ |