移植tslib时ts_setup: No such file or directory、ts_open: No such file or director

作者:Jack_G
时间:2021.04.20
版本:
上次修改时间:
批注:
移植tslib时ts_setup: No such file or directory、ts_open: No such file or director_第1张图片

$ ts_test_mt
ts_setup: No such file or directory


$ ts_test
ts_open: No such file or directory

在buildroot 里面勾选tslib编译后,还需要添加几个环境变量: /etc/profile文件
移植tslib时ts_setup: No such file or directory、ts_open: No such file or director_第2张图片


export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_TSDEVICE=/dev/input/event0(注意,这里为你自己的event)
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_PLUGINDIR=/usr/lib/ts

O了移植tslib时ts_setup: No such file or directory、ts_open: No such file or director_第3张图片

你可能感兴趣的:(Linux,嵌入式,arm)