使用荔枝派NANO开发板,编译配置触摸屏是可以的。但是放到LVGL上触摸屏总是不能用。
使用evtest测试发现只有ABS_Y坐标,不知道是那里设置的不对。
Event: time 42.000343, type 343 (?), code 0 (?), value 931748
Event: time 73401.000003, type 3 (EV_ABS), code 1 (ABS_Y), value 667
Event: time 21.000343, type 343 (?), code 0 (?), value 971768
Event: time 21.000344, type 344 (?), code 0 (?), value 10689
Event: time 42.000344, type 344 (?), code 0 (?), value 651737
Event: time 73401.000003, type 3 (EV_ABS), code 1 (ABS_Y), value 765
Event: time 32.000344, type 344 (?), code 0 (?), value 691819
Event: time 73401.065539, -------------- SYN_REPORT ------------
Event: time 21.000344, type 344 (?), code 0 (?), value 730688
Event: time 42.000345, type 345 (?), code 0 (?), value 131739
Event: time 73401.000003, type 3 (EV_ABS), code 1 (ABS_Y), value 3361
Event: time 21.000345, type 345 (?), code 0 (?), value 171766
Event: time 21.000345, type 345 (?), code 0 (?), value 210700
Event: time 42.000345, type 345 (?), code 0 (?), value 891726
Event: time 73401.000003, type 3 (EV_ABS), code 1 (ABS_Y), value 3603
Event: time 21.000345, type 345 (?), code 0 (?), value 930679
Event: time 42.000348, type 348 (?), code 0 (?), value 931752
Event: time 73401.000003, type 3 (EV_ABS), code 1 (ABS_Y), value 3823
Event: time 21.000348, type 348 (?), code 0 (?), value 970686
离线
内核编译选上: User level driver support
build root选上:> Target packages > Libraries > Hardware handling -tslib
进入系统运行:TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
在图上点完第一个校准点后程序就退出来了。显示:ts_read_raw:NO such file or directory
请帮忙看看是怎么回事。
离线
是的,用ts2007也是这个节点。cat 可以有数据
离线
使用中断了。不过设备树里没有配置。现在配置为NS2009
离线
已经试过了,一样的情况。我用musl编译的根文件系统,有关系吗?
离线
用musl编译编译的根文件系统不行。用uclib-ng是可以的
离线