По дефолту изображение показывается не на весь экран. Справа 1/3 пустая.
Решение:
Качаем драйвер LCD-show-160520.tar.gz
1 2 3 |
tar xvf LCD-show-160520.tar.gz cd LCD-show/ sudo ./LCD5-show |
Малина сама перезагрузится.
Правим /boot/config.txt
1 |
sudo nanno /boot/config.txt |
1 2 3 4 5 |
hdmi_force_hotplug=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 |
И перезагружаемся.
Так же калибруем тачскрин:
1 |
sudo apt-get install -y xinput-calibrator |
1 |
sudo DISPLAY=:0.0 xinput_calibrator |
Результат добавляем в /etc/X11/xorg.conf.d/99-calibration.conf
1 |
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf |
1 2 3 4 5 6 |
Section "InputClass" Identifier "calibration" MatchProduct "ADS7846 Touchscreen" Option "Calibration" "3919 208 236 3913" Option "SwapAxes" "1" EndSection |
Добавить комментарий