1. 使用SDK0301,使用TI EVM板子测试wayland-weston触摸屏,按照官方触摸屏校正文档操作校正后触摸还算准确,但在我们自己的板子上测试,发现校正后偏离很大,多次校正都是一样,距离0点越远的地方偏差越大,感觉校正数据跟桌面分辨率被放大了一样,附件是启动weston启动相关信息,求指点下,问题出现在哪?
2. 没有官方配置和移植waylany-weston相关文档,有的话,麻烦请给个连接或者上传一份。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
根据这个描述,再次校准的时候需要删除两个文件,这个步骤你做了吗
To trigger touchscreen re-calibration, both ws-calbration.rules files need to be deleted.
rm /etc/udev/rules.d/ws-calibrate.rules rm /run/media/mmcblk0p1/ws-calibrate.rules reboot
原地址:
http://processors.wiki.ti.com/index.php/How_to_Recalibrate_the_Touchscreen#Weston_based_Graphic_System
你的屏幕是800*600的?点到0原点的地方的坐标是0,0;点到最右上方呢?最上方的中间呢?
做些测试,确认下是不是触屏的分辨率方面设置有问题。
关于Wayland/Weston的资料
http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display?keyMatch=wayland%20weston&tisearch=Search-EN#Wayland.2FWeston
你好,Steven Liu,我是用的是10寸屏,分辨率在dts中设置了800*600,点到最右上方和最上方的中间都有较大偏差,坐标数值不知怎么打印出来看;怎么测试触屏的分辨率方面设置的问题?
在添加/etc/profile.d/wayland_env.sh调试debug:
export MESA_DEBUG=1 export EGL_LOG_LEVEL=debug export LIBGL_DEBUG=verbose export WAYLAND_DEBUG=1
后校正,/var/log/weston.log信息如附件所示