TheChrisP wrote: 
> Ok, thanks a lot ! I installed this tslib version, and redid the
> calibration. However:
> 
> >   >   > 
  - Debounce is not helping and not changing the weird touchscreen
  > behavior.
  - Linear module is still needed to transform the touch coordinates
  > to screen coordinates and to make ts_test to work
  - For a strange reason, the upper line is not accessible, I cannot
  > get a y < 23. And during calibration, the 4 first crosses are a bit
  > away from the border. In ts_test, I almost cannot use the 3 top
  > button (Draw, Drag, Quit).
  > > > 
> 
> So in my case, I'm very sorry to say that instead of fixing the issue
> it had another one :/
> 
> I still do not get what could explain the behavior between 3.2.2 and
> 3.5.0.
> 
> Looking at the commits on
> https://github.com/ralph-irving/tcz-libts/commits/master, should I
> understand that the tslib is the same between pcp 3.2.2 and pcp 3.5.0
> ?
> 
> [edit]
> 
> I made a test to rename the files you provided to me (libts.tcz and
> libts.tcz.md5.txt) and replace them by those coming in 3.2.2 pcp.
> > 
Code:
--------------------
  >   >  ls -al libts*
  > -rw-rw-r--    1 tc       staff        53248 Sep 24  2017 libts.tcz
  > -rw-rw-r--    1 tc       staff        65536 May  9 17:53 libts.tcz.35
  > -rw-rw-r--    1 tc       staff           44 Sep 24  2017 libts.tcz.md5.txt
  > -rw-rw-r--    1 tc       staff           44 May  9 17:53 
libts.tcz.md5.txt.35
  > -rw-rw-r--    1 tc       staff           44 May 12 16:51 
libts.tcz.md5.txt.test
  > -rw-rw-r--    1 tc       staff        86016 May 12 16:51 libts.tcz.test
  > 
  > md5sum -c libts.tcz.md5.txt
  > libts.tcz: OK
--------------------
> > 
> 
> The behavior is then the same as 3.5.0, I have to add module linear in
> ts.conf to have the touch coordinates translated to screen
> coordinates, and the release event (0 0 0 in ts_print_raw) is wrongly
> translated:
> 
> ts_print_raw:
> 1526147535.564343:   3258   2754     73
> 1526147535.570558:   3267   2748     77
> 1526147535.576772:   3294   2762    110
> 1526147535.634452:      0      0      0
> 
> 
> ts_print:
> 1526147540.977815:    170    249     81
> 1526147540.984025:    169    249     81
> 1526147540.993065:    170    250     81
> 1526147541.054452:    503    -24      0
> 
> This values (503 -24 0) are always the same on realease event,
> whatever the touch position on the screen was before the release, and
> change only a bit if I do a calibration again.
> 
> 
> Well, I have to admit I don't get it, at all ...

I've applied the fix from my libts sources so you can calibrate to the
screen edge, new tcz is on dropbox.
I'm surprised the ts_calibrate issue has not been fixed in the master
libts repo.

I don't know why you're getting the weird release coordinates and
without the same screen it's hard to even help.
Perhaps one of the 'other tslib modules'
(https://github.com/kergoth/tslib/blob/master/README.md) might help.

Using the default ts.conf in the dropbox tcz this is the results from
the official rpi 7" screen.

$ ts_print
1526216837.887737:    293    211    255
1526216838.167722:    293    211      0
1526216839.527724:    294    209    255
1526216839.777719:    294    209      0

$ ts_print_raw
1526217072.217732:    375    257    255
1526217072.697721:      0      0      0
1526217073.257725:    366    258    255
1526217073.697731:      0      0      0
1526217074.137734:    362    258    255
1526217074.537721:      0      0      0



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=108852

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to