Xyzzy wrote: > For my Waveshare screen: > > cat /proc/bus/input/devices -> find right parameters to use below (like > fbx, eventy) > > sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 > /usr/local/bin/ts_calibrate > optional: sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 > /usr/local/bin/ts_test > > Find jivelite.sh in the filesystem, copy to > $TCEMNT/tce/jivelite.sh (/mnt/mmcblk0p2/tce/jivelite.sh in my case) > > Add next to other exports (use your own values) in the copied > jivelite.sh: > export SDL_VIDEODRIVER=fbcon > export SDL_FBDEV=/dev/fb0 > export SDL_MOUSEDEV=/dev/input/event0 > export SDL_MOUSEDRV=TSLIB > > Make piCore backup. > > Reboot
Hello I have the following 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-3f980000.usb-1.4/input0 S: Sysfs=/devices/platform/soc/3f980000.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=70000 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-3f980000.usb-1.4/input0 S: Sysfs=/devices/platform/soc/3f980000.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 tried to calibrate with Code: -------------------- sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event6 /usr/local/bin/ts_calibrate -------------------- When I tried a test with ts_test, it does not work: the pointer does not move. I've seen in PDF document dtoverlay command has been also set, but I don't know what to use in my case any idea to solve that problem ? Thank you and happy new year to all ! Thomas ------------------------------------------------------------------------ tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix