[Gta04-owner] using the gta04 as an alarm clock
andreas at kemnade.info
Thu Jul 26 22:14:35 CEST 2018
I just stumbled upon the fact that the device can be started by rtc
alarm. So you can use it as an alarm clock without having the suspend
1. turn off modem
2. rtcwake -m off -s seconds | -t time_t
And then you have to make sure that the device starts an alarm after
boot in that case. I do not know yet how to check that it was powered on
Maybe set file as a kind of flag before shutdown and then if present,
remove it and start the alarm.
Of course you should have a login with password, so you will not just
turn off the alarm.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Gta04-owner