Skip to content

Instantly share code, notes, and snippets.

@truthadjustr
Created January 15, 2019 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save truthadjustr/d56e7339c98b958e0c50cea5f5522fab to your computer and use it in GitHub Desktop.
Save truthadjustr/d56e7339c98b958e0c50cea5f5522fab to your computer and use it in GitHub Desktop.
rpi3b xpt2046 -> /etc/X11/xorg.conf.d/
Section "Device"
# WaveShare SpotPear 3.5", framebuffer 1
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection
Section "Monitor"
# Primary monitor. WaveShare SpotPear 480x320
Identifier "WSSP"
EndSection
Section "Screen"
Identifier "primary"
Device "uga"
Monitor "WSSP"
EndSection
Section "ServerLayout"
Identifier "default"
Screen 0 "primary" 0 0
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment