Enable irq wakeups

This is needed for crust to wake us up on an incoming call.

Thanks to smaeul in #crust for the tip.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
master
Serge E. Hallyn 4 years ago committed by Miles Alan
parent c94e58f6d2
commit 2cec0fc3be
  1. 7
      programs/sxmo_screenlock.c

@ -76,6 +76,13 @@ configuresuspendsettingsandwakeupsources()
"enabled" "enabled"
); );
// Enable IRQ wakeup source
fprintf(stderr, "Enable irq wakeup source\n");
writefile(
"/sys/devices/platform/gpio-keys/power/wakeup",
"enabled"
);
// Enable rtc wakeup source // Enable rtc wakeup source
fprintf(stderr, "Enable rtc wakeup source\n"); fprintf(stderr, "Enable rtc wakeup source\n");
writefile( writefile(

Loading…
Cancel
Save