Release Precise touchscreen calibration


My mistake, I meant /lib/modules/3.2.53/kernel/drivers/input/touchscreen

So, the new plan:

run md5sum `sudo modprobe -l ads7846`

if the output reads:

eb5e6c.............691   /lib/modules/3.2.53/kernel/drivers/input/touchscreen/ads7846.ko

then you have exactly the same driver as me. That means your touchscreen is really different from what I have, so you'd better stick with original tslib. Maybe you could collect the log from ts_calibrate (run sudo ts_calibrate > /tmp/logfile), but I'm not sure this will help.

If not, please send me the driver so I can take a look.
 
Last edited by a moderator:
My mistake, I meant /lib/modules/3.2.53/kernel/drivers/input/touchscreen


So, the new plan:


run md5sum `sudo modprobe -l ads7846`


if the output reads:


eb5e6c.............691   /lib/modules/3.2.53/kernel/drivers/input/touchscreen/ads7846.ko


then you have exactly the same driver as me. That means your touchscreen is really different from what I have, so you'd better stick with original tslib. Maybe you could collect the log from ts_calibrate (run sudo ts_calibrate > /tmp/logfile), but I'm not sure this will help.


If not, please send me the driver so I can take a look.
The driver is the same. Tried to create a logfile but I can't finish the calibration and the only way out of is a reset of my pandora... And after a reset the logfile is empty (wrote it to sdcard).
 
itami,

Uninstall my update and make a log with regular ts_calibrage. Also, please make a second log using ts_print_raw>logfile which runs in background during calibration.

BTW, I managed to get raw pressure on my touchscreen around 245-255. To have that much, I had to put 5 fingers on the screen and push with all 5 fingernails on it :) So yours is unusually sensitive (or maybe mine in unusually rough).

Shenmue, thank you! From what I can see in your pointercal, your touchscreen was quite precise as it is (I have several constants 10 times larger than yours).

Gandi, if you're reading this, I'm still waiting for your input.
 
Last edited by a moderator:
...
Gandi, if you're reading this, I'm still waiting for your input.
Sorry for being so late!

I was offline during easter (lots of family business to do ^_^ .

I'll send you something this evening (I'm at work ATM)...
 
itami,

Uninstall my update and make a log with regular ts_calibrage. Also, please make a second log using ts_print_raw>logfile which runs in background during calibration.

BTW, I managed to get raw pressure on my touchscreen around 245-255. To have that much, I had to put 5 fingers on the screen and push with all 5 fingernails on it :) So yours is unusually sensitive (or maybe mine in unusually rough).

Shenmue, thank you! From what I can see in your pointercal, your touchscreen was quite precise as it is (I have several constants 10 times larger than yours).

Gandi, if you're reading this, I'm still waiting for your input.
I hardly use any pressure to get 250... 

Can't run ts_calibrate (no such file) when your update is uninstalled.

ts_print:

1398172574.789554:   3936   3459    248

1398172574.878387:   3940   3459    248

1398172574.894958:   3938   3458    248

1398172574.911621:   3940   3459    248

1398172574.928283:   3938   3462    248

1398172575.061798:   3938   3462      0

1398172576.508462:   3692   3422    244

1398172576.528234:   3699   3426    245

1398172576.611571:   3699   3426    245

1398172576.628204:   3700   3425    245

1398172576.644867:   3698   3425    245

1398172576.663543:   3698   3425      0

1398172578.278135:   3639    558    247

1398172578.294854:   3639    552    247

1398172578.311483:   3639    549    247

1398172578.328142:   3636    557    246

1398172578.366679:   3636    557      0

1398172580.820906:   3885    585    246

1398172580.828202:   3891    584    246

1398172580.844624:   3892    582    246

1398172580.861289:   3893    571    246

1398172580.877954:   3892    552    246

1398172580.894619:   3892    533    246

1398172580.968201:   3892    533      0

1398172582.859815:   3807   2037    246

1398172582.877823:   3812   2036    248

1398172582.894489:   3812   2035    248

1398172582.927850:   3813   2040    248

1398172582.944515:   3811   2049    248

1398172582.968261:   3811   2049      0

1398172583.028442:   3811   2049      0
 
Gandi, itami,

I have updated the PND attached to the topic. Please run the old PND and uninstall the update before installing the new version

For Gandi, the issue should be solved. If the touch loss still happens, increase the maxdelay in /etc/ts.conf and you should be fine. Alternatively, you can set maxdelay to 0 to disable the pen_up feature altogether.

itami, please try to calibrate with the new version and report the results, especially if there is any benefit for you from this update.

Anyone with some free time is welcome to check out the new version and report any new bugs I may have introduced.
 
Last edited by a moderator:
Wow! :eek: Thanks a lot dimag0g! :)

I was not very optimistic that this was solvable in software (as you may have noticed from my PM ;) ).

I downloaded the new version at the breakfast table and did a quick test on my way to work:

Selecting units in Starcraft now works very well!

Even Kami Retro seems to be very playable now!

(I just have to be a little careful not to drag too quick).

This is a fantastic update that did improve touchscreen usability a lot for me... B)
 
Maybe I'm missing something, but how can I uninstall the old one ?

It asks only to "install" it, even if it's already there... I also tried again the calibration utility to have the confirmation it is installed

I've done and "Upgrade Pandora OS" yesterday, maybe something was messed up ?

EDIT: I reinstalled it and uninstalled, then tried the new one, seems it is good as the old one for me
 
Last edited by a moderator:
Wow, this is working wonders on my screen! :-D

Thanks a lot!  :wub:

You wouldn't by any chance have a magic cure for the nubs (going out of calibration after some minutes) as well? :ph34r:
 
So you have troubles with both nubs and touchscreen? How do you use mouse-driven interfaces on your unit?

BTW, sorry, my nubs are fine, so I have no idea how they work inside.
 
So you have troubles with both nubs and touchscreen? How do you use mouse-driven interfaces on your unit?
I bet danielm frequently recalibrates the nubs using the keyboard controls and lives on the temporary fix while they can.  I'm someone else who has learned to live with nubs like that and the touchscreen having the same kinds of problems that your calibration tool fixes.  By the way thanks for making this, I'm going to see if it helps me like it helped them the next time I play.
 
So you have troubles with both nubs and touchscreen? How do you use mouse-driven interfaces on your unit?
I bet danielm frequently recalibrates the nubs using the keyboard controls and lives on the temporary fix while they can.  I'm someone else who has learned to live with nubs like that and the touchscreen having the same kinds of problems that your calibration tool fixes.  By the way thanks for making this, I'm going to see if it helps me like it helped them the next time I play.
How can one re-calibrate with keyboard controls? All I know off is the "nub dance" and using the "reset nubs" option in the nub configuration (followed by a dance). Mine lose calibration frequently and after seconds to minutes :-(

And I'm still not sure if I will RMA my Pandora ... I made an LED-mod and installed a display-rest, both would make it difficult to re-assemble the unit (additional cables and less space in the hinge area). Well well ...
 
Might this help with the problem of a touch screen needing huge amounts of pressure? Guess I can try it and find out...
 
It seemed to make my touchscreen a little more responsive, but it wasn't really problematic in the first place...
 
Back
Top