• 4555阅读
  • 1回复

我在做devkit8000移植tslib1.4时出现了问题,请帮忙看看! [复制链接]

上一主题 下一主题
离线beckham009
 
只看楼主 倒序阅读 楼主  发表于: 2010-11-17
我在做devkit8000移植tslib1.4时出现了问题,请帮忙看看!

一: 软硬件
1. 主机:     ubuntu 8.04
2. 平台:          devkit8000(omap3530)
3. tslib-1.4
4. QT版本:        qtopia-core-opensource-src-4.3.5(http://www.qtcn.org/bbs/read.php?tid=3144&page=1&fpage=1
5. 交叉编译工具: arm-none-linux-gnueabi-2007q3
 
二: 移植tslib

1.
tar xzvf tslib-1.4.tar.gz
cd tslib/
export CC=arm-none-linux-gnueabi-gcc
export CXX=arm-none-linux-gnueabi-g++

2.
./autogen.sh
3.
echo "ac_cv_func_malloc_0_nonnull=yes" >arm-none-linux-gnueabi.cache

./configure --host=arm-none-linux-gnueabi --cache-file=arm-none-linux-gnueabi.cache --enable-inputapi=no PLUGIN_DIR=/home/zhaopan/tslib/plugins -prefix=/home/zhaopan/tslib/build -host=arm-none-linux-gnueabi --cache-file=arm-none-linux-gnueabi.cache 2>&1 | tee conf_log

4.
make 2>&1 | tee make_log
make install

5. 将/home/zhaopan/tslib/build/lib下除去pkgconfig目录外其他所有文件拷贝到开发板/lib目录下

6. 编辑/home/zhaopan/tslib/build/etc下的ts.conf如下,并拷贝到开发板的/etc下
module_raw input
module pthres pmin
module variance delta=30
module dejitter delta=100
module linear
7. 设置环境变量,
export TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/lib/ts

export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
=====================================================
(?????这里直接在超级终端export而不修改/etc/profile行不行?)
=======================================================
8.将/home/zhaopan/tslib/build/bin下的ts_calibrate考到SD卡qtopia/bin里
进入SD里的目录cd /media/mmcblk0p1/qtopia/bin
执行./ts_calibrate
=====================================
出现如下错误
Couldnt load module input
No raw modules loaded.
tsconfig: Success
这里export TSLIB_CONFFILE=/etc/ts.conf export TSLIB_PLUGINDIR=/lib/ts都设置了,为什么还是不对呢??

离线beckham009
只看该作者 1楼 发表于: 2010-11-18
等答案!!!!
快速回复
限100 字节
 
上一个 下一个