- pm_states[PM_SUSPEND_MAX] suggests to support "standby" and not "suspend"
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 2 Jun 2008 11:01:40 +0000 (11:01 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 2 Jun 2008 11:01:40 +0000 (11:01 -0000)
  Thanks to Paulius Zaleckas for mentioning this.

util-linux/rtcwake.c

index 515f812b3052e45bf676f0b4e3e48f5127099127..2b2634f0ba3692de36bc8c852c51cca87383633d 100644 (file)
@@ -26,7 +26,7 @@
 
 #define SYS_RTC_PATH   "/sys/class/rtc/%s/device/power/wakeup"
 #define SYS_POWER_PATH "/sys/power/state"
-#define DEFAULT_MODE   "suspend"
+#define DEFAULT_MODE   "standby"
 
 static time_t rtc_time;