嵌入式爱好者

解决OK335X系列开发板触摸不灵敏问题

2016-9-22 10:18| 发布者: admin| 查看: 1130| 评论: 0

类目: AM335x系列产品  >  Linux     文档编号: 69

问题描述:
在OK335x系列开发板触摸屏和鼠标同时使用时,触摸屏点击两次才有反应。现将解决方法分享给大家,同时我们会尽快更新产品资料。

解决办法:
在内核代码中修改
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index 518b137..7ae6d21 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -974,7 +974,8 @@ static int mousedev_connect(struct input_handler *handler,
        struct mousedev *mousedev;
        int minor;
        int error;
-
+       if(dev->name == "ft5x0x_ts")
+               return 0;
        for (minor = 0; minor < MOUSEDEV_MINORS; minor++)
                if (!mousedev_table[minor])
                        break;

已解决

未解决

只是看看

最新评论

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-19 08:47

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

返回顶部