~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Added info on crond - took me a while to figure out why sxmo_rtcwake.sh did not work

Details
Message ID
<20210916111739.61006-1-snauth@eml.cc>
DKIM signature
missing
Download raw message
Patch: +3 -2
---
 USERGUIDE.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/USERGUIDE.md b/USERGUIDE.md
index 27155ed..d6d3e2c 100644
--- a/USERGUIDE.md
+++ b/USERGUIDE.md
@@ -235,7 +235,9 @@ blinking stops and you will be kicked back into deep sleep mode. The purpose of
this 5 second timeout is so that if you accidently press the powerkey when the
phone is in your pocket, you won't inadvertently be kicked out of CRUST.

Sxmo ensures that cron jobs works, and will actively wake the phone from sleep temporarily to this end. We use a little
Sxmo ensures that cron jobs works, and will actively wake the phone from sleep temporarily to this end. 
The cron daemon is installed but not enabled in PostmarketOS, so it has to either be started manually 
``rc-service crond start`` or enabled ``rc-update add crond default``. We use a little
program called **mnc** to wake the phone up before the next planned cron job. We also wrap some sxmo logic in a
dedicated script called ``sxmo_rtcwake.sh`` which:

@@ -254,7 +256,6 @@ will run regardless of the lock state.

If you omit ``sxmo_rtcwake.sh`` for a job, the system will wake up and not go back to crust.


## **Calls and Texting**

Calling and texting is fully functional and should work out-of-the-box. Make
-- 
2.33.0
Details
Message ID
<87bl4qdpzx.fsf@momi.ca>
In-Reply-To
<20210916111739.61006-1-snauth@eml.cc> (view parent)
DKIM signature
pass
Download raw message
I use postmarketOS on most of my machines but I ran into this myself so
I think most users would appreciate the reminder!

I applied with some minor fixes.

To git.sr.ht:~mil/sxmo-docs
   e56657f..794a7b8  master -> master

Thanks!
Anjandev Momi
-- 
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt
Reply to thread Export thread (mbox)