17 lines · plain
1What: /sys/kernel/debug/olpc-ec/cmd2Date: Dec 20113KernelVersion: 3.44Contact: devel@lists.laptop.org5Description:6 7A generic interface for executing OLPC Embedded Controller commands and8reading their responses.9 10To execute a command, write data with the format: CC:N A A A A11CC is the (hex) command, N is the count of expected reply bytes, and A A A A12are optional (hex) arguments.13 14To read the response (if any), read from the generic node after executing15a command. Hex reply bytes will be returned, *whether or not* they came from16the immediately previous command.17