[Miscellaneous Android Development] bigrammy:
Hi bro :highfive:

Yes I think there maybe some confusion going on in the script of this ROM and I probably have well I do have more questions than answers :laugh:

I think I may have tracked things down a little but for the life of me I can't see how CWM or for that matter TWRP gets any of the touch screen information passed from the device :confused:

I thought it maybe just a matter of telling the recovery where to look or what ports or pins to listen on but I can't see anything relating to that in the code [MENTION=5186178]carliv[/MENTION] posted :confused:

I maybe showing my ignorance about what makes these recoverys tick now :silly: but I never got passed simply porting until now :laugh:

I have read everything https://source.android.com/devices/input/index.html here and of course our device has nothing where they say things should be but do even the recoverys follow this protocol :confused: If they did then it would seem to be a fairly easy fix with just a few system links but I guess it's not that simple or someone would have done it already. :(

I think the problem lays in the naming of the touch screen eg the kernel thinks it's called one thing and the ROM thinks its another so the Kernel is just ignoring the device during in boot up.

Searching the Kernel with HEX I get 2 GT9 hits now these may well be just a chance letters number combo that are together :eek:

I know for sure the touch is a GT9xxx but when you track back on devices bus ports it's only name Name is mtk-tpd I can find no reference to the gt9xx

in words just the crappy vendor =0000 which could be any be any device without a vendor id saying that :(

I get this for our touch panel. adb shell cat /proc/bus/input/devices

root@k01q_e:/ # cat /proc/bus/input/devices
cat /proc/bus/input/devices
I: Bus=0019 Vendor=2454 Product=6500 Version=0010
N: Name="mtk-kpd"
P: Phys=
S: Sysfs=/devices/bus.2/10010000.KP/input/input0
U: Uniq=
H: Handlers=gpufreq_ib event0 keychord
B: PROP=0
B: EV=3
B: KEY=80 180000 0 40000800 1c0840 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="hwmdata"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=gpufreq_ib event1
B: PROP=0
B: EV=5
B: REL=2

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ACCDET"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=gpufreq_ib event2 keychord
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="m_acc_input"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=gpufreq_ib event3
B: PROP=0
B: EV=9
B: ABS=107

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="m_alsps_input"
P: Phys=
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=gpufreq_ib event4
B: PROP=0
B: EV=d
B: REL=6
B: ABS=101

[COLOR="Red"]This one matches the gt9xx PID (Product ID) Vendor and Version numbers.
I: Bus=0000 Vendor=0000 Product=9157 Version=1040
N: Name="mtk-tpd"
P: Phys=
S: Sysfs=/devices/virtual/input/input5
U: Uniq=
H: Handlers=gpufreq_ib mouse0 event5
B: PROP=2
B: EV=b
B: KEY=400 0 0 0 0 1000 40000800 0 0 0 0
B: ABS=2630000 1000003[/COLOR]

I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="mtk-tpd-kpd"
P: Phys=
S: Sysfs=/devices/virtual/input/input6
U: Uniq=
H: Handlers=gpufreq_ib event6
B: PROP=0
B: EV=3
B: KEY=1000 40000800 0 0 0 0

root@k01q_e:/ #

Back to some more head scratching for me :eek: before you all fall asleep :laugh: