OSDN Git Service
(root)
/
android-x86
/
device-generic-x86.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649e8f9
)
power: disable wakeup source from rtc
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 3 Sep 2014 09:26:57 +0000
(17:26 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 3 Sep 2014 09:26:57 +0000
(17:26 +0800)
Avoid the rtc waking up the system periodically.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
13f592d
..
e517176
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-135,6
+135,10
@@
function init_hal_lights()
function init_hal_power()
{
+ for p in /sys/class/rtc/*; do
+ echo disabled > $p/device/power/wakeup
+ done
+
# TODO
case "$PRODUCT" in
*)