# No core files by default
#ulimit -S -c 0 > /dev/null 2>&1
export set HOME=/root
export set QTDIR=/opt/Qtopia
export set QPEDIR=/opt/Qtopia
export set KDEDIR=/opt/kde
export set QWS_KEYBOARD="TTY:/dev/tty1"
if [ -f /sys/devices/virtual/input/input0/uevent ] ; then
export set TSLIB_TSDEVICE=/dev/event0
export set TSLIB_CONFFILE=/etc/ts.conf
export set TSLIB_PLUGINDIR=/lib/ts
export set TSLIB_CALIBFILE=/etc/pointercal
export set QWS_MOUSE_PROTO="TPanel:/dev/event0
USB:/dev/mouse0"
else
export set QWS_MOUSE_PROTO="USB:/dev/mouse0"
fi
export set PATH=$QPEDIR/bin:$PATH
export set LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib
export set HOME=/root
export set QTDIR=/opt/Qtopia
export set QPEDIR=/opt/Qtopia
export set KDEDIR=/opt/kde
export set QWS_KEYBOARD="TTY:/dev/tty1"
if [ -f /sys/devices/virtual/input/input0/uevent ] ; then
export set TSLIB_TSDEVICE=/dev/event0
export set TSLIB_CONFFILE=/etc/ts.conf
export set TSLIB_PLUGINDIR=/lib/ts
export set TSLIB_CALIBFILE=/etc/pointercal
export set QWS_MOUSE_PROTO="TPanel:/dev/event0 USB:/dev/mouse0"
else
export set QWS_MOUSE_PROTO="USB:/dev/mouse0"
if [ -f /etc/pointercal ] ; then
echo only use mouse > tq2440_serial0
else
echo "1 0 1 0 1 1 65536" >/etc/pointercal
fi
fi
export set PATH=$QPEDIR/bin:$PATH
export set LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib
if [ -f /etc/pointercal ] ; then
qpe 1>/dev/null 2>/dev/null
else
ts_calibrate
qpe 1>/dev/null 2>/dev/null
fi
ts.conf代码:
# Uncomment if you wish to use the linux input layer event interface
module_raw input
# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie
# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi
# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00
# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600
# Uncomment if you're using a Hitachi Webpad
# module_raw mk712
# Uncomment if you're using an IBM Arctic II
# module_raw arctic2