当前位置: 首页 > article >正文

yocto 3.03 linux 5.4.24 weston 8.0 qt触摸屏问题

yocto 3.03 linux 5.4.24 weston 8.0

weston.log 相关错误描述,

可能你用的不是这个驱动,不要紧大意一样就可以按照这个修改;
触摸屏触电对应值的最大和最小设置的一样。均为0;导致不能触摸屏幕,所有在weston.ini 中设置的input无效!

[03:40:44.075] event0  - ADS7846 Touchscreen: is tagged by udev as: Touchscreen
[03:40:44.075] event0  - ADS7846 Touchscreen: kernel bug: device has min == max on ABS_PRESSURE
[03:40:44.076] event0  - ADS7846 Touchscreen: was rejected
[03:40:44.076] event0  - not using input device '/dev/input/event0'

相关解决方案

sec_touchscreen: kernel bug
event3 - sec_touchscreen: kernel bug: device has min == max on ABS_MT_PRESSURE from libinput debug-eventsThis message, which can be found in libinput debug-events indicates that the touchscreen driver in the kernel is misbehaving and that libinput won't accept the input.
In this case, solving the issue means patching the touchscreen driver, which will require you to modify your kernel code. While the device is running, figure out which driver is being used, perhaps by running find /sys -name "input*" or find /sys -name "event*", use grep in your kernel source to find the line line that contains input_set_abs_params(input_dev, ABS_MT_PRESSURE, 0, 0);, and comment it out. Rebuild the kernel and try again. See our patching guide for more information about how to make these changes correctly.

译后

sec_touchscreen:内核错误event3-sec_touchscreen:内核错误:设备的libinput调试事件在ABS_MT_PRESSURE上具有min == max
可以在中找到此消息,libinput debug-events指示内核中的触摸屏驱动程序行为异常,并且libinput将不接受输入。在这种情况下,解决此问题意味着修补触摸屏驱动程序,这将需要您修改内核代码。当设备运行时,弄清楚是哪个驱动程序正在使用,也许通过运行find /sys -name "input*"或者find /sys -name "event*",用grep在你的内核源代码,找到行包含线input_set_abs_params(input_dev, ABS_MT_PRESSURE, 0, 0);,并且其注释掉。重建内核,然后重试。有关如何正确进行这些更改的更多信息,请参见我们的补丁程序指南。

对应的驱动代码:

input_set_abs_params(data->input_dev, ABS_MT_POSITION_X,	 0, data->pdata->max_x - 1, 0, 0);	
input_set_abs_params(data->input_dev, ABS_MT_POSITION_Y,	 0, data->pdata->max_y - 1, 0, 0);	
input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, data->pdata->max_w, 0, 0);
#if IST30XX_JIG_MODEinput_set_abs_params(input_dev, ABS_MT_PRESSURE, 0, 0, 0, 0);
#endif

未完,待续。。。

http://www.lryc.cn/news/2413132.html

相关文章:

  • 易宝支付银行接口,各参数
  • 菜鸟小技巧:如何在网上隐藏自己的IP地址(1)
  • CF 题解
  • 202312C语言二级真题
  • query.uniqueResult()
  • CSS 实现 10 种现代布局,你都会了吗
  • gwt-ext搭建环境
  • 从ASM磁盘中还原出文件(一)
  • pages 元素(ASP.NET 设置架构)web.config 详解
  • 游戏商城任务书
  • 计算机维修常识
  • 操作系统上机5:理发店问题
  • 江科大STM32最全笔记整理『上篇』
  • “永恒之蓝”(Wannacry)蠕虫全球肆虐 安装补丁的方法
  • MyEclipse6.0.1自动生成注册码
  • 【Cocos2d-html5游戏引擎学习笔记(6)】自定义Cocos2d-html5加载资源Loading界面
  • 5个炫酷登录页面,拿去就能用(附源码)
  • 5大国外广告联盟赚美金项目,诱人的美金在向你招手!
  • EMQX 服务器搭建 使用python生产消费
  • 软件测试简历怎么写?可以参考这份简历
  • 免费的API端口有哪些 2024年免费的API端口汇总大全
  • 使用 Xcode Source Editor Extension开发Xcode 8 插件
  • SEO(Search Engine Optimization)搜索引擎优化
  • wavecn 2.0.0.5 正式版_关于iOS13.1正式版,你想知道的都在这里
  • 易客云天气API对接方法
  • 分享28个VX小程序源码,总有一款适合您
  • win7 微软语音服务器,win7 TTS修复工具(微软tts语音引擎修复)
  • WordPress页面时提示“Cannot modify header information - headers already sent”
  • 2014年年终总结
  • Android快速入门 基础知识,系统架构(快速开发第一个安卓应用程序)