6 Software
User Manual 41/374
6.3 TC1 - Wakeup
For the TC1 are the following sources for wakeup possible:
Wakeup by ignition
Wakeup by RTC alarm
High Level Hardware Access
/etc/init.d/scripts/shalt
This is a shell script which switches the self-
preservation (/proc/stw_shutdown/shalt) On/Off.
p1: defines what action should be done
< start >or < on >
sets the self-preservation on
< stop > or < off >
sets the self-preservation off
/etc/init.d/scripts/ysysd_daemon
This is a shell script which executes the system
daemon (/usr/local/bin/ysysd).
p1: defines what action should be done
< start >
executes /usr/local/bin/ysysd
< stop >
kills ysysd
/etc/init.d/scripts/wakeup
This is a shell script which handles the wakeup
reasons at start up and on shut down.
Wakeup reasons:
IGN .. System was started by ignition
RTC .. System was started by RTC
alarm
The wakeup reason can be read out from
/tmp/wakeup.
p1: defines what action should be done
< start >
reads the wakeup reason and writes it
to /tmp/wakeup
activates /proc/stw_shutdown/shalt
disables RTC-Alarm
disables Acceleration sensor wakeup
< stop >
Sets of the wakeup sources before the