Hello
I am running RPi 3B with Waveshare 5" (B) screen, piCorePlayer 4.
I can calibrate the screen properly with ts_calibrate and touch works correctly with ts_test, but then touch is away from touching point in Jivelite.
I use Grid Skin 800x480 to match the screen, but the issue seems to be similar also with other skins.
Any ideas what can be wrong?
Regards,
Results 1 to 10 of 72
-
2018-10-19, 13:51 #1
- Join Date
- Oct 2018
- Posts
- 18
Touch off with Jivelite/Waveshare 5" on piCorePlayer
-
2018-10-20, 14:54 #2
- Join Date
- Oct 2018
- Posts
- 18
Well, the issue was that jivelite was picking wrong parameters for display.
When I run:
sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb0 SDL_MOUSEDEV=/dev/input/event0 SDL_MOUSEDRV=TSLIB /opt/jivelite/bin/jivelite.sh &
it works correctly.
The correct parameters were the ones I provided when using ts_calibrate, and relevant information can be found with:
cat /proc/bus/input/devices
Now, how to persist these in jivelite.sh....
-
2018-10-20, 15:32 #3
excerpt from pcp_startup.sh
Code:# Alternative jivelite script, mainly used for waveshare devices. Located on persistent partition. (/mnt/mmcblk0p2 or partition where tce is located) if [ -x $TCEMNT/tce/jivelite.sh ]; then echo "${GREEN}Done.${NORMAL}" sudo -E -b $TCEMNT/tce/jivelite.sh >/dev/null 2>&1
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2018-10-20, 15:49 #4
- Join Date
- Oct 2018
- Posts
- 18
-
2018-10-20, 18:20 #5piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2018-10-26, 14:24 #6
- Join Date
- Oct 2018
- Posts
- 8
Wavesare 5" strange behavior
Hi.
I have similar problem with my display. It's 5 inch from Waveshare too. Making own start script for jivelite not solve my problem. When i touch the display cursor move to place of touch but there is no action. When I take my finger, cursor back to top left corner. Only place that take an action is that corner.
With standard start parameters touch is working good but the cursor does not match the touching place. Could you help me. What can i do else?
list of devices:
Code:cat /proc/bus/input/devices I: Bus=0003 Vendor=0eef Product=0005 Version=0110 N: Name="BYZHYYZHY By ZH851" P: Phys=usb-3f980000.usb-1.1.3/input0 S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:0EEF:0005.0001/input/input1 U: Uniq=gÂ380118Q681 H: Handlers=mouse0 event0 B: PROP=2 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=2608000 3 I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="ADS7846 Touchscreen" P: Phys=spi0.1/input0 S: Sysfs=/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input2 U: Uniq= H: Handlers=mouse1 event1 B: PROP=0 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=1000003
Code:sudo SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb0 SDL_MOUSEDEV=/dev/input/event0 SDL_MOUSEDRV=TSLIB /opt/jivelite/bin/jivelite.sh &
Last edited by korrus; 2018-10-27 at 02:48.
-
2018-10-27, 16:17 #7
- Join Date
- Oct 2018
- Posts
- 18
-
2018-10-27, 17:05 #8
- Join Date
- Oct 2018
- Posts
- 8
Wavesare 5" strange behavior
Yes i have done the calibration with ts_calibrate. I run ts_test and it was working fine. Only with jivelite is working strange.
If it helps i can make a movie and show you how it's behavior.
My display is 5inch HDMI LCD (B) rev 2.1
Software version is:
piCorePlayer v4.0.0 | linux 4.14.56-pcpCore_v7 | piCore v9.1pCP | Squeezelite v1.9.0-1113
-
2018-10-28, 04:20 #9
Did you backup your pcp config after calibrating the touch screen?
Ralphy
1-Touch, 5-Classics, 3-Booms, 1-UE Radio
Squeezebox client builds donations always appreciated.
-
2018-10-28, 05:59 #10
- Join Date
- Oct 2018
- Posts
- 8
Wavesare 5" strange behavior
No i don't make a backup.
My calibration file is OK. It have my last changes. it's not problem with calibration because cursor goes to place where i touch the screen. But when I lift my finger up cursor goes to the left up corner. Maybe I make a movie ant put on youtube to chow You what i am talking about. I think it's problem with touch drivers used by jivelite.
Here is first movie. Jivelite is started with params SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb0 SDL_MOUSEDEV=/dev/input/event0 SDL_MOUSEDRV=TSLIB
https://www.youtube.com/watch?v=gWPYXU835AA
Second movie is without params.
https://www.youtube.com/watch?v=yQI-pA9zssY
As you see when I add parameters touch is accurate but there is no action. Without parameters there is an action but touch is not accurate.
Have you any idea?Last edited by korrus; 2018-10-28 at 09:26.