由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
PDA版 - 抱怨nook触摸屏的有救了
相关主题
nook hd+确实触屏不灵敏NOOK HD+ CM10最新战报
nook color cm7 播放youtube的问题nook hd emmc
拿到Nook Color了verygreen的源程序出来了
cm9 for tp alpha0.5cm10.1 nook hd+麦克风音量小
Nook HD CM10 development (sdcard) Updated 12/25nook hd emmc CarbonRom闪亮登场
NOOK HD+新ROM出来了. 12/12/31nook hd+ 刷了cm10.1后怎么mount sd卡?
HD+刷机的TX: aware of sandisk c10 ultra U1 cardscm正式支持nook hd/hd+
Nook HD+ CM10 1231也不行,老重启最新最好最强劲hd/hd+ cm10.1.2正式版
相关话题的讨论汇总
话题: 0038话题: ft5x06话题: i2c话题: sys话题: drivers
进入PDA版参与讨论
1 (共1页)
p*******m
发帖数: 20761
1
from verygreen
Ok, so regarding touchscreen, I uncovered this manual, that does not seem to
be 100% matching wrt defaults, but otherwise seems to be pretty much spot
on: http://newhavendisplay.com/app_notes/FT5x06.pdf
Now people that have issues can experiment with values and report their
findings and we might devise new defaults from it.
Registers are accessible from userspace too. The first table is controlled
by:
/sys/bus/i2c/drivers/ft5x06/3-0038/wmreg and /sys/bus/i2c/drivers/ft5x06/3-
0038/wmval
so in adb shell do echo 0xXX >/sys/bus/i2c/drivers/ft5x06/3-0038/wmreg (
replace XX with register number) to set register you are interested in
then you can do cat /sys/bus/i2c/drivers/ft5x06/3-0038/wmval to inspect the
value, or echo 0xXX >/sys/bus/i2c/drivers/ft5x06/3-0038/wmval to set the new
value.
cat /sys/bus/i2c/drivers/ft5x06/3-0038/tpreset seems to mostly reset
controller, but not to 100% default state.
If you screwed up, just press the power button twice (so suspend/resume) and
the thing will reset into the default state.
When experimenting with all of this, make sure your screen is actually on
too.
There's some sort of autocalibration that you can perform by doing cat /sys/
bus/i2c/drivers/ft5x06/3-0038/storecalibrateflash but I do not see any
change after it.
Anyway, what I found so far:
the 0x80 register controls touch sensitivity in a way, the smaller the value
, the higher the sensitivity. default 0x11, at 0x50 I can no longer register
any input, at 0x40 input is very sporadic. So people that complain about
oversensitivity might want to give this one a try.
There are registers for temperature compensation, water on the surface
compensation and such that I cannot seem to see make any difference, but it
might for others?
register 0xA0 for autocalibration, if you enable that - touchscreen goes
crazy with tons of phantom events, dong cat on tpreset stops it, but the ts
is still somewhat in weird state as you will be able to see if you decide to
try it.
Anyway, the documentation is very lightweight so there's a lot of
experimenting to be done by interested parties, please share your results!
1 (共1页)
进入PDA版参与讨论
相关主题
最新最好最强劲hd/hd+ cm10.1.2正式版Nook HD CM10 development (sdcard) Updated 12/25
求助:Nook HD+刷了unlocked stock不能装下载的apkNOOK HD+新ROM出来了. 12/12/31
nook hd+ 刷cm,浏览器闪退HD+刷机的TX: aware of sandisk c10 ultra U1 cards
verygreen的nook hd cm11太给力了Nook HD+ CM10 1231也不行,老重启
nook hd+确实触屏不灵敏NOOK HD+ CM10最新战报
nook color cm7 播放youtube的问题nook hd emmc
拿到Nook Color了verygreen的源程序出来了
cm9 for tp alpha0.5cm10.1 nook hd+麦克风音量小
相关话题的讨论汇总
话题: 0038话题: ft5x06话题: i2c话题: sys话题: drivers