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