~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-rc

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-class-rc (Architecture ppc) and /Documentation/ABI/testing/sysfs-class-rc (Architecture mips)


  1 What:           /sys/class/rc/                      1 What:           /sys/class/rc/
  2 Date:           Apr 2010                            2 Date:           Apr 2010
  3 KernelVersion:  2.6.35                              3 KernelVersion:  2.6.35
  4 Contact:        Mauro Carvalho Chehab <mchehab+      4 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
  5 Description:                                        5 Description:
  6                 The rc/ class sub-directory be      6                 The rc/ class sub-directory belongs to the Remote Controller
  7                 core and provides a sysfs inte      7                 core and provides a sysfs interface for configuring infrared
  8                 remote controller receivers.        8                 remote controller receivers.
  9                                                     9 
 10 What:           /sys/class/rc/rc<N>/               10 What:           /sys/class/rc/rc<N>/
 11 Date:           Apr 2010                           11 Date:           Apr 2010
 12 KernelVersion:  2.6.35                             12 KernelVersion:  2.6.35
 13 Contact:        Mauro Carvalho Chehab <mchehab+     13 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
 14 Description:                                       14 Description:
 15                 A /sys/class/rc/rcN directory      15                 A /sys/class/rc/rcN directory is created for each remote
 16                 control receiver device where      16                 control receiver device where N is the number of the receiver.
 17                                                    17 
 18 What:           /sys/class/rc/rc<N>/protocols      18 What:           /sys/class/rc/rc<N>/protocols
 19 Date:           Jun 2010                           19 Date:           Jun 2010
 20 KernelVersion:  2.6.36                             20 KernelVersion:  2.6.36
 21 Contact:        Mauro Carvalho Chehab <mchehab+     21 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
 22 Description:                                       22 Description:
 23                 Reading this file returns a li     23                 Reading this file returns a list of available protocols,
 24                 something like::                   24                 something like::
 25                                                    25 
 26                     "rc5 [rc6] nec jvc [sony]"     26                     "rc5 [rc6] nec jvc [sony]"
 27                                                    27 
 28                 Enabled protocols are shown in     28                 Enabled protocols are shown in [] brackets.
 29                                                    29 
 30                 Writing "+proto" will add a pr     30                 Writing "+proto" will add a protocol to the list of enabled
 31                 protocols.                         31                 protocols.
 32                                                    32 
 33                 Writing "-proto" will remove a     33                 Writing "-proto" will remove a protocol from the list of enabled
 34                 protocols.                         34                 protocols.
 35                                                    35 
 36                 Writing "proto" will enable on     36                 Writing "proto" will enable only "proto".
 37                                                    37 
 38                 Writing "none" will disable al     38                 Writing "none" will disable all protocols.
 39                                                    39 
 40                 Write fails with EINVAL if an      40                 Write fails with EINVAL if an invalid protocol combination or
 41                 unknown protocol name is used.     41                 unknown protocol name is used.
 42                                                    42 
 43 What:           /sys/class/rc/rc<N>/filter         43 What:           /sys/class/rc/rc<N>/filter
 44 Date:           Jan 2014                           44 Date:           Jan 2014
 45 KernelVersion:  3.15                               45 KernelVersion:  3.15
 46 Contact:        Mauro Carvalho Chehab <mchehab+     46 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
 47 Description:                                       47 Description:
 48                 Sets the scancode filter expec     48                 Sets the scancode filter expected value.
 49                                                    49 
 50                 Use in combination with /sys/c     50                 Use in combination with /sys/class/rc/rcN/filter_mask to set the
 51                 expected value of the bits set     51                 expected value of the bits set in the filter mask.
 52                 If the hardware supports it th     52                 If the hardware supports it then scancodes which do not match
 53                 the filter will be ignored. Ot     53                 the filter will be ignored. Otherwise the write will fail with
 54                 an error.                          54                 an error.
 55                                                    55 
 56                 This value may be reset to 0 i     56                 This value may be reset to 0 if the current protocol is altered.
 57                                                    57 
 58 What:           /sys/class/rc/rc<N>/filter_mas     58 What:           /sys/class/rc/rc<N>/filter_mask
 59 Date:           Jan 2014                           59 Date:           Jan 2014
 60 KernelVersion:  3.15                               60 KernelVersion:  3.15
 61 Contact:        Mauro Carvalho Chehab <mchehab+     61 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
 62 Description:                                       62 Description:
 63                 Sets the scancode filter mask      63                 Sets the scancode filter mask of bits to compare.
 64                 Use in combination with /sys/c     64                 Use in combination with /sys/class/rc/rcN/filter to set the bits
 65                 of the scancode which should b     65                 of the scancode which should be compared against the expected
 66                 value. A value of 0 disables t     66                 value. A value of 0 disables the filter to allow all valid
 67                 scancodes to be processed.         67                 scancodes to be processed.
 68                                                    68 
 69                 If the hardware supports it th     69                 If the hardware supports it then scancodes which do not match
 70                 the filter will be ignored. Ot     70                 the filter will be ignored. Otherwise the write will fail with
 71                 an error.                          71                 an error.
 72                                                    72 
 73                 This value may be reset to 0 i     73                 This value may be reset to 0 if the current protocol is altered.
 74                                                    74 
 75 What:           /sys/class/rc/rc<N>/wakeup_pro     75 What:           /sys/class/rc/rc<N>/wakeup_protocols
 76 Date:           Feb 2017                           76 Date:           Feb 2017
 77 KernelVersion:  4.11                               77 KernelVersion:  4.11
 78 Contact:        Mauro Carvalho Chehab <mchehab+     78 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
 79 Description:                                       79 Description:
 80                 Reading this file returns a li     80                 Reading this file returns a list of available protocols to use
 81                 for the wakeup filter, somethi     81                 for the wakeup filter, something like::
 82                                                    82 
 83                     "rc-5 nec nec-x rc-6-0 rc-     83                     "rc-5 nec nec-x rc-6-0 rc-6-6a-24 [rc-6-6a-32] rc-6-mce"
 84                                                    84 
 85                 Note that protocol variants ar     85                 Note that protocol variants are listed, so "nec", "sony",
 86                 "rc-5", "rc-6" have their diff     86                 "rc-5", "rc-6" have their different bit length encodings
 87                 listed if available.               87                 listed if available.
 88                                                    88 
 89                 The enabled wakeup protocol is     89                 The enabled wakeup protocol is shown in [] brackets.
 90                                                    90 
 91                 Only one protocol can be selec     91                 Only one protocol can be selected at a time.
 92                                                    92 
 93                 Writing "proto" will use "prot     93                 Writing "proto" will use "proto" for wakeup events.
 94                                                    94 
 95                 Writing "none" will disable wa     95                 Writing "none" will disable wakeup.
 96                                                    96 
 97                 Write fails with EINVAL if an      97                 Write fails with EINVAL if an invalid protocol combination or
 98                 unknown protocol name is used,     98                 unknown protocol name is used, or if wakeup is not supported by
 99                 the hardware.                      99                 the hardware.
100                                                   100 
101 What:           /sys/class/rc/rc<N>/wakeup_fil    101 What:           /sys/class/rc/rc<N>/wakeup_filter
102 Date:           Jan 2014                          102 Date:           Jan 2014
103 KernelVersion:  3.15                              103 KernelVersion:  3.15
104 Contact:        Mauro Carvalho Chehab <mchehab+    104 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
105 Description:                                      105 Description:
106                 Sets the scancode wakeup filte    106                 Sets the scancode wakeup filter expected value.
107                                                   107 
108                 Use in combination with /sys/c    108                 Use in combination with /sys/class/rc/rcN/wakeup_filter_mask to
109                 set the expected value of the     109                 set the expected value of the bits set in the wakeup filter mask
110                 to trigger a system wake event    110                 to trigger a system wake event.
111                                                   111 
112                 If the hardware supports it an    112                 If the hardware supports it and wakeup_filter_mask is not 0 then
113                 scancodes which match the filt    113                 scancodes which match the filter will wake the system from e.g.
114                 suspend to RAM or power off.      114                 suspend to RAM or power off.
115                                                   115 
116                 Otherwise the write will fail     116                 Otherwise the write will fail with an error.
117                                                   117 
118                 This value may be reset to 0 i    118                 This value may be reset to 0 if the wakeup protocol is altered.
119                                                   119 
120 What:           /sys/class/rc/rc<N>/wakeup_fil    120 What:           /sys/class/rc/rc<N>/wakeup_filter_mask
121 Date:           Jan 2014                          121 Date:           Jan 2014
122 KernelVersion:  3.15                              122 KernelVersion:  3.15
123 Contact:        Mauro Carvalho Chehab <mchehab+    123 Contact:        Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
124 Description:                                      124 Description:
125                 Sets the scancode wakeup filte    125                 Sets the scancode wakeup filter mask of bits to compare.
126                                                   126 
127                 Use in combination with /sys/c    127                 Use in combination with /sys/class/rc/rcN/wakeup_filter to set
128                 the bits of the scancode which    128                 the bits of the scancode which should be compared against the
129                 expected value to trigger a sy    129                 expected value to trigger a system wake event.
130                                                   130 
131                 If the hardware supports it an    131                 If the hardware supports it and wakeup_filter_mask is not 0 then
132                 scancodes which match the filt    132                 scancodes which match the filter will wake the system from e.g.
133                 suspend to RAM or power off.      133                 suspend to RAM or power off.
134                                                   134 
135                 Otherwise the write will fail     135                 Otherwise the write will fail with an error.
136                                                   136 
137                 This value may be reset to 0 i    137                 This value may be reset to 0 if the wakeup protocol is altered.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php