• Z
    ACPI: video: create "brightness_switch_enabled" modparam · 8a681a4d
    Zhang Rui 提交于
    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: NZhang Rui <rui.zhang@intel.com>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    8a681a4d
video.c 51.3 KB