Quantcast
Viewing latest article 3
Browse Latest Browse All 4774

Official Display • Re: Mouse pointer inverted after rotation of official 7" touch display.

Hi,
I have faced the exact same issue than fritz24,
I use the official Raspberry Pi Touch Display with a Raspberry Pi 2 running the latest 32 bit release of November 2024.
My display support needs the screen to be rotated by 180 degrees.
If I use the Screen Layout Editor, the system shows a login screen in loop, even after a reboot (I then need to reflash the SD card).
Using the

video=DSI-1:800x480@60,rotate=180

option in the /boot/firmware/cmdline.txt, the display is rotated but the cursor is not, the touch position is correct.

Does anyone have a solution for this?
I will look for the Screen Layout Editor bug-tracker to see if this has been reported.

Thank you
first of all you should use latest OS; don't think that's Nov'24 still.
If so, make sure to update/upgrade to latest revision.

Code:

Name:   vc4-kms-dsi-7inchInfo:   Enable the Raspberry Pi DSI 7" screen.        Includes the edt-ft5406 for the touchscreen element.        Requires vc4-kms-v3d to be loaded.Load:   dtoverlay=vc4-kms-dsi-7inch,<param>=<val>Params: sizex                   Touchscreen size x (default 800)        sizey                   Touchscreen size y (default 480)        invx                    Touchscreen inverted x axis        invy                    Touchscreen inverted y axis        swapxy                  Touchscreen swapped x y axis        disable_touch           Disables the touch screen overlay driver        dsi0                    Use DSI0 and i2c_csi_dsi0 (rather than                                the default DSI1 and i2c_csi_dsi).
Don't use the autodetect feature, comment (or remove) that line and call the overlay manually.
Donwide of this overlay is that it's missing a 'rotation' parameter like available i.e. in https://github.com/raspberrypi/linux/bl ... y.dts#L121

add below to the overrides section in https://github.com/raspberrypi/linux/bl ... verlay.dts, compile the overlay and you should be able to change panel and touch orientation via config.txt.

Code:

rotation = <&panel_disp>, "rotation:0";
anyhow, pretty much assume that you did not assign the touchscreen to the panel in screen configuration editor BEFORE you changed the display orientation. Doing it like that should not cause any issues (sorry, but I'm not using 32-bit OS).

Statistics: Posted by aBUGSworstnightmare — Tue Apr 08, 2025 12:57 pm



Viewing latest article 3
Browse Latest Browse All 4774

Trending Articles