Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/kernel/debug/olpc-ec/cmd
0002 Date:           Dec 2011
0003 KernelVersion:  3.4
0004 Contact:        devel@lists.laptop.org
0005 Description:
0006 
0007 A generic interface for executing OLPC Embedded Controller commands and
0008 reading their responses.
0009 
0010 To execute a command, write data with the format: CC:N A A A A
0011 CC is the (hex) command, N is the count of expected reply bytes, and A A A A
0012 are optional (hex) arguments.
0013 
0014 To read the response (if any), read from the generic node after executing
0015 a command. Hex reply bytes will be returned, *whether or not* they came from
0016 the immediately previous command.