Re: [SlimDevices: Unix] PiCorePlayer Raspberry Pi4 Waveshare 7'' touchscreen problem

2022-03-28 Thread Nonick


Managed to make this working but with 800x480 resolution for JiveLite. 
config.txt
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1

cat /proc/bus/input/devices | grep N:
name: WaveShare WS170120 Touchscreen

calibration works: sudo TSLIB_FBDEVICE=/dev/fb0
TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_calibrate
JiveLite forced start works: sudo SDL_VIDEODRIVER=fbcon
SDL_FBDEV=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 SDL_MOUSEDRV=TSLIB
/opt/jivelite/bin/jivelite

Default Waveshare 7'' resolution is 1024x600 - that is not working with
JiveLite.



Nonick's Profile: http://forums.slimdevices.com/member.php?userid=72701
View this thread: http://forums.slimdevices.com/showthread.php?t=116173

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


[SlimDevices: Unix] PiCorePlayer Raspberry Pi4 Waveshare 7'' touchscreen problem

2022-03-27 Thread Nonick


Hi!
I've set up PiCorePlayer on Raspberry Pi4. Everything seems running
fine, except Waveshare 7'' Touchscreen (with case, hdmi) is not working
properly.

This is the screen:
https://www.waveshare.com/wiki/7inch_HDMI_LCD_(H)_(with_case)
Added to config.txt
hdmi_force_hotplug=1 
config_hdmi_boost=10
hdmi_group=2 
hdmi_mode=87 
hdmi_cvt 1024 600 60 6 0 0 0

Stopped JiveLite temporary. 
command: cat /proc/bus/input/devices
command: sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0
/usr/local/bin/ts_calibrate
Calibration works fine, managed all 5 points of calibration.
Tested calibration command: sudo TSLIB_FBDEVICE=/dev/fb0
TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_test

Set JiveLite Autostart = On.
When PiCorePlayer boots, it displays language setup for JiveLite, but
touch is not working.
Tried with config.txt dtoverlay=kms, no success.

Has anyone managed to setup WaveShare 7inch touchscreen to work with
PiCorePlayer/JiveLite?
Thanks



Nonick's Profile: http://forums.slimdevices.com/member.php?userid=72701
View this thread: http://forums.slimdevices.com/showthread.php?t=116173

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