18c2ecf20Sopenharmony_ciWhat: /sys/kernel/debug/olpc-ec/cmd 28c2ecf20Sopenharmony_ciDate: Dec 2011 38c2ecf20Sopenharmony_ciKernelVersion: 3.4 48c2ecf20Sopenharmony_ciContact: devel@lists.laptop.org 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciA generic interface for executing OLPC Embedded Controller commands and 88c2ecf20Sopenharmony_cireading their responses. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciTo execute a command, write data with the format: CC:N A A A A 118c2ecf20Sopenharmony_ciCC is the (hex) command, N is the count of expected reply bytes, and A A A A 128c2ecf20Sopenharmony_ciare optional (hex) arguments. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciTo read the response (if any), read from the generic node after executing 158c2ecf20Sopenharmony_cia command. Hex reply bytes will be returned, *whether or not* they came from 168c2ecf20Sopenharmony_cithe immediately previous command. 17