{tma463}touchpanel 谁有经验求分享.
时间:10-02
整理:3721RD
点击:
同型号手机,都是6589平台。触摸屏都是tma463.就是移动版和联通版RAM和ROM不同。编译kernel。联通版touch正常。移动版无效。实体按键是正常的.
移动版官方内核:
cat /proc/bus/input/devices
I: Bus=0019 Vendor=2454 Product=6575 Version=0010
N: Name="mtk-kpd"
P: Phys=
S: Sysfs=/devices/platform/mtk-kpd/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=3
B: KEY=180 180000 0 40000800 1c1ec0 0 0 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ACCDET"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event1
B: PROP=0
B: EV=3
B: KEY=80 0 78 0 40c0000 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="hwmdata"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event2
B: PROP=0
B: EV=5
B: REL=2
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="cyttsp4_mt"
P: Phys=cyttsp4_mt.main_ttsp_core
S: Sysfs=/devices/platform/mt-I2C.0/i2c-0/0-001a/main_ttsp_core.cyttsp4_i2c_adapter/cyttsp4_mt.main_ttsp_core/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: PROP=2
B: EV=f
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: REL=0
B: ABS=7fffffff ffffffff
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="cyttsp4_btn"
P: Phys=cyttsp4_btn.main_ttsp_core
S: Sysfs=/devices/platform/mt-i2c.0/i2c-0/0-001a/main_ttsp_core.cyttsp4_i2c_adapter/cyttsp4_btn.main_ttsp_core/input/input4
U: Uniq=
H: Handlers=event4
B: PROP=0
B: EV=3
B: KEY=0
刷了自编译内核:
cat /proc/bus/input/devices
I: Bus=0019 Vendor=2454 Product=6500 Version=0010
N: Name="mtk-kpd"
P: Phys=
S: Sysfs=/devices/platform/mtk-kpd/input/input0
U: Uniq=
H: Handlers=event0 cpufreq
B: PROP=0
B: EV=3
B: KEY=80 180000 0 40000800 1c0840 0 0 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ACCDET"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event1 cpufreq
B: PROP=0
B: EV=3
B: KEY=80 0 78 0 40c0000 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="hwmdata"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event2 cpufreq
B: PROP=0
B: EV=5
B: REL=2
后面两个event飞了...
有什么方法么,还有这个触摸屏驱动目录在kernel/drivers/input/touchscreen/这个目录里.
源码ProjectConfig.mk里的CUSTOM_KERNEL_TOUCHPANEL = 是空的,我也木有填就直接编译
...原谅我是一个小白...
移动版官方内核:
cat /proc/bus/input/devices
I: Bus=0019 Vendor=2454 Product=6575 Version=0010
N: Name="mtk-kpd"
P: Phys=
S: Sysfs=/devices/platform/mtk-kpd/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=3
B: KEY=180 180000 0 40000800 1c1ec0 0 0 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ACCDET"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event1
B: PROP=0
B: EV=3
B: KEY=80 0 78 0 40c0000 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="hwmdata"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event2
B: PROP=0
B: EV=5
B: REL=2
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="cyttsp4_mt"
P: Phys=cyttsp4_mt.main_ttsp_core
S: Sysfs=/devices/platform/mt-I2C.0/i2c-0/0-001a/main_ttsp_core.cyttsp4_i2c_adapter/cyttsp4_mt.main_ttsp_core/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: PROP=2
B: EV=f
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: REL=0
B: ABS=7fffffff ffffffff
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="cyttsp4_btn"
P: Phys=cyttsp4_btn.main_ttsp_core
S: Sysfs=/devices/platform/mt-i2c.0/i2c-0/0-001a/main_ttsp_core.cyttsp4_i2c_adapter/cyttsp4_btn.main_ttsp_core/input/input4
U: Uniq=
H: Handlers=event4
B: PROP=0
B: EV=3
B: KEY=0
刷了自编译内核:
cat /proc/bus/input/devices
I: Bus=0019 Vendor=2454 Product=6500 Version=0010
N: Name="mtk-kpd"
P: Phys=
S: Sysfs=/devices/platform/mtk-kpd/input/input0
U: Uniq=
H: Handlers=event0 cpufreq
B: PROP=0
B: EV=3
B: KEY=80 180000 0 40000800 1c0840 0 0 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ACCDET"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=event1 cpufreq
B: PROP=0
B: EV=3
B: KEY=80 0 78 0 40c0000 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="hwmdata"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event2 cpufreq
B: PROP=0
B: EV=5
B: REL=2
后面两个event飞了...
有什么方法么,还有这个触摸屏驱动目录在kernel/drivers/input/touchscreen/这个目录里.
源码ProjectConfig.mk里的CUSTOM_KERNEL_TOUCHPANEL = 是空的,我也木有填就直接编译
...原谅我是一个小白...
MARK