aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2009-11-09 17:30:29 +0000
committerLeann Ogasawara <leann.ogasawara@canonical.com>2012-05-21 06:44:28 -0700
commitcc5f3a84a25cb554c3d5eb3243f7e03057d4dea3 (patch)
treeb1eacdd773e69a1a9c3a8f49c0e671b66d4ff9a5 /drivers
parent5a0c412cc9409d88dfb3377d8ed9042cd1706abb (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 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)