summaryrefslogtreecommitdiff
path: root/pm/sleep.d/99video
diff options
context:
space:
mode:
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.
}