adafruit-pitft.py : remove console drm #367
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is a drm flag being appended to the config.txt that does not play well with older Pi Zero, Pi Zero 2W and Pi 3B+ models in console mode. It results in a blank screen.
dtoverlay=pitft28-capacitive,rotate=90,speed=64000000,fps=30,drmRemoving the final drm argument when using console mode only will allow all Pi's to have a working login shell. The one downside is when we turn off DRM the display is flipped so the guide needs to change rotation from 90 to 270. The above config.txt line would look like this. Learn guide update required to match this PR.
dtoverlay=pitft28-capacitive,rotate=270,speed=64000000,fps=30Tested on various Pi's with both Trixie Desktop and Lite 64-bit installs. After patch all Pi's should use 270 rotation, no drm for console mode only.
forum issue