[Gta04-owner] using the gta04 as an alarm clock

Andreas Kemnade andreas at kemnade.info
Thu Jul 26 22:14:35 CEST 2018


Hi,

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
current. So
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
by rtc.
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.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180726/958df3c5/attachment.asc>


More information about the Gta04-owner mailing list