diff options
author | Corentin Chary <corentincj@iksaif.net> | 2011-11-26 11:00:03 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-20 12:02:08 -0400 |
commit | 5b80fc40e5c53da2c69382c20cfc2ece19ece9ce (patch) | |
tree | 42080e2e731acd938bc56bc0000e6ca99cbab147 /net/lapb/lapb_timer.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 <corentincj@iksaif.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions