您尚未登录。

楼主 #1 2020-07-14 15:56:57

大帅
会员
注册时间: 2019-01-17
已发帖子: 167
积分: 131.5

nano移植驱动ns2009,触摸测试效果有飞线

1. 使用内核的2007触摸驱动,
2. 填nano硬件i2c坑上拉电阻,
3. 触摸使用中断模式,跳线增加ns2009中断,使用PE3口,
4. buildroot编译tslib,

求解:
1.触摸测试的飞线,怎么解决?
2.测试的时候nano板子,发热特别厉害,是怎么回事?

手术后的nano:
000000.jpg

1测试写字:
11111111.jpg
2测试画圈:
222222222.jpg
3测试画点:
33333333.jpg

离线

#2 2020-07-14 16:02:45

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,378
积分: 1902
个人网站

Re: nano移植驱动ns2009,触摸测试效果有飞线

改这个文件: /etc/ts.conf

# Access plugins
################

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# For other driver modules, see the ts.conf man page


# Filter plugins
################

# Uncomment if first or last samples are unreliable
# module skip nhead=1 ntail=1

# Uncomment if needed for devices that measure pressure
module pthres pmin=1

# Uncomment if needed
# module debounce drop_threshold=40

# Uncomment if needed to filter spikes
# module median depth=5

# Uncomment to enable smoothing of fraction N/D
# module iir N=6 D=10

# Uncomment if needed
# module lowpass factor=0.1 threshold=1

# Uncomment if needed to filter noise samples
module dejitter delta=100

# Uncomment and adjust if you need to invert an axis or both
# module invert x0=800 y0=480

# Uncomment to use ts_calibrate's settings
module linear

把被屏蔽的 module 启动起来,并且逐个修改参数,慢慢测试试一试。

话说F1C100s自带的RTP外设默认就把这些飞点和抖动都处理好了,非常的流畅。





离线

楼主 #3 2020-07-14 16:07:12

大帅
会员
注册时间: 2019-01-17
已发帖子: 167
积分: 131.5

Re: nano移植驱动ns2009,触摸测试效果有飞线

谢谢大佬,俺试试

离线

#4 2020-07-14 16:13:28

ich_ss
会员
注册时间: 2020-07-14
已发帖子: 2
积分: 2

Re: nano移植驱动ns2009,触摸测试效果有飞线

感谢分享,先看一下,以后能用得上

离线

#5 2020-08-26 10:25:49

小熊猫
会员
注册时间: 2020-05-21
已发帖子: 71
积分: 65.5

Re: nano移植驱动ns2009,触摸测试效果有飞线

哇酷小二 说:

改这个文件: /etc/ts.conf

# Access plugins
################

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# For other driver modules, see the ts.conf man page


# Filter plugins
################

# Uncomment if first or last samples are unreliable
# module skip nhead=1 ntail=1

# Uncomment if needed for devices that measure pressure
module pthres pmin=1

# Uncomment if needed
# module debounce drop_threshold=40

# Uncomment if needed to filter spikes
# module median depth=5

# Uncomment to enable smoothing of fraction N/D
# module iir N=6 D=10

# Uncomment if needed
# module lowpass factor=0.1 threshold=1

# Uncomment if needed to filter noise samples
module dejitter delta=100

# Uncomment and adjust if you need to invert an axis or both
# module invert x0=800 y0=480

# Uncomment to use ts_calibrate's settings
module linear

把被屏蔽的 module 启动起来,并且逐个修改参数,慢慢测试试一试。

话说F1C100s自带的RTP外设默认就把这些飞点和抖动都处理好了,非常的流畅。


挖酷小哥,f1c100s自带RTP 的驱动论坛里有人调好了吗

离线

#6 2020-08-26 10:28:05

哇酷小二
wechat微信:whycan_cn
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,378
积分: 1902
个人网站

Re: nano移植驱动ns2009,触摸测试效果有飞线

小熊猫 说:

挖酷小哥,f1c100s自带RTP 的驱动论坛里有人调好了吗

荔枝派Nano电阻触摸屏(RTP)使用主线内核无法进中断,大神帮忙看一下
http://whycan.cn/t_2143.html#p23352
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)





离线

#7 2020-08-26 10:30:22

有梦的地方
会员
注册时间: 2020-03-17
已发帖子: 284
积分: 284

Re: nano移植驱动ns2009,触摸测试效果有飞线

哇酷小二 说:

荔枝派Nano电阻触摸屏(RTP)使用主线内核无法进中断,大神帮忙看一下
http://whycan.cn/t_2143.html#p23352
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)

f1c自带的rtp外设内置了滤波器,都可以不需要软件滤波了,基本没有飞点。

离线

页脚

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

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