diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-01-25 14:47:49 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 03:22:56 -0500 |
commit | 8a681a4dee07ea09aedaadc6a2da28d2131dc414 (patch) | |
tree | 051ace265079d74b815539be73599339d8c55b42 /drivers/acpi/osl.c | |
parent | 488b5ec871191359b9b79262a3d48456dae7ea5f (diff) | |
download | blackbird-op-linux-8a681a4dee07ea09aedaadc6a2da28d2131dc414.tar.gz blackbird-op-linux-8a681a4dee07ea09aedaadc6a2da28d2131dc414.zip |
ACPI: video: create "brightness_switch_enabled" modparam
Introduce new module parameter for brightness control.
"brightness_switch_enabled" is set by default which means
nothing changes upon brightness switch events.
When "brightness_switch_enabled" is cleared via
"echo 0 > /sys/module/video/parameters/brightness_switch_enabled",
ACPI will not try to change the brightness level any more.
Either X will take charge of this or users can change the brightness level
by poking /sys/class/backlight/acpi_videoX/...
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions