Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
No body an idea to dEbug based on this log? Tx tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
ralphy wrote: > It's easy and done. I rebuilt the current libts in pcp 5.x and 6.x beta > with debug enabled for the plugins. I have not tested it but the size > of the plugins are much larger than the non debug extension. > Whooh amazing! thanks ! I obtain the following when doing a calibration. It skips the Bottom-Right calibration step on the screen, despite the fact that it displays it properly on the debug logs > tc@piCorePlayer:/usr/local/bin$ sudo TSLIB_FBDEVICE=/dev/fb0 > TSLIB_TSDEVICE=/dev/input/event1 /usr/local/bin/ts_calibrate > tslib 1.16+ / libts ABI version 0 (0x00) > Release-Date: [unreleased] > Host OS: Linux, trying to open /dev/input/event1 > Loading module input > Loading module pthres (pmin=1) > Loading module variance (delta=30) > Loading module dejitter (delta=100) > Loading module linear > Linear calibration constants: 0 0 33554432 0 0 0 65536 > xres = 1024, yres = 600 > tslib input device: vendor 0xEEF product 0x5 version 0x110 on bus 0x3 > RAW-> 0 600 255 1579544428.624771 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 1579544428.640763 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 30 600 255 1579544428.656760 > TS_READ_RAW> x = 30, y = 600, pressure = 255 > RAW-> 30 600 255 1579544428.656773 > TS_READ_RAW> x = 30, y = 600, pressure = 255 > RAW-> 0 0 0 1579544428.672761 > TS_READ_RAW> x = 0, y = 0, pressure = 0 > Took 4 samples... > Top left : X = 15 Y = 600 > RAW-> 0 0 255 1579544428.688748 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 30 600 255 1579544428.704759 > TS_READ_RAW> x = 30, y = 600, pressure = 255 > RAW-> 0 600 255 1579544428.720755 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 1579544428.736750 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 30 600 255 1579544428.752756 > TS_READ_RAW> x = 30, y = 600, pressure = 255 > RAW-> 0 600 255 1579544428.768754 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 1579544428.784749 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 0 600 255 157958.704775 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 157958.720761 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 1017 600 255 157958.736768 > TS_READ_RAW> x = 1017, y = 600, pressure = 255 > RAW-> 1017 600 255 157958.736780 > TS_READ_RAW> x = 1017, y = 600, pressure = 255 > RAW-> 0 0 0 157958.752767 > TS_READ_RAW> x = 0, y = 0, pressure = 0 > Took 11 samples... > Top right : X =0 Y = 600 > RAW-> 0 0 255 157958.768755 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 1017 600 255 157958.784760 > TS_READ_RAW> x = 1017, y = 600, pressure = 255 > RAW-> 1017 600 255 157958.784773 > TS_READ_RAW> x = 1017, y = 600, pressure = 255 > RAW-> 0 0 0 157958.800766 > TS_READ_RAW> x = 0, y = 0, pressure = 0 > Took 3 samples... > Bot right : X = 1017 Y = 600 > RAW-> 0 0 255 157958.816757 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 1017 600 255 157958.832761 > TS_READ_RAW> x = 1017, y = 600, pressure = 255 > RAW-> 0 600 255 157958.848761 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 157958.864754 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 1017 600 255 157958.880758 > TS_READ_RAW> x = 1017, y = 600, pressure = 255 > RAW-> 0 600 255 157958.896754 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 157958.912749 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 0 600 255 1579544476.448768 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW-> 0 0 255 1579544476.464759 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 34 600 255 1579544476.480765 > TS_READ_RAW> x = 34, y = 600, pressure = 255 > RAW-> 34 600 255 1579544476.480779 > TS_READ_RAW> x = 34, y = 600, pressure = 255 > RAW-> 0 0 0 1579544476.496765 > TS_READ_RAW> x = 0, y = 0, pressure = 0 > Took 11 samples... > Bot left : X =0 Y = 600 > RAW-> 0 0 255 1579544476.512755 > TS_READ_RAW> x = 0, y = 0, pressure = 255 > RAW-> 34 600 255 1579544476.528762 > TS_READ_RAW> x = 34, y = 600, pressure = 255 > RAW-> 0 600 255 1579544476.544759 > TS_READ_RAW> x = 0, y = 600, pressure = 255 > RAW---
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
tparvais wrote: > Thank you for all that information. > > I've tried with > > > Code: > > module_raw waveshare vid_pid=0eef:0005 len=25 > > > > no success: ts_calibrate didn"'t react to touch anymore > > That's pitty that tslib and tools have not been compiled with DEBUG > mode available. Is that possible to compile this easily ? (never done > it on picoreplayer) > > Very few means to debug currently > > I'll keep working on it > > Thomas It's easy and done. I rebuilt the current libts in pcp 5.x and 6.x beta with debug enabled for the plugins. I have not tested it but the size of the plugins are much larger than the non debug extension. Code: tc@rpi4:~$ *ceo* tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *wget -O libts.tcz http://ralph-irving.users.sourceforge.net/pico/libts-debug.tcz* Connecting to ralph-irving.users.sourceforge.net (216.105.38.10:80) libts.tcz100% || 176k 0:00:00 ETA tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *wget -O libts.tcz.md5.txt http://ralph-irving.users.sourceforge.net/pico/libts-debug.tcz.md5.txt* Connecting to ralph-irving.users.sourceforge.net (216.105.38.10:80) libts.tcz.md5.txt100% || 44 0:00:00 ETA tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *md5sum -c libts.tcz.md5.txt* libts.tcz: OK tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *pcp br* 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¤cy_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=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
ralphy wrote: > It's already included in the libts extension. > > You need to modify /usr/local/etc/ts.conf and add a line > > module_raw waveshare > > You will also likely need to make other changes to the ts.conf file but > I can't really help you with that as I don't have that screen. > > Backup the pcp config and reboot. > > Here's the 'ts.conf man page' > (https://manpages.debian.org/unstable/libts0/ts.conf.5.en.html) > > The only bit of info I found on the waveshare modules was at the top of > the source code. > > > Code: > > * Usage: > * module_raw waveshare vid_pid=: len= > */ > > > > EDIT: Plus the info from the github site I referenced above. Thank you for all that information. I've tried with Code: module_raw waveshare vid_pid=0eef:0005 len=25 no success: ts_calibrate didn"'t react to touch anymore That's pitty that tslib and tools have not been compiled with DEBUG mode available. Is that possible to compile this easily ? (never done it on picoreplayer) Very few means to debug currently I'll keep working on it Thomas tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
tparvais wrote: > I was not aware of this driver. How can I load it on picoreplayer ? Is > it available on repository with tcz format ? > > Thomas It's already included in the libts extension. You need to modify /usr/local/etc/ts.conf and add a line module_raw waveshare You will also likely need to make other changes to the ts.conf file but I can't really help you with that as I don't have that screen. Backup the pcp config and reboot. Here's the 'ts.conf man page' (https://manpages.debian.org/unstable/libts0/ts.conf.5.en.html) The only bit of info I found on the waveshare modules was at the top of the source code. Code: * Usage: * module_raw waveshare vid_pid=: len= */ 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¤cy_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=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
ralphy wrote: > That really sounds like you need to make changes to ts.conf for your > touchscreen. > > What variations did you try in the ts.conf file? > > Did you try the waveshare driver that's included in the libts extension? > It's based on the original driver from > https://github.com/derekhe/waveshare-7inch-touchscreen-driver and is for > the waveshare 7" screen. I was not aware of this driver. How can I load it on picoreplayer ? Is it available on repository with tcz format ? Thomas tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
tparvais wrote: > Hello > > I strictly follow commands above. > Unfortunately, calibration process is still crazzy, same effect: > calibration steps for random corners are skipped , thus fails. > > Thank you That really sounds like you need to make changes to ts.conf for your touchscreen. What variations did you try in the ts.conf file? Did you try the waveshare driver that's included in the libts extension? It's based on the original driver from https://github.com/derekhe/waveshare-7inch-touchscreen-driver and is for the waveshare 7" screen. 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¤cy_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=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
ralphy wrote: > Good. First let's go back and try using the libts extension from pcp > 3.5 that was reported to work with the waveshare screen, albeit a > different model. > > You'll need to install the libcofi.tcz extension from the webgui as > well, since the older libts requires it but the latest one does not. > > https://forums.slimdevices.com/showthread.php?108852-Announce-piCorePlayer-3-5-0/page30 > > If the default ts.conf doesn't work, change it as described in 'post > 294' > (https://forums.slimdevices.com/showthread.php?108852-Announce-piCorePlayer-3-5-0&p=913574&viewfull=1#post913574), > save your configuration, reboot, confirm your ts.conf changes survived > the reboot and try to calibrate again. > > There is also a link to the documentation for the various libts modules > that may help. > > If this still doesn't work, I have one other libts extension we can try. Hello I strictly follow commands above. Unfortunately, calibration process is still crazzy, same effect: calibration steps for random corners are skipped , thus fails. Thank you Thomas PS: I tried Max2play, and it works without calibration. I wanted to be sure the screen is ok. But I don't wantto usemax2play, I prefer PC as I've already several pi's with PC. Thanks tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
Good. First let's go back and try using the libts extension from pcp 3.5 that was reported to work with the waveshare screen, albeit a different model. You'll need to install the libcofi.tcz extension from the webgui as well, since the older libts requires it but the latest one does not. https://forums.slimdevices.com/showthread.php?108852-Announce-piCorePlayer-3-5-0/page30 If the default ts.conf doesn't work, change it as described in 'post 294' (https://forums.slimdevices.com/showthread.php?108852-Announce-piCorePlayer-3-5-0&p=913574&viewfull=1#post913574), save your configuration, reboot, confirm your ts.conf changes survived the reboot and try to calibrate again. There is also a link to the documentation for the various libts modules that may help. If this still doesn't work, I have one other libts extension we can try. 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¤cy_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=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
ralphy wrote: > An older version of the libts extension might work. > > What is the contents of your libts.tcz.md5.txt and does it checksum ok? > > From an ssh login. Commands are bold. > > Code: > > > tc@rpi4:~$ *ceo* > tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *cat libts.tcz.md5.txt* > d22140cf0d8bca2eeddcccae3d3159f7 libts.tcz > tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *md5sum -c libts.tcz.md5.txt* > libts.tcz: OK > > > Hi yes MD5 is correct and aligned with above. Thomas tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
tparvais wrote: > Hello > > I understand well. I was looking for some ideas where to find/dig. I'm > pretty sure it's behind TS_LIB calibration. > PiCore TS_LIB tools version has been compiled with limited debug option. > > > I was ready to go further based on on our ideas where to investiguate. > Thank you > > Thomas An older version of the libts extension might work. What is the contents of your libts.tcz.md5.txt and does it checksum ok? >From an ssh login. Commands are bold. Code: tc@rpi4:~$ *ceo* tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *cat libts.tcz.md5.txt* d22140cf0d8bca2eeddcccae3d3159f7 libts.tcz tc@rpi4:/mnt/mmcblk0p2/tce/optional$ *md5sum -c libts.tcz.md5.txt* libts.tcz: OK 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¤cy_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=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
ralphy wrote: > Hi Thomas, > > I saw your post and as Paul stated we don't have the hardware so > troubleshooting is near impossible. We support the official rpi 7" > touchscreen. > Granted it's more expensive, but there are so many variations of the > waveshare screens and most require different configurations to get > working. Hello I understand well. I was looking for some ideas where to find/dig. I'm pretty sure it's behind TS_LIB calibration. PiCore TS_LIB tools version has been compiled with limited debug option. I was ready to go further based on on our ideas where to investiguate. Thank you Thomas tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
tparvais wrote: > Weird that noboby tries this screen as waveshare is quite common for > touchscreen. > > yes I tested ts_test but it does not work as the pointercal values are > NOK. the tool is displayed on the screen byt impossible to draw > anything. > > I contacted Ralphy by PM, He's my last solution > > > Thomas Hi Thomas, I saw your post and as Paul stated we don't have the hardware so troubleshooting is near impossible. We support the official rpi 7" touchscreen. Granted it's more expensive, but there are so many variations of the waveshare screens and most require different configurations to get working. 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¤cy_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=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
paul- wrote: > Since none of us have the hardware, we cant troubleshoot. Have you > tried the tstest stuff? Looks like the screen is not giving you good > values. > > Ralphy knows the tslib stuff better than most. Weird that noboby tries this screen as waveshare is quite common for touchscreen. yes I tested ts_test but it does not work as the pointercal values are NOK. the tool is displayed on the screen byt impossible to draw anything. I contacted Ralphy by PM, He's my last solution Thomas tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
Since none of us have the hardware, we can’t troubleshoot. Have you tried the tstest stuff? Looks like the screen is not giving you good values. Ralphy knows the tslib stuff better than most. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
paul- wrote: > Odd that you have 2 different input devices listed. Have you tried > /dev/input/event5 Hi When I tried to use the other event (BYZHYYZHY By ZH851 Mouse), the ts_calibrate does not react when I press the screen I'm stuck... Any idea where I can get support ? Thank you tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
Odd that you have 2 different input devices listed. Have you tried /dev/input/event5 piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
Hi Thomas Interesting observation and problem. I don't know the answer, but I hope someone does, because I'm interested in this matter ... /Claus cfuttrup's Profile: http://forums.slimdevices.com/member.php?userid=32784 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite
Hello I've moved this message from an other thread to a new thread as this is concerning 7'' screen waveshare. I have the touchscreen 7'' Waveshare HDMI LCD (C) on a raspberrypi 3B with PicorePlayer 5.0 I adapted pcp_startup.sh accordingly to use *BYZHYYZHY By ZH851 Touchscreen* as identifier. I: Bus=0003 Vendor=0eef Product=0005 Version=0110 N: Name="BYZHYYZHY By ZH851 Mouse" P: Phys=usb-3f98.usb-1.4/input0 S: Sysfs=/devices/platform/soc/3f98.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0EEF:0005.0004/input/input6 U: Uniq=c0U585P865 H: Handlers=mouse1 event5 js0 B: PROP=0 B: EV=1b B: KEY=7 0 0 0 0 0 0 0 0 B: ABS=3 B: MSC=10 I: Bus=0003 Vendor=0eef Product=0005 Version=0110 N: Name="*BYZHYYZHY By ZH851 Touchscreen*" P: Phys=usb-3f98.usb-1.4/input0 S: Sysfs=/devices/platform/soc/3f98.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0EEF:0005.0004/input/input7 U: Uniq=c0U585P865 H: Handlers=mouse2 *event6* B: PROP=0 B: EV=1b B: KEY=401 0 1 0 0 0 0 0 0 0 0 B: ABS=100 3 B: MSC=10 in config.txt, I've added the following Code: max_usb_current=1 hdmi_group=2 hdmi_mode=87 hdmi_cvt 1024 600 60 6 0 0 0 hdmi_drive=1 Everything works fine for display, except the touchpad feature. only top-left corner seems ok. I cannot press anything on Jivelite. I must use a mouse to configure and use jivelite. So I presume I shall calibrate the touchscreen. I did the following: Code: sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event6 /usr/local/bin/ts_calibrate I see the crosshair. It seems the calibration process does not work well: sometimes it does not pass via all the corners points and jumps directly to the end. Thus the calibration file pointercal is not good. Here is my ts.conf file: Code: # Access plugins # Uncomment if you wish to use the linux input layer event interface module_raw input # For other driver modules, see the ts.conf man page # Filter plugins # Uncomment if first or last samples are unreliable # module skip nhead=1 ntail=1 # Uncomment if needed for devices that measure pressure #module pthres pmin=1 #module variance delta=30 # Uncomment if needed module debounce drop_threshold=500 # Uncomment if needed to filter spikes # module median depth=5 # Uncomment to enable smoothing of fraction N/D # module iir N=6 D=10 # Uncomment if needed # module lowpass factor=0.1 threshold=1 # Uncomment if needed to filter noise samples #module dejitter delta=100 # Uncomment and adjust if you need to invert an axis or both # module invert x0=800 y0=480 #module invert x0=1024 y0=600 # Uncomment to use ts_calibrate's settings module linear I tried to use different values, no effect. I tried to calibrate by pressing very fast the screen to pass successfully to 5 area and I got this: Code: tc@piCorePlayer:/usr/local/bin$ sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event6 /usr/local/bin/ts_calibrate xres = 1024, yres = 600 Took 4 samples... Top left : X = 16 Y = 600 Took 11 samples... Top right : X =0 Y = 600 Took 10 samples... Bot right : X =0 Y = 600 Took 8 samples... Bot left : X =0 Y = 600 Took 18 samples... Center : X =0 Y = 600 ts_calibrate: determinant is too small -- 0.00 Calibration failed. Sometimes, when it skips some calibration corners, the file is properly generated but of course the parameters are wrong. So I'm stuck. is there an alternative to generate this pointercal config file ? to calibrate this screen ? I've done some search on this forum and abroad without finding the right calibration parameters. any idea to solve that problem ? Thank you and happy new year to all ! Thomas PS: i tried this touchsreen on Standard Raspbian desktop OS and it works like a charm without any config except config.txt tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=111447 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix