Published: 16.08.2019
Copyright by Joy-IT
6
3.2“ / 3.5“ Touch-Display
Now save the file with the key combination CTRL + O, confirm with Enter and leave the editor with the
combination CTRL + X. Now the file "cmdline.txt" has to be edited:
In this case, the following command must be added at the end of the already existing first line:
Save the file, exit the editor and create the file "99-calibration.conf":
The following lines must be added to the file:
This file is also terminated and saved with "Ctrl + X" followed by "Y" and "Enter". Finally, the file "/usr/
share/X11/xorg.conf.d/99-fbturbo.conf" has to be edited. To do this, enter the following command:
And change the following line there ...
... so that you change "fb0" to "fb1" and the line looks like this:
This file is also terminated and saved with "Ctrl + X" followed by "Y" and "Enter".
sudo nano /boot/cmdline.txt
fbcon=map:10
sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "160 3723 3896 181"
Option "SwapAxes" "0"
EndSection
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
Option "fbdev" "/dev/fb0"
Option "fbdev" "/dev/fb1"