MasterOfGizmo hat geschrieben: ↑27 Dez 2020, 11:28
You definitely have an odd set of Displays there. While I am sure the PCBs are the same as genuine Waveshare displays (they usually do 1:1 copies) the touch layer they use on top of the display may vary. What does the vendor say which driver to use?
Edit:
It's /usr/share/X11/xorg.conf.d/99-calibration.conf which has the option to swap the touch axes. Just change the paramter
From 1 to 0 or vice versa. This worked for me and broke the axes. So this should allow you to fix them.
Hi Master,
Appreciate you sharing the location, it got me closer but swapping the axis in the config file didn't work
this is strange as it did work in rasberry pi OS (hence the reason i wanted to find the config location )
I agree that these displays are a total pain, getting the right ones is hard as so many are unavailable or sold out, and ordering from ebay is a lucky dip what you actually get.
I now have two versions ( wish the MHS hi speed one worked ) and if there was more time i may go for the DSI compatible 5inch
https://www.waveshare.com/5inch-dsi-lcd.htm as that works with the rpi DSI connector (so you can use all gpio), has a backlight control, a better capacitive touch and does
not need a driver
As this is proving a such struggle the little boy got a toy drone for xmas instead of this Tx-Pi
this at least gives me a short extension as his birthday is 14th Jan and as he now has the drone I need to get this into a fit state to be his present !
So I rebuilt a fresh image with the recommended buster image and tried as peter suggested to install the tx-pi setup script with the NODISP option, this part seemed to work but there was no way to install the screen drivers afterwards
i tried it the other way round
fresh image
enable SSH
sudo raspi-config
apt get-update & apt-get upgrade
then installed the screen drivers
this part worked ok ( though i had to install git manually ) and their seemed to be some errors
I then
and ran the setup scrip with NODISP as peter suggested
we are now close (hopefully)
1) the txt CFW came up after boot which was good
2) but the orientation was landscape not portrait
3) there was no display utility in the config app in system
4) so I edited the Config.txt in the boot directory to change the display from 90 to 180
5) the touch screen was still wrong ( x axis was ok , Y was inverted) off so I ran the TS-Sal App in the system folder
this fixes the issue and all seems ok
until i reboot and it then the axis is wrong again
Any ideas why its not accepting the TS-cal new configs ?
is it something in the NODISP option ?
whole screen was lands