]> git.openpandora.org Git - openpandora.oe.git/commitdiff
op_power: add rtc reload on resume
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Oct 2013 22:37:40 +0000 (01:37 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Oct 2013 22:37:40 +0000 (01:37 +0300)
recipes/pandora-system/pandora-scripts-wifi.bb
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_power.sh

index 75b54ab57b075f9ac0cc36f20f02f1dbce462264..0c933723d27c0da72eb2bcc62501e069674faeea 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "pandora-scripts"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = " \
           file://op_wifi.sh \
index aa925e1d96ecbc02517e7872cd35d82143061c29..c410ddac48b446be7b732efc28352f35e965cce9 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r147"
+PR = "r148"
 
 SRC_URI = " \
           file://op_paths.sh \
index f6e3fee6965ecdf43573695bf68d127fba427e11..461ecb38ee921c086f524373b722a6db6bf26e77 100644 (file)
@@ -217,6 +217,10 @@ Please do not remove SD cards while pandora is suspended, doing so will corrupt
                done
        fi
 
+       # it has been reported that time sometimes drifts during suspend
+       # so we reload hwclock here (WizardStan)
+       hwclock -u -s
+
        display_on
        resume_net
        echo $highpow > /sys/class/leds/pandora\:\:power/brightness