aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2009-11-09 17:30:29 +0000
committerJohn Rigby <john.rigby@linaro.org>2012-06-25 12:16:54 -0600
commitedf90f402b94a9a84635f4518b420297cfda766a (patch)
treedc666a9ffa7694f3c25fbd0736cf55f031ec3d53 /drivers/acpi
parent27091301d9cdbc169d80e045a2156738b524a6f2 (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/acpi')
-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 9577b6fa265..2ed59075ff1 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1423,7 +1423,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)