• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Q] Touchscreen mirrored / inversed X- & Y-axis

Search This thread

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
URGENT, PLEASE HELP:
I bought a replacement digitizer/glass for my Acer Liquid E3 / E380 as it has been broken (only the glass) for months now. It has a different chip but has the Acer brand on top.
Problem: I placed the new digitizer and all touch is REVERSED / MIRRORED! Up is down and down is up. So Y-Axis (or X?!) must be reversed now

PLEASE help me (asap) to do this! A lot of people replacing their glass have this problem on the internet, and a lot of fixes are available. From script.bin methods to running calibration apps or modding kernels and/or installing other drivers or as simple as echo 1 > /sys/modules/tpd_settings/parameters/tpd_mode_axis or something like that somewhere like that?!

It is impossible to use my phone now, but ADB is working fine. Anyone who can give me the solution to fix by ADB (or Recovery)??

Edit: @cyclon1978 Is already helping me an awful LOT, in our big Acer E380 thread!
 
Last edited:
  • Like
Reactions: roky217

cyclon1978

Senior Member
Nov 27, 2008
529
337
URGENT, PLEASE HELP:
I bought a replacement digitizer/glass for my Acer Liquid E3 / E380 as it has been broken (only the glass) for months now. It has a different chip but has the Acer brand on top.
Problem: I placed the new digitizer and all touch is REVERSED / MIRRORED! Up is down and down is up. So Y-Axis (or X?!) must be reversed now

PLEASE help me (asap) to do this! A lot of people replacing their glass have this problem on the internet, and a lot of fixes are available. From script.bin methods to running calibration apps or modding kernels and/or installing other drivers or as simple as echo 1 > /sys/modules/tpd_settings/parameters/tpd_mode_axis or something like that somewhere like that?!

It is impossible to use my phone now, but ADB is working fine. Anyone who can give me the solution to fix by ADB (or Recovery)??

Edit: @cyclon1978 Is already helping me an awful LOT, in our big Acer E380 thread!

Ok, so i need your mtk-tpd info for all three buttons like described in the other thread.

Should look like

<4>[10963.246322] (0)[77:mtk-tpd] cinfo->x[0] = 150, cinfo->y[0] = 1400, cinfo->p[0] = 2, point_num=1

That is my first button as an example.

The mtk-tpd cinfo debug is the raw touchpanel data, so it is generated prior to the y axis invert.

so the "edge coordinates" and button coordinates will help to make it perfect.
 
Last edited:
  • Like
Reactions: roky217

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
New version: button recognition is unchanged (was included in swap in last version)
only coords in screen are swapped.

might work or not...

if something is still wrong:

adb shell su -c "cat /proc/kmsg" > dmesg.log
less dmesg.log|grep "mtp-tpd"

and there you see the touched coordinates.

... note x/y values for all visible screen edges, after that for each button center and give me the values...

Button 1 should be 150 / 1400
Button 2 should be 400 / 1400
Button 3 should be 580 / 1400

Screen should be from 0/0 up to 719/1279

http://d-h.st/Hvj

Before trying/edit:
YES, this seems getting better and better. You're almost my hero :good::good::good:
Touch is right on (just a tiny little off at the bottom) and working correct in the correct area.
Buttons though still not working and when pressed showing a touch at the screen bottom still.
Seems it still thinks the button area is also screen area though.

EDIT / After trying:
Finally a good way to see the coords! Thanks.
When I cat the /proc/kmsg and grep (filter) the "tpd", I get insight. The touchpad does seem to use 0/0 up to something like 719/1279 (I found values 0>719 and 1>1259, not 1279).
BUT when I only touch the screen area, we see a button area up to height (y) 80 or so, so Y minimum (screen) should be something like 80 (up to 1259).
Buttontests (x/y): Middle of Button 1 is 90/1, middle of Button 2 is 330/1 and middle of Button 3 is 627/1. So Y is always 1 for buttons!

When I move around in the black button area only, I do get values of Y under 80, but not a lot and not when I am ON a button:

<4>[ 2178.831029] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 0, point_num=1
<4>[ 2178.847929] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.862885] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.878251] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.892847] (1)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.909356] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.924311] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.939704] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.954418] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.971084] (0)[74:mtk-tpd] cinfo->x[0] = 11, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2178.986002] (1)[74:mtk-tpd] cinfo->x[0] = 13, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2179.001439] (1)[74:mtk-tpd] cinfo->x[0] = 14, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2179.016106] (1)[74:mtk-tpd] cinfo->x[0] = 15, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2179.076753] (1)[74:mtk-tpd] cinfo->x[0] = 15, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=0
<4>[ 2182.825984] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 0, point_num=1
<4>[ 2182.842912] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.857871] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.873577] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.887932] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.904536] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.919374] (1)[74:mtk-tpd] cinfo->x[0] = 719, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.934917] (1)[74:mtk-tpd] cinfo->x[0] = 716, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.949552] (0)[74:mtk-tpd] cinfo->x[0] = 715, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.966205] (0)[74:mtk-tpd] cinfo->x[0] = 713, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2182.981308] (0)[74:mtk-tpd] cinfo->x[0] = 711, cinfo->y[0] = 82, cinfo->p[0] = 2, point_num=1
<4>[ 2182.996754] (0)[74:mtk-tpd] cinfo->x[0] = 709, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2183.011409] (0)[74:mtk-tpd] cinfo->x[0] = 707, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2183.027829] (0)[74:mtk-tpd] cinfo->x[0] = 705, cinfo->y[0] = 84, cinfo->p[0] = 2, point_num=1
<4>[ 2183.043038] (0)[74:mtk-tpd] cinfo->x[0] = 703, cinfo->y[0] = 84, cinfo->p[0] = 2, point_num=1
<4>[ 2183.058292] (0)[74:mtk-tpd] cinfo->x[0] = 701, cinfo->y[0] = 84, cinfo->p[0] = 2, point_num=1
<4>[ 2183.072792] (0)[74:mtk-tpd] cinfo->x[0] = 698, cinfo->y[0] = 84, cinfo->p[0] = 2, point_num=1
<4>[ 2183.089563] (0)[74:mtk-tpd] cinfo->x[0] = 695, cinfo->y[0] = 85, cinfo->p[0] = 2, point_num=1
<4>[ 2183.104440] (0)[74:mtk-tpd] cinfo->x[0] = 691, cinfo->y[0] = 84, cinfo->p[0] = 2, point_num=1
<4>[ 2183.119953] (0)[74:mtk-tpd] cinfo->x[0] = 686, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2183.134621] (0)[74:mtk-tpd] cinfo->x[0] = 679, cinfo->y[0] = 82, cinfo->p[0] = 2, point_num=1
<4>[ 2183.151411] (0)[74:mtk-tpd] cinfo->x[0] = 672, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2183.166265] (0)[74:mtk-tpd] cinfo->x[0] = 663, cinfo->y[0] = 78, cinfo->p[0] = 2, point_num=1
<4>[ 2183.181754] (1)[74:mtk-tpd] cinfo->x[0] = 656, cinfo->y[0] = 75, cinfo->p[0] = 2, point_num=1
<4>[ 2183.196473] (0)[74:mtk-tpd] cinfo->x[0] = 649, cinfo->y[0] = 73, cinfo->p[0] = 2, point_num=1
<4>[ 2183.213058] (0)[74:mtk-tpd] cinfo->x[0] = 643, cinfo->y[0] = 71, cinfo->p[0] = 2, point_num=1
<4>[ 2183.227949] (0)[74:mtk-tpd] cinfo->x[0] = 636, cinfo->y[0] = 70, cinfo->p[0] = 2, point_num=1
<4>[ 2183.243369] (0)[74:mtk-tpd] cinfo->x[0] = 630, cinfo->y[0] = 68, cinfo->p[0] = 2, point_num=1
<4>[ 2183.258071] (0)[74:mtk-tpd] cinfo->x[0] = 625, cinfo->y[0] = 67, cinfo->p[0] = 2, point_num=1
<4>[ 2183.274698] (1)[74:mtk-tpd] cinfo->x[0] = 621, cinfo->y[0] = 66, cinfo->p[0] = 2, point_num=1
<4>[ 2183.289580] (0)[74:mtk-tpd] cinfo->x[0] = 618, cinfo->y[0] = 66, cinfo->p[0] = 2, point_num=1
<4>[ 2183.304982] (0)[74:mtk-tpd] cinfo->x[0] = 615, cinfo->y[0] = 66, cinfo->p[0] = 2, point_num=1
<4>[ 2183.319781] (0)[74:mtk-tpd] cinfo->x[0] = 610, cinfo->y[0] = 67, cinfo->p[0] = 2, point_num=1
<4>[ 2183.336316] (0)[74:mtk-tpd] cinfo->x[0] = 602, cinfo->y[0] = 68, cinfo->p[0] = 2, point_num=1
<4>[ 2183.351115] (0)[74:mtk-tpd] cinfo->x[0] = 593, cinfo->y[0] = 70, cinfo->p[0] = 2, point_num=1
<4>[ 2183.366643] (0)[74:mtk-tpd] cinfo->x[0] = 583, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=1
<4>[ 2183.381254] (0)[74:mtk-tpd] cinfo->x[0] = 572, cinfo->y[0] = 74, cinfo->p[0] = 2, point_num=1
<4>[ 2183.397921] (1)[74:mtk-tpd] cinfo->x[0] = 564, cinfo->y[0] = 77, cinfo->p[0] = 2, point_num=1
<4>[ 2183.412755] (1)[74:mtk-tpd] cinfo->x[0] = 555, cinfo->y[0] = 78, cinfo->p[0] = 2, point_num=1
<4>[ 2183.428279] (0)[74:mtk-tpd] cinfo->x[0] = 547, cinfo->y[0] = 79, cinfo->p[0] = 2, point_num=1
<4>[ 2183.442988] (0)[74:mtk-tpd] cinfo->x[0] = 540, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2183.459417] (0)[74:mtk-tpd] cinfo->x[0] = 534, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2183.474363] (0)[74:mtk-tpd] cinfo->x[0] = 528, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.489716] (0)[74:mtk-tpd] cinfo->x[0] = 522, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.504461] (1)[74:mtk-tpd] cinfo->x[0] = 514, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.521081] (1)[74:mtk-tpd] cinfo->x[0] = 508, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.535988] (1)[74:mtk-tpd] cinfo->x[0] = 500, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.551367] (0)[74:mtk-tpd] cinfo->x[0] = 492, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.565981] (0)[74:mtk-tpd] cinfo->x[0] = 483, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2183.582650] (0)[74:mtk-tpd] cinfo->x[0] = 474, cinfo->y[0] = 79, cinfo->p[0] = 2, point_num=1
<4>[ 2183.597547] (1)[74:mtk-tpd] cinfo->x[0] = 465, cinfo->y[0] = 78, cinfo->p[0] = 2, point_num=1
<4>[ 2183.612921] (0)[74:mtk-tpd] cinfo->x[0] = 455, cinfo->y[0] = 76, cinfo->p[0] = 2, point_num=1
<4>[ 2183.627721] (0)[74:mtk-tpd] cinfo->x[0] = 446, cinfo->y[0] = 74, cinfo->p[0] = 2, point_num=1
<4>[ 2183.873416] (0)[74:mtk-tpd] cinfo->x[0] = 419, cinfo->y[0] = 69, cinfo->p[0] = 2, point_num=1
<4>[ 2183.890067] (0)[74:mtk-tpd] cinfo->x[0] = 389, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2183.904930] (1)[74:mtk-tpd] cinfo->x[0] = 359, cinfo->y[0] = 61, cinfo->p[0] = 2, point_num=1
<4>[ 2183.920324] (1)[74:mtk-tpd] cinfo->x[0] = 347, cinfo->y[0] = 61, cinfo->p[0] = 2, point_num=1
<4>[ 2183.935024] (1)[74:mtk-tpd] cinfo->x[0] = 343, cinfo->y[0] = 62, cinfo->p[0] = 2, point_num=1
<4>[ 2183.951585] (1)[74:mtk-tpd] cinfo->x[0] = 342, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2183.966556] (1)[74:mtk-tpd] cinfo->x[0] = 341, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2183.981912] (1)[74:mtk-tpd] cinfo->x[0] = 340, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2183.996693] (1)[74:mtk-tpd] cinfo->x[0] = 338, cinfo->y[0] = 65, cinfo->p[0] = 2, point_num=1
<4>[ 2184.013309] (1)[74:mtk-tpd] cinfo->x[0] = 336, cinfo->y[0] = 66, cinfo->p[0] = 2, point_num=1
<4>[ 2184.028147] (1)[74:mtk-tpd] cinfo->x[0] = 334, cinfo->y[0] = 67, cinfo->p[0] = 2, point_num=1
<4>[ 2184.043572] (1)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 69, cinfo->p[0] = 2, point_num=1
<4>[ 2184.058242] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 70, cinfo->p[0] = 2, point_num=1
<4>[ 2184.074892] (1)[74:mtk-tpd] cinfo->x[0] = 324, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=1
<4>[ 2184.089767] (1)[74:mtk-tpd] cinfo->x[0] = 319, cinfo->y[0] = 74, cinfo->p[0] = 2, point_num=1
<4>[ 2184.105123] (1)[74:mtk-tpd] cinfo->x[0] = 315, cinfo->y[0] = 75, cinfo->p[0] = 2, point_num=1
<4>[ 2184.119866] (1)[74:mtk-tpd] cinfo->x[0] = 309, cinfo->y[0] = 77, cinfo->p[0] = 2, point_num=1
<4>[ 2184.136444] (1)[74:mtk-tpd] cinfo->x[0] = 303, cinfo->y[0] = 78, cinfo->p[0] = 2, point_num=1
<4>[ 2184.151296] (1)[74:mtk-tpd] cinfo->x[0] = 298, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2184.166795] (1)[74:mtk-tpd] cinfo->x[0] = 292, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2184.181444] (1)[74:mtk-tpd] cinfo->x[0] = 287, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2184.198098] (1)[74:mtk-tpd] cinfo->x[0] = 282, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2184.212943] (1)[74:mtk-tpd] cinfo->x[0] = 276, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2184.228315] (0)[74:mtk-tpd] cinfo->x[0] = 270, cinfo->y[0] = 82, cinfo->p[0] = 2, point_num=1
<4>[ 2184.243015] (1)[74:mtk-tpd] cinfo->x[0] = 265, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.259566] (1)[74:mtk-tpd] cinfo->x[0] = 259, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.274559] (0)[74:mtk-tpd] cinfo->x[0] = 253, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.289889] (1)[74:mtk-tpd] cinfo->x[0] = 247, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.304626] (1)[74:mtk-tpd] cinfo->x[0] = 240, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.321345] (1)[74:mtk-tpd] cinfo->x[0] = 234, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.336107] (0)[74:mtk-tpd] cinfo->x[0] = 228, cinfo->y[0] = 83, cinfo->p[0] = 2, point_num=1
<4>[ 2184.351508] (0)[74:mtk-tpd] cinfo->x[0] = 221, cinfo->y[0] = 82, cinfo->p[0] = 2, point_num=1
<4>[ 2184.366200] (0)[74:mtk-tpd] cinfo->x[0] = 212, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2184.382904] (0)[74:mtk-tpd] cinfo->x[0] = 203, cinfo->y[0] = 80, cinfo->p[0] = 2, point_num=1
<4>[ 2184.397757] (1)[74:mtk-tpd] cinfo->x[0] = 194, cinfo->y[0] = 79, cinfo->p[0] = 2, point_num=1
<4>[ 2184.413126] (0)[74:mtk-tpd] cinfo->x[0] = 184, cinfo->y[0] = 76, cinfo->p[0] = 2, point_num=1
<4>[ 2184.505751] (0)[74:mtk-tpd] cinfo->x[0] = 167, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=1
<4>[ 2184.520572] (0)[74:mtk-tpd] cinfo->x[0] = 149, cinfo->y[0] = 68, cinfo->p[0] = 2, point_num=1
<4>[ 2184.536126] (0)[74:mtk-tpd] cinfo->x[0] = 130, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.550654] (1)[74:mtk-tpd] cinfo->x[0] = 119, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2184.567223] (1)[74:mtk-tpd] cinfo->x[0] = 112, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2184.582182] (1)[74:mtk-tpd] cinfo->x[0] = 106, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2184.597595] (1)[74:mtk-tpd] cinfo->x[0] = 103, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2184.612337] (1)[74:mtk-tpd] cinfo->x[0] = 101, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2184.628841] (1)[74:mtk-tpd] cinfo->x[0] = 100, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.643855] (1)[74:mtk-tpd] cinfo->x[0] = 99, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.659327] (0)[74:mtk-tpd] cinfo->x[0] = 99, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.673999] (0)[74:mtk-tpd] cinfo->x[0] = 98, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.690538] (0)[74:mtk-tpd] cinfo->x[0] = 98, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.705412] (0)[74:mtk-tpd] cinfo->x[0] = 98, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.720934] (1)[74:mtk-tpd] cinfo->x[0] = 97, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.735579] (0)[74:mtk-tpd] cinfo->x[0] = 97, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.752199] (0)[74:mtk-tpd] cinfo->x[0] = 96, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.767093] (0)[74:mtk-tpd] cinfo->x[0] = 96, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.782432] (0)[74:mtk-tpd] cinfo->x[0] = 96, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.797220] (1)[74:mtk-tpd] cinfo->x[0] = 95, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.813725] (1)[74:mtk-tpd] cinfo->x[0] = 95, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.828644] (1)[74:mtk-tpd] cinfo->x[0] = 94, cinfo->y[0] = 64, cinfo->p[0] = 2, point_num=1
<4>[ 2184.844121] (1)[74:mtk-tpd] cinfo->x[0] = 94, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2184.858845] (1)[74:mtk-tpd] cinfo->x[0] = 93, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=1
<4>[ 2185.503622] (1)[74:mtk-tpd] cinfo->x[0] = 93, cinfo->y[0] = 63, cinfo->p[0] = 2, point_num=0
<4>[ 2189.221552] (0)[74:mtk-tpd] cinfo->x[0] = 700, cinfo->y[0] = 73, cinfo->p[0] = 0, point_num=1
<4>[ 2189.268925] (0)[74:mtk-tpd] cinfo->x[0] = 699, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=1
<4>[ 2189.283654] (1)[74:mtk-tpd] cinfo->x[0] = 699, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=1
<4>[ 2189.300047] (1)[74:mtk-tpd] cinfo->x[0] = 696, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=1
<4>[ 2189.344548] (1)[74:mtk-tpd] cinfo->x[0] = 696, cinfo->y[0] = 72, cinfo->p[0] = 2, point_num=0
<4>[ 2189.438021] (0)[74:mtk-tpd] cinfo->x[0] = 622, cinfo->y[0] = 61, cinfo->p[0] = 0, point_num=1
<4>[ 2189.467853] (0)[74:mtk-tpd] cinfo->x[0] = 622, cinfo->y[0] = 61, cinfo->p[0] = 0, point_num=0
<4>[ 2189.545789] (0)[74:mtk-tpd] cinfo->x[0] = 557, cinfo->y[0] = 81, cinfo->p[0] = 0, point_num=1
<4>[ 2189.561756] (0)[74:mtk-tpd] cinfo->x[0] = 556, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2189.607975] (0)[74:mtk-tpd] cinfo->x[0] = 554, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=1
<4>[ 2189.668109] (1)[74:mtk-tpd] cinfo->x[0] = 554, cinfo->y[0] = 81, cinfo->p[0] = 2, point_num=0
<4>[ 2191.665557] (0)[74:mtk-tpd] cinfo->x[0] = 660, cinfo->y[0] = 60, cinfo->p[0] = 0, point_num=1
<4>[ 2191.727143] (0)[74:mtk-tpd] cinfo->x[0] = 653, cinfo->y[0] = 49, cinfo->p[0] = 2, point_num=1
<4>[ 2191.741799] (0)[74:mtk-tpd] cinfo->x[0] = 644, cinfo->y[0] = 31, cinfo->p[0] = 2, point_num=1
<4>[ 2191.758400] (0)[74:mtk-tpd] cinfo->x[0] = 633, cinfo->y[0] = 11, cinfo->p[0] = 2, point_num=1
<4>[ 2191.772461] (0)[74:mtk-tpd] cinfo->x[0] = 633, cinfo->y[0] = 11, cinfo->p[0] = 2, point_num=0
<4>[ 2191.865424] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1
<4>[ 2191.886150] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1
<4>[ 2191.897915] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1
<4>[ 2191.911800] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1
<4>[ 2191.926465] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1
<4>[ 2191.943060] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1
<4>[ 2191.957118] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0
 
Last edited:

cyclon1978

Senior Member
Nov 27, 2008
529
337
So...

your button area is y=1 and x=90/330/627

your screen area is y=0 up to 1279

That is odd, how can i differ between button area and screen if both use same coords... can you recheck if thats really the case?

---------- Post added at 03:34 PM ---------- Previous post was at 03:25 PM ----------

http://d-h.st/cwYt

Now i check if y = 1 > buttons else area with y flipped.

buttons x/y are changed to your coords...
 

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
So...

your button area is y=1 and x=90/330/627

your screen area is y=0 up to 1279

That is odd, how can i differ between button area and screen if both use same coords... can you recheck if thats really the case?

No I was talking about touch pad range (re-read my last post). This is it, just double checked:

Screen area: X = 0 - 719 & Y = around 80 - 1259 (NOT 1279)
Button 1: 89/1 (preferred) or 90/1
Button 2: 328/1 (preferred) or 330/1
Button 3: 627/1 (preferred) or 628/1

Here I press buttons 3 (right) then 2 (middle) then 1 (left) multiple times without looking:

<4>[ 3622.275578] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3622.286943] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.303121] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.317092] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.333584] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.348461] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.363933] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.378673] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.395400] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3622.409549] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3622.993269] (0)[74:mtk-tpd] cinfo->x[0] = 628, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3623.010135] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.025056] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.040474] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.055154] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.071772] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.086669] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.102129] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.116823] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.133420] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.148353] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.162998] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3623.593894] (1)[74:mtk-tpd] cinfo->x[0] = 628, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3623.608871] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.625452] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.640330] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.655796] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.670491] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.687108] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.702014] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.717447] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.732174] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3623.747890] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3624.747046] (0)[74:mtk-tpd] cinfo->x[0] = 628, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3624.762717] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.777455] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.794093] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.809030] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.824248] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.838932] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.855522] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.870400] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.886062] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3624.899911] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3625.746477] (0)[74:mtk-tpd] cinfo->x[0] = 628, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3625.764696] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.779853] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<6>[ 3625.789818] (0)[74:mtk-tpd][Power/Alarm] devalarm_hrthandler

<6>[ 3625.789848] (0)[74:mtk-tpd][Power/Alarm] devalarm_triggered type 3

<4>[ 3625.792997] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.808216] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.822889] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.839468] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.854392] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.870001] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.884714] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.901319] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.916283] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3625.930918] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3626.393134] (0)[74:mtk-tpd] cinfo->x[0] = 628, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3626.411295] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.423660] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.438334] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.454823] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.469691] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.485136] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.499976] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.516599] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.531527] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.546983] (0)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3626.560791] (1)[74:mtk-tpd] cinfo->x[0] = 627, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3627.913862] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3627.933375] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3627.945608] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3627.961083] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3627.975574] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3627.992191] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.007095] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.022507] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.037383] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.053940] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.068922] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.084382] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.098184] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3628.514495] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3628.529414] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.546082] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.560967] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.576184] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.590888] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.607501] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.622385] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.638051] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.652719] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.669300] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3628.683345] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3629.328655] (0)[74:mtk-tpd] cinfo->x[0] = 329, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3629.346353] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.363124] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.375892] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.390319] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.407260] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.422143] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.438053] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.452104] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.468775] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.483744] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3629.498320] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3630.497023] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3630.513863] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.528798] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.544179] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.558698] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.575298] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.590524] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.606572] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.620767] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.637301] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.651937] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.667457] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.682060] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3630.697834] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3631.112157] (0)[74:mtk-tpd] cinfo->x[0] = 329, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3631.132320] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.144063] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.159229] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.173968] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.190508] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.205505] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.220885] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.235546] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.252140] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.267077] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.281817] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3631.651327] (0)[74:mtk-tpd] cinfo->x[0] = 330, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3631.669473] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.685738] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.697816] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.713192] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.728187] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.744758] (0)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.759450] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.774797] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.789475] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3631.805285] (1)[74:mtk-tpd] cinfo->x[0] = 328, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3632.619789] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3632.638767] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.650271] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.666814] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.681545] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.696982] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.711663] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.728281] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.743347] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.758885] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.773596] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3632.789433] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3633.265160] (0)[74:mtk-tpd] cinfo->x[0] = 90, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3633.285391] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.296865] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.312288] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.326998] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.343539] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.358366] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.373798] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.388487] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.405075] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3633.419226] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3634.096171] (0)[74:mtk-tpd] cinfo->x[0] = 90, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3634.111828] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.126619] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.143144] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.157965] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.173315] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.188128] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.204772] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.219673] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.235060] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.249933] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.266586] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.280684] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3634.604071] (0)[74:mtk-tpd] cinfo->x[0] = 90, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3634.620866] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.637553] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.650345] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.665581] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.680367] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.696975] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.711940] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.727614] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.742224] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.758704] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.773628] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.789046] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3634.803043] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3635.203804] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3635.219531] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.234213] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.250847] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.265881] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.281176] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.295854] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.312468] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.327224] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.342667] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.356519] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

<4>[ 3635.649853] (0)[74:mtk-tpd] cinfo->x[0] = 90, cinfo->y[0] = 1, cinfo->p[0] = 0, point_num=1

<4>[ 3635.666236] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.682148] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.696479] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.711904] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.726600] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.743208] (0)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.758103] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.773433] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.788123] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=1

<4>[ 3635.803986] (1)[74:mtk-tpd] cinfo->x[0] = 89, cinfo->y[0] = 1, cinfo->p[0] = 2, point_num=0

 
Last edited:

cyclon1978

Senior Member
Nov 27, 2008
529
337
ok, so the buttons should work anyway with the ast version.

i can only set an exact value for the button, so you have to decide which of the two x-values for every button is "easier" or more intuitive/more centered.

can you reach every y coordinate? they should be slightly off, if you enable the display of coordinates in info/debug menu you should be off around 10% of screen size in y axis.

or is y working correctly?
 

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
So...

your button area is y=1 and x=90/330/627

your screen area is y=0 up to 1279

That is odd, how can i differ between button area and screen if both use same coords... can you recheck if thats really the case?

---------- Post added at 03:34 PM ---------- Previous post was at 03:25 PM ----------

http://d-h.st/cwYt

Now i check if y = 1 > buttons else area with y flipped.

buttons x/y are changed to your coords...

No, (so) this 4th kernel is a step back.
The height of every touch is still a tiny little off (1279 instead of 1259??) and when I now come below the screen, so INTO the button area, the pointer jumps to the TOP of the screen?!
All these posts and values are confusing me/us hahaha, re-read my last (corrected) posts please. Added preferred buttons too.

Ps. What do you think? Will I always have to use your customized kernel from now on? Also in other ROMs like CM 10.1?
Ps2. Will another ROM like CM 10.1 also need this customization, or can it work right away out of the box maybe?
Ps3. Maybe a good idea to post exactly WHAT you are doing/changing, and WHERE, so anyone (dev) can learn from this problem?
 
Last edited:

cyclon1978

Senior Member
Nov 27, 2008
529
337
Nope this 4th kernel is a step back.
The height of every touch is still a tiny little off (1279 instead of 1259??) and when I now come below the screen, so INTO the button area, the pointer jumps to the TOP of the screen?!
All these posts and values are confusing me/us hahaha, re-read my last (corrected) posts please. Added preferred buttons too.

Ps. What do you think? Will I always have to use your customized kernel from now on? Also in other ROMs like CM 10.1?
Ps2. Will another ROM like CM 10.1 also need this customization, or can it work right away out of the box maybe?
Ps3. Maybe a good idea to post exactly WHAT you are doing/changing, and WHERE, so anyone (dev) can learn from this problem?

http://d-h.st/PH0R

Now its button area 0-79
Screen area 80-1259.

Should be again off a little bit but better as before.

i still need to re- calculate (match 80-1259 to 0-1259 or something like that)

i will put the change to github when its done

you'll always need to use a kernel with this patch.

i need:

report if buttons are working
report if y axis is nearly correct (test on top, middle and bottom, should be differently off, try to descripe that)
 
  • Like
Reactions: hackwerk

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
http://d-h.st/PH0R

Now its button area 0-79
Screen area 80-1259.

Should be again off a little bit but better as before.

i still need to re- calculate (match 80-1259 to 0-1259 or something like that)

i will put the change to github when its done

you'll always need to use a kernel with this patch.

i need:

report if buttons are working
report if y axis is nearly correct (test on top, middle and bottom, should be differently off, try to descripe that)

Height is still a tiny bit off.
Pressing buttons again show a touch on the ultimate top of the screen.
 

cyclon1978

Senior Member
Nov 27, 2008
529
337
http://d-h.st/yw7O

i think i understood now how the buttons work...

what i am doing:

buttons if y < 80
BUT recalculate -> y+1399 (should give 1400 like with original touchpanel

screen if y >= 80
BUT inverse y; y = ((1260-y))

maybe i should do (y-80) (to have it in 0->1260 and divide through 1260 and multiply with 1280

so you would have

0 -> 1280 Screen
and 1400 Buttons

can you make shure the minimum for visible screen is 80 ?
the maximum for buttons is 79 ?
 
Last edited:
  • Like
Reactions: hackwerk

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
http://d-h.st/yw7O

i think i understood now how the buttons work...

what i am doing:

buttons if y < 80
BUT recalculate -> y+1399 (should give 1400 like with original touchpanel

screen if y >= 80
BUT inverse y; y = ((1260-y))

maybe i should do (y-80) (to have it in 0->1260 and divide through 1260 and multiply with 1280

so you would have

0 -> 1280 Screen
and 1400 Buttons

can you make shure the minimum for visible screen is 80 ?
the maximum for buttons is 79 ?

Hahahah this is getting science. My respect for you is big my man!

But no, this kernel 6 aint it:
Height still the tiny off, and buttons now do nothing (no touch nowhere).

Yes all is double checked, although I cannot find the exact division line of the screen and buttons, but 80 is my most accurate guess.

Edit: Isnt the config/values for this other brand of chipset/digitizer to be found/copied from elsewhere instead of re-inventing our wheel?!
 
Last edited:

cyclon1978

Senior Member
Nov 27, 2008
529
337
Hahahah this is getting science. My respect for you is big my man!

But no, this kernel 6 aint it:
Height still the tiny off, and buttons now do nothing (no touch nowhere).

Yes all is double checked, although I cannot find the exact division line of the screen and buttons, but 80 is my most accurate guess.

Edit: Isnt the config/values for this other brand of chipset/digitizer to be found/copied from elsewhere instead of re-inventing our wheel?!

http://d-h.st/RY3A

This should be it, i forgot you have other x koords for buttons after display switch...

---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------

are your button-positions different with new glass? they should because the x position is so different but the min max for x is same... ( i mean "real position" on the glass)

if i would know your brand i might get the driver... but you dont know the brand/phone your display is from?

---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------

that's last version for today, i will continue tomorrow ;)
 
  • Like
Reactions: hackwerk

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
http://d-h.st/RY3A

This should be it, i forgot you have other x koords for buttons after display switch...

---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------

are your button-positions different with new glass? they should because the x position is so different but the min max for x is same... ( i mean "real position" on the glass)

if i would know your brand i might get the driver... but you dont know the brand/phone your display is from?

---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------

that's last version for today, i will continue tomorrow ;)

:good::good: YEEEEHAAAAAAAAAAAAAAAAAAAAAAA! Y O U A R E K I N G! :good::good:

Buttons ARE WORKING, and touch also is good, not perfect though:

The height is still the tiny bit off. Can we fix this? This is annoying...
Touch shows a few mm above my finger, so top of the screen is reachable, but things in the bottom of the screen are not.
It seems relative (not 1 same absolute difference at all heights)! The difference is small at the top, and starts to get bigger from the middle of the visible screen.
If i touch the ultimate bottom of the screen edge, the touch shows on/just above the top row of the 3x3 small white dots within the big green All Apps circle in the bottom middle.
In other words, touching at the top area shows half the touch dot (as if my nail is touching)(other half is covered by my finger). At the bottom area the whole touch dot is shown with a distance of 1mm above my finger/nail.

(Glass/hardware is EXACTLY the same as original, only another chip layout (and different chip?) on the connection ribbon!)

Ps. Do you have a donation system or an address I can send my flowers to? :D
 
Last edited:

cyclon1978

Senior Member
Nov 27, 2008
529
337
The difference between finger and screen is 0 on top and growing toward bottom?

Gesendet von meinem E380 mit Tapatalk

---------- Post added at 05:31 PM ---------- Previous post was at 05:28 PM ----------

If you enable debug / input / overlay you can tell me the max and min y you reach

Gesendet von meinem E380 mit Tapatalk
 

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
The difference between finger and screen is 0 on top and growing toward bottom?

Gesendet von meinem E380 mit Tapatalk

---------- Post added at 05:31 PM ---------- Previous post was at 05:28 PM ----------

If you enable debug / input / overlay you can tell me the max and min y you reach

Gesendet von meinem E380 mit Tapatalk

Yes it is. Re-read my last edited post.

Y starts at 1 (screen top) and 1179 is the highest value (lowest of the visible screen) I can hit (and then it jumps to 1476 (?!) in the button area).
X is correct from 0 to 719.

The bottom line (blue line)(at Y = 1179) is displayed on exactly the top of space bar in my slided up Google keyboard.
 
Last edited:

cyclon1978

Senior Member
Nov 27, 2008
529
337
http://d-h.st/RQBH

Changes:

Y is always mapped to 1400 if in range 0..79 (you have to test if a press above the buttons on the line to visible screen causes a button press then it must be adjustet.

Y is recalculated now so everything in visible screen should be fine or at least equally off (maybe by 1 pixel)

Where have you bought the replacement part? Is it stated as "original e3 PLUS" screen or maybe an e3 standard version screen and there is a difference...
 

hackwerk

Senior Member
Jan 7, 2010
426
106
Amsterdam
http://d-h.st/RQBH

Changes:

Y is always mapped to 1400 if in range 0..79 (you have to test if a press above the buttons on the line to visible screen causes a button press then it must be adjustet.

Y is recalculated now so everything in visible screen should be fine or at least equally off (maybe by 1 pixel)

Where have you bought the replacement part? Is it stated as "original e3 PLUS" screen or maybe an e3 standard version screen and there is a difference...

Nope :(
This kernel 8 is almost the same as the last. No differences but the max Y (bottom) now is 1195.

Phone is still hard to use, with (almost) no spacebar and no text input in WhatsApp etc. All in the bottom (only usable if I rotate my phone), and touch is still off. :/

The screen is sold on AliExpress (sorry) by Brothers, and is stated as a custom high quality screen (maybe not original, but with Acer brand and looks the same, but different chip layout).
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    THIS IS THE ONE! :D :D :D
    :good::good::good::good::good:

    Love you man, thanks for ALL your work and efforts!!

    Again: Maybe report exactly what/how you did, for others?
    And where can I check the digitizer chipset (version)? Whats yours (stock)?
    This kernel is your 7.19 custom one right, or is it stock kernel with this fix?

    diff --git a/mediatek/custom/common/kernel/touchpanel/focaltech/tpd_custom_fts.h b/mediatek/custom/common/kernel/touchpanel/focaltech/tpd_custom_fts.h
    index 7cbdbd0..e97aec3 100644
    --- a/mediatek/custom/common/kernel/touchpanel/focaltech/tpd_custom_fts.h
    +++ b/mediatek/custom/common/kernel/touchpanel/focaltech/tpd_custom_fts.h
    @@ -42,11 +42,16 @@
    #define TPD_POWER_SOURCE_CUSTOM MT65XX_POWER_LDO_VGP4
    #define TPD_I2C_NUMBER 0
    #define TPD_RES_X 720
    -#define TPD_RES_Y 1280
    +#define TPD_RES_Y 1260

    -#define TPD_WARP_Y(y) y
    +// y goes from 80 to 1259 -> 1180 is "resolution", original touchpad has 1280 resolution;
    +#define TPD_WARP_Y(y) (((((1260-y)) * 1280) / 1180)-1)
    #define TPD_WARP_X(x) x

    +// y is always 1 for buttons but should be 1400
    +// #define TPD_WARP_Y_BUTTONS(y) (y+1399)
    +#define TPD_WARP_Y_BUTTONS(y) 1400
    +
    /**************************step 2:virtual key*********************/
    #define TPD_HAVE_BUTTON // if have virtual key,need define the MACRO

    @@ -56,7 +61,8 @@
    //#define TPD_KEYS_DIM_QHD {{66,1000,60,TPD_BUTTON_HEIGH}, {418,1000,60,TPD_BUTTON_HEIGH}, {200,1000,60,TPD_BUTTON_HEIGH}, {300,1000,60,TPD_BUTTON_HEIGH}}
    //#define TPD_KEYS_DIM_FWVGA {{66,880,60,TPD_BUTTON_HEIGH}, {418,880,60,TPD_BUTTON_HEIGH}, {200,880,60,TPD_BUTTON_HEIGH}, {300,880,60,TPD_BUTTON_HEIGH}}
    #define TPD_KEYS { KEY_BACK, KEY_HOMEPAGE, KEY_MENU}
    -#define TPD_KEYS_DIM {{150,1400,20,10},{400,1400,20,10},{580,1400,20,10}}
    +#define TPD_KEYS_DIM {{89,1400,20,10},{328,1400,20,10},{627,1400,20,10}}


    /**************************step3: define func****************************************************/

    ---- SNIP -----
    diff --git a/mediatek/custom/common/kernel/touchpanel/focaltech/focaltech_driver.c b/mediatek/custom/common/kernel/touchpanel/focaltech/focaltech_driver.c
    index 0e8117c..66cad1d 100644
    --- a/mediatek/custom/common/kernel/touchpanel/focaltech/focaltech_driver.c
    +++ b/mediatek/custom/common/kernel/touchpanel/focaltech/focaltech_driver.c
    @@ -1131,8 +1134,8 @@ void tpd_enable_hallsensor_dov(u8 enable)
    for(i =0; i<point_num; i++)//only support 3 point
    {
    // tpd_down(cinfo.x, cinfo.y, cinfo.id);
    - if(cinfo.y>TPD_RES_Y) //button area
    - tpd_down(cinfo.x, cinfo.y, cinfo.id);
    + if(cinfo.y<80) //button area
    + tpd_down(cinfo.x, TPD_WARP_Y_BUTTONS(cinfo.y), cinfo.id);
    else //lcd area
    tpd_down(TPD_WARP_X(cinfo.x), TPD_WARP_Y(cinfo.y), cinfo.id);
    }
    @@ -1142,8 +1145,8 @@ void tpd_enable_hallsensor_dov(u8 enable)
    else
    {
    //tpd_up(cinfo.x[0], cinfo.y[0]);
    - if(cinfo.y[0]>TPD_RES_Y) //button area
    - tpd_up(cinfo.x[0], cinfo.y[0]);
    + if(cinfo.y[0]<80) //button area
    + tpd_up(cinfo.x[0], TPD_WARP_Y_BUTTONS(cinfo.y[0]));
    else //lcd area
    tpd_up(TPD_WARP_X(cinfo.x[0]), TPD_WARP_Y(cinfo.y[0]));
    //TPD_DEBUG("release --->\n");

    ---------- Post added at 03:48 PM ---------- Previous post was at 03:45 PM ----------

    So for other's: i just changed the driver to map the "wrong" readings from new touchpanel to the readings from original touchpanel (swap y; remap range and button position)

    it would also be possible to try to find the right chip id for the touchpanel and change it in the focaltech driver, but maybe it is not even a focaltech.... and without that info it would require several builds with all variants (and you can still miss the correct chip if it's not in acer kernel source)

    ---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------

    This kernel is this one:

    https://github.com/cyclon1978/e380_kk_kernel/commits/master

    So you're the only one with the new features (a little bit gpu overclock, some debugging removed, optimizations) but these features give no really big performance increase.

    ---------- Post added at 04:07 PM ---------- Previous post was at 03:50 PM ----------

    The chip version is only known by the manufacturer of the touch screen, so you can ask them (i doubt they'll forward your question to the factory)

    but i could build 10 kernels to test the right version assuming it is focaltech and one of these:

    /*Chip Device Type*/
    #define IC_FT5X06 0 /*x=2,3,4*/
    #define IC_FT5606 1 /*ft5506/FT5606/FT5816*/
    #define IC_FT5316 2 /*ft5x16*/
    #define IC_FT6208 3 /*ft6208*/
    #define IC_FT6x06 4 /*ft6206/FT6306*/
    #define IC_FT5x06i 5 /*ft5306i*/
    #define IC_FT5x36 6 /*ft5336/ft5436/FT5436i*/

    oh, you can test in the device test (manufacturer menu) if you still have 5 multi touch points like in original screen. that would rule out 2 of the chips...
    1
    URGENT, PLEASE HELP:
    I bought a replacement digitizer/glass for my Acer Liquid E3 / E380 as it has been broken (only the glass) for months now. It has a different chip but has the Acer brand on top.
    Problem: I placed the new digitizer and all touch is REVERSED / MIRRORED! Up is down and down is up. So Y-Axis (or X?!) must be reversed now

    PLEASE help me (asap) to do this! A lot of people replacing their glass have this problem on the internet, and a lot of fixes are available. From script.bin methods to running calibration apps or modding kernels and/or installing other drivers or as simple as echo 1 > /sys/modules/tpd_settings/parameters/tpd_mode_axis or something like that somewhere like that?!

    It is impossible to use my phone now, but ADB is working fine. Anyone who can give me the solution to fix by ADB (or Recovery)??

    Edit: @cyclon1978 Is already helping me an awful LOT, in our big Acer E380 thread!
    1
    URGENT, PLEASE HELP:
    I bought a replacement digitizer/glass for my Acer Liquid E3 / E380 as it has been broken (only the glass) for months now. It has a different chip but has the Acer brand on top.
    Problem: I placed the new digitizer and all touch is REVERSED / MIRRORED! Up is down and down is up. So Y-Axis (or X?!) must be reversed now

    PLEASE help me (asap) to do this! A lot of people replacing their glass have this problem on the internet, and a lot of fixes are available. From script.bin methods to running calibration apps or modding kernels and/or installing other drivers or as simple as echo 1 > /sys/modules/tpd_settings/parameters/tpd_mode_axis or something like that somewhere like that?!

    It is impossible to use my phone now, but ADB is working fine. Anyone who can give me the solution to fix by ADB (or Recovery)??

    Edit: @cyclon1978 Is already helping me an awful LOT, in our big Acer E380 thread!

    Ok, so i need your mtk-tpd info for all three buttons like described in the other thread.

    Should look like

    <4>[10963.246322] (0)[77:mtk-tpd] cinfo->x[0] = 150, cinfo->y[0] = 1400, cinfo->p[0] = 2, point_num=1

    That is my first button as an example.

    The mtk-tpd cinfo debug is the raw touchpanel data, so it is generated prior to the y axis invert.

    so the "edge coordinates" and button coordinates will help to make it perfect.
    1
    Nope this 4th kernel is a step back.
    The height of every touch is still a tiny little off (1279 instead of 1259??) and when I now come below the screen, so INTO the button area, the pointer jumps to the TOP of the screen?!
    All these posts and values are confusing me/us hahaha, re-read my last (corrected) posts please. Added preferred buttons too.

    Ps. What do you think? Will I always have to use your customized kernel from now on? Also in other ROMs like CM 10.1?
    Ps2. Will another ROM like CM 10.1 also need this customization, or can it work right away out of the box maybe?
    Ps3. Maybe a good idea to post exactly WHAT you are doing/changing, and WHERE, so anyone (dev) can learn from this problem?

    http://d-h.st/PH0R

    Now its button area 0-79
    Screen area 80-1259.

    Should be again off a little bit but better as before.

    i still need to re- calculate (match 80-1259 to 0-1259 or something like that)

    i will put the change to github when its done

    you'll always need to use a kernel with this patch.

    i need:

    report if buttons are working
    report if y axis is nearly correct (test on top, middle and bottom, should be differently off, try to descripe that)
    1
    Flip-ScreenKernel:
    http://d-h.st/Evj4

    Can anyone show me a tutorial how to replace the screen? I dropped my device and the LCD ist broken in two pieces... (half working, half dark).