您尚未登录。

楼主 #1 2019-07-08 16:43:39

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

edt_ft5x06在屏幕触摸的过程中出现unable to fetch data error -5

在运行QT的过程了 我定义了一个QLabel  然后我拖动这个QLabel  就会出现下面这个问题 我拖动的过程中只是改变QLabel的位置

aule1=== 0 vaule2 5
MoveCon[   83.303626] input_mt_report_slot_state
trol X== 0 Y === 5
[   83.313179] touchscreen_report_pos
[   83.318503] i2c i2c-0: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x2, status: 0x0, addr: 0x38, flags: 0x0
[   83.327746] edt_ft5x06 0-0038: Unable to fetch data, error: -5
[   83.337297] x=== 154 y===72 id === 0 down == 1
[   83.341776] input_mt_report_slot_state
[   83.345705] touchscreen_report_pos
[   83.349597] edt_ft5x06 0-0038: Unable to fetch data, error: -6

离线

#2 2019-07-08 16:53:20

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: edt_ft5x06在屏幕触摸的过程中出现unable to fetch data error -5

https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/edt-ft5x06.c

error = edt_ft5x06_ts_readwrite(tsdata->client,
                    sizeof(cmd), &cmd,
                    datalen, rdbuf);
    if (error) {
        dev_err_ratelimited(dev, "Unable to fetch data, error: %d\n",
                    error);
        goto out;
    }

https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/errno-base.h

#define    EPERM         1    /* Operation not permitted */
#define    ENOENT         2    /* No such file or directory */
#define    ESRCH         3    /* No such process */
#define    EINTR         4    /* Interrupted system call */
#define    EIO         5    /* I/O error */
#define    ENXIO         6    /* No such device or address */
#define    E2BIG         7    /* Argument list too long */
#define    ENOEXEC         8    /* Exec format error */

检查是不是硬件问题, 供电查起,电压, 波纹, 干扰 ...





离线

楼主 #3 2019-07-08 16:59:36

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: edt_ft5x06在屏幕触摸的过程中出现unable to fetch data error -5

如果是单纯的点击没有问题 就是在屏幕上面拖动的时候就有问题了  等下让硬件的来看看吧

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn