Touch support
adoconnection opened this issue · 1 comments
Did anyone succeeded in enabling touch support?
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)