Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch support #185

Open
adoconnection opened this issue May 5, 2022 · 1 comment
Open

Touch support #185

adoconnection opened this issue May 5, 2022 · 1 comment

Comments

@adoconnection
Copy link

Did anyone succeeded in enabling touch support?

@rtreffer
Copy link

rtreffer commented Sep 7, 2022

I have the official 7'' touchscreen working. But I can't remember the details anymore.
There was a read-only issue so I dropped in a fstab (the /tmp/.Xsession or whatever could not be created)
Then I've updated everything (rpi-update, apt update)

And then I still needed

dtoverlay=vc4-kms-v3d,nocomposite,noaudio
dtoverlay=vc4-kms-dsi-7inch,swapxy=1,invy=1
max_framebuffers=2

lcd_rotate=1
display_rotate=1
display_lcd_rotate=1

disable_overscan=1

The vc4-kms-dsi-7inch,swapxy=1,invy=1 adjusts the touch directions. I've also added video=DSI-1:800x480@60 to the cmdline but I think that has no effect.

I've also adjusted the xsession with

xrandr --output DSI-1 --rotate left

You might need different settings though. And I would say you are potentially better off using a stock image, get the display working and then copy in the home data.

Running on an RPI4 with the official 7'' Display, showing the WLED UI (a WLED controller is in the box next to it)
20220907_094720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants