aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2009-11-09 17:30:29 +0000
committerJohn Rigby <john.rigby@linaro.org>2011-08-21 21:28:23 -0600
commit828e54f3da8faa7fb6032528b628c8371ea3e7dd (patch)
tree6f23cef8b61ac78f41fba6acdf6874bb448403cf /drivers
parentca31496776f271a748d41f7183cb948d55891874 (diff)
UBUNTU: SAUCE: (no-up) set /proc/acpi/video/*/DOS to 4 by default
BugLink: http://bugs.launchpad.net/bugs/458982 acpi_video_bus_start_devices() in drivers/acpi/video.c sets the default ACPI DOS value to 0, which lets the OS handle toggling of display output but still leaves the BIOS handling brightness levels automatically when connecting/disconnecting AC. We want the OS to handle both where possible, so a better default would be to set this to 4. This likely will regress systems using proprietary video drivers which will need to change this setting back using the sysfs interfaces. Signed-off-by: Andy Whitcroft <apw@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index db39e9e607d..450a611b5fc 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1422,7 +1422,7 @@ static int acpi_video_bus_put_devices(struct acpi_video_bus *video)
static int acpi_video_bus_start_devices(struct acpi_video_bus *video)
{
- return acpi_video_bus_DOS(video, 0, 0);
+ return acpi_video_bus_DOS(video, 0, 1);
}
static int acpi_video_bus_stop_devices(struct acpi_video_bus *video)