• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/x86


Commit MetaInfo

Revision0cfa9f516af3255f9e63a71caf680c7602e73ab5 (tree)
Zeit2014-09-03 18:26:57
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

power: disable wakeup source from rtc

Avoid the rtc waking up the system periodically.

Ändern Zusammenfassung

Diff

--- a/init.sh
+++ b/init.sh
@@ -135,6 +135,10 @@ function init_hal_lights()
135135
136136 function init_hal_power()
137137 {
138+ for p in /sys/class/rtc/*; do
139+ echo disabled > $p/device/power/wakeup
140+ done
141+
138142 # TODO
139143 case "$PRODUCT" in
140144 *)