Add support for the Raspberry Pi Touch Display 2, 7 inch screen to Zynthian, Vangelis Feature Request #1704

Is your feature request related to a problem? Please describe.
[A clear and concise description of what the problem is. Ex. I’m always frustrated when […]]
Add support for the Raspberry Pi Touch Display 2, 7 inch screen to Zynthian, Vangelis which currently does not exist.

Describe the solution you’d like
A clear and concise description of what you want to happen.
I intend to submit 2 Pull Requests to implement this support, the first will add two new options to the Display, Touch Rotation field, in addition to the existing None and Inverted. The new options will be right and left, which will rotate the Touch 90 and 270 degrees respectively. The second Pull Request will add the Raspberry Pi Touch Display 2 as a choice to the Display, Display field, and this will use the support from PR1.

Describe alternatives you’ve considered
A clear and concise description of any alternative solutions or features you’ve considered.
I considered and tried what I believe was all the ways to add support for rotated Touch with the existing Vangelis implementation. I could not find anything that worked. See the Claude Transcript under Additional context for all the things I tried.

Additional context
Add any other context or screenshots about the feature request here.
Zynthian TD2 Full Session_transcript_2026-06-28_19-39-07_37pages.pdf

Edit: And here is a link to the featue request:

https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+user%3Azynthian&issue=zynthian|zynthian-issue-tracking|1704

1 Like

And here’s the first Pull Request:

2 Likes

And these 2 complete the set of 3,

All 3 together give the support for rotating from a default portrait mode, PR1 (580) adds the actual support to multitouch.pi and the combination of PR2 (224) zynthian.sys and PR3 (200) webconf provide the user interface to set it and change it from default, which is Landscape, Rotate Right.

Claude and I could not find a way to have a PR cover multiple repos, that’s the main reason there are 3.

2 Likes

For PR3 (200) webconf - There was a problem with the first pr uploaded - a double quote in the touch display 2 entry, we removed it and then did: git push --force-with-lease origin display-td2-7inch

1 Like

Also re PR3 (200) webconf - Made this comment in the PR - Verified on Pi 5 + TD2: Right works; Left is accepted by X but not honored by the DSI/KMS scanout on this panel (display stays right), so 270° appears to be a panel/driver limitation rather than a config issue. Right/Inverted are the usable orientations here. We considered changing to not allow “left” to be selected, but decided not to in case other layers do support it in the future.

1 Like