diff options
author | Corentin Chary <[email protected]> | 2011-11-26 11:00:03 +0100 |
---|---|---|
committer | Matthew Garrett <[email protected]> | 2012-03-20 12:02:08 -0400 |
commit | 5b80fc40e5c53da2c69382c20cfc2ece19ece9ce (patch) | |
tree | 42080e2e731acd938bc56bc0000e6ca99cbab147 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7e9607118b08bd4e1dae65d56e425e8de7f3da1c (diff) |
samsung-laptop: add a small debugfs interface
This allow to call arbitrary sabi commands wihout
modifying the driver at all. For example, setting
the keyboard backlight brightness to 5 using debugfs
interface can be done like that:
; Set the command
echo 0x78 > command
; Set the data
echo 0x0582 > d0
; Fill the rest with 0
echo 0 > d1
echo 0 > d2
echo 0 > d3
; And issue the command
cat call
Signed-off-by: Corentin Chary <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions