Intermec ck1 Reference Guide

Page of 390
Appendix A — 
µClinux System 
CK1 SDK Programmer’s Reference Manual 
335 
The system resumes from Suspend mode when one of these events occurs: 
•  RTC wake up 
•  Remote wake up 
•  User action (press the power key) 
The window manager updates the system time and restarts the PPP server 
every time when the system resumes from Suspend mode.  
Mounted Partitions 
All the partitions are mounted under the main root file system in Linux. 
The root file system is a parameter of partition table that is 
/dev/mtdblock2 as default. The usrlocal partition is mounted in the 
/usr/local folder. The home partition is mounted in the /home folder. The 
config partition is mounted in the /etc/config folder. The RAM disk is 
mounted in the /var folder. Where the config, home, and RAM disk are all 
read/write partitions. Since the config and home are parts of NAND Flash, 
the file system is JFFS2. The RAM disk is using EXT2 file system. The 
data stored in RAM disk is unsafe during cold boot, but it is faster to 
modify it. The CK1 sends a signal before entering Suspend mode to tell 
the applications to store useful data to Flash. 
GUI System on the CK1 
Because the processors in the CK1 only run in 66MHz, the CK1 has its 
own widget, the October or OTK widget, which could be superior in 
performance in simpler microprocessors. The OTK widget set is similar in 
use to the GTK toolkit.  
The OTK widget library is based on the Nano-X server and its client API. 
It builds with an inherited-like idea. Since some cross compilers do not 
have C++ compiler, the widget library is using structures instead of classes. 
This idea is from the famous Linux widget library GTK. The library 
contains a lot of commonly used widgets.  
A window manager nanowm is launched when the CK1 boots. It gets the 
information from .icondata.ini with a search path of /home/data, 
/var/local/data, /usr/local/data folders. Once it has found what it is looking 
for, the window manager stops searching the rest and uses it as the 
configure file. The icons image should be placed at the same directory, too. 
The format should be as the following for each icon. 
[IconName] 
setting=groups,b_image_file,s_image_file,title,exec_path,exec_argv[] 
where:  groups 
means which index of groups the icon should 
appear. Multi groups should separated by “:”. 
b_image_file  means the big icon file name. It should start with 
b and without the .eii suffix.