主题 : qtopia 2.2.0 觸摸屏下能用???????????????? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2033
精华: 0
发帖: 14
金钱: 140 两
威望: 122 点
综合积分: 28 分
注册时间: 2008-10-20
最后登录: 2009-06-18
楼主  发表于: 2008-12-08 00:39

 qtopia 2.2.0 觸摸屏下能用????????????????

Please press Enter to activate this console. Could not read calibration: /etc/pointercal
Cannot open touchscreen /dev/ts (No such file or directory)


---------------------------  /etc/init.d/rcS ----------------------------------
#! /bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel

#
#      Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#
trap ":" INT QUIT TSTP
/sbin/hwclock -s

#SCSI modules

#Charactor modules

/bin/mknod /dev/pts/0 c 136 0
/bin/ln -s /dev/v4l/video0 /dev/video0
/bin/ln -s /dev/fb/0 /dev/fb0
/bin/ln -s /dev/vc/0 /dev/tty1
/bin/ln -s /dev/sound/dsp /dev/dsp
/bin/ln -s /dev/sound/mixer /dev/mixer
/bin/ln -s /dev/scsi/host0/bus0/target0/lun0/part1 /dev/sda1
ln -s /dev/input/tsraw0 /dev/h3600_tsraw

/bin/mount -t proc none /proc
/bin/mount -t tmpfs none /tmp
/bin/mount -t tmpfs none /var

/bin/mkdir -p /var/lib
/bin/mkdir -p /var/run
/bin/mkdir -p /var/log

/etc/rc.d/init.d/netd start
echo "                        " > /dev/vc/0
echo "Starting networking..." > /dev/vc/0
usleep 300000
/etc/rc.d/init.d/httpd start
echo "                        " > /dev/vc/0
echo "Starting web server..." > /dev/vc/0
usleep 300000
/etc/rc.d/init.d/leds start
echo "                        " > /dev/vc/0
echo "Starting leds service..." > /dev/vc/0
echo "                        "
usleep 300000

/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 192.168.1.230 up

/bin/qtopia &
echo "                                  " > /dev/vc/0
echo "Starting Qtopia, please waiting..." > /dev/vc/0

/bin/hostname -F /etc/sysconfig/HOSTNAME
------------------------------ end of /etc/init.d/rcS -------------------------------------------
---------------------- /bin/qtopia --------------------------
#!/bin/sh

export set HOME=/root
export set QTDIR=/opt/qt
export set QPEDIR=/opt/qtopia
export set KDEDIR=/opt/kde
export set QWS_KEYBOARD="USB:/dev/input/event1"
export set QWS_MOUSE_PROTO="TPanel:/dev/touchscreen/0"
export set PATH=$QPEDIR/bin:$PATH
export set LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib
$QPEDIR/bin/qpe
--------------------- end of /bin/qtopia ----------------------

不知道為何不能用, 但原有的root_qtopia_tp.img 卻沒有問題??????????