From 472af2eeffc7e61d74b53449a07977e935a48767 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 27 Mar 2015 22:38:46 +0900 Subject: [PATCH] disable the wrong acpi wakeup events Signed-off-by: Nico Schottelius --- acpi-no-wakeup | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 acpi-no-wakeup diff --git a/acpi-no-wakeup b/acpi-no-wakeup new file mode 100755 index 0000000..55d2371 --- /dev/null +++ b/acpi-no-wakeup @@ -0,0 +1,6 @@ +#!/bin/sh +#echo EHC1 > /proc/acpi/wakeup +#echo EHC2 > /proc/acpi/wakeup +#echo XHC > /proc/acpi/wakeup + +awk '/enabled/ { print $1 }' /proc/acpi/wakeup > /proc/acpi/wakeup