1What: /sys/class/rc/ 2Date: Apr 2010 3KernelVersion: 2.6.35 4Contact: Mauro Carvalho Chehab <[email protected]> 5Description: 6 The rc/ class sub-directory belongs to the Remote Controller 7 core and provides a sysfs interface for configuring infrared 8 remote controller receivers. 9 10What: /sys/class/rc/rcN/ 11Date: Apr 2010 12KernelVersion: 2.6.35 13Contact: Mauro Carvalho Chehab <[email protected]> 14Description: 15 A /sys/class/rc/rcN directory is created for each remote 16 control receiver device where N is the number of the receiver. 17 18What: /sys/class/rc/rcN/protocols 19Date: Jun 2010 20KernelVersion: 2.6.36 21Contact: Mauro Carvalho Chehab <[email protected]> 22Description: 23 Reading this file returns a list of available protocols, 24 something like: 25 "rc5 [rc6] nec jvc [sony]" 26 Enabled protocols are shown in [] brackets. 27 Writing "+proto" will add a protocol to the list of enabled 28 protocols. 29 Writing "-proto" will remove a protocol from the list of enabled 30 protocols. 31 Writing "proto" will enable only "proto". 32 Writing "none" will disable all protocols. 33 Write fails with EINVAL if an invalid protocol combination or 34 unknown protocol name is used. 35