summaryrefslogtreecommitdiff
path: root/pm/sleep.d/99video
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-10-05 20:53:06 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-10-05 20:53:06 -0500
commit8bb909029274930145aaa99b4b8b5447fcf323de (patch)
tree28b4cd5f4e220a9b01ba3287468c14bc5cb1b741 /pm/sleep.d/99video
parent78c842d66e376461206947ac53d3976f68afdc7f (diff)
parent383ee6cc45b56086e7e5ea8846a1c0adae3cc035 (diff)
Merge branch 'master' into pm-utils-1.2pm-utils-1.2.2
Diffstat (limited to 'pm/sleep.d/99video')
-rwxr-xr-xpm/sleep.d/99video2
1 files changed, 2 insertions, 0 deletions
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index dc8590a..0beb360 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -166,6 +166,8 @@ resume_video()
quirk "${QUIRK_RADEON_OFF}" && radeon_on
quirk "${QUIRK_DPMS_ON}" && vbe dpms on
quirk "${QUIRK_RESET_BRIGHTNESS}" && reset_brightness
+ # always reset acpi_video_flag -- makes quirk testing more reliable.
+ sysctl -w kernel.acpi_video_flags=0
return 0 # avoid spurious hook exit failure message.
}