≡
ArmbianHowTo
Contents
Changing display output
With current kernel version (4.13) changing display output must be done by recompiling u-boot. This is necessary because kernel supports only SimpleFB. This will change in the future.
LCD
Enable touchscreen
Create blacklist file:
# echo "blacklist sun4i_gpadc_iio" > /etc/modprobe.d/blacklist-touchscreen.conf # echo "blacklist sun4i_gpadc" >> /etc/modprobe.d/blacklist-touchscreen.conf
Calibrate touchscreen
Install calibration package:
# apt-get install xinput-calibrator
After completion start the program inside the X.
Applications -> System -> Calibrate Touchscreen
You will see blank screen. Touch the display at the marks. Then store the calibration values. Create new file 99-calibration.conf
# cat > /etc/X11/xorg.conf.d/99-calibration.conf << __EOF__ Section "InputClass" Identifier "calibration" MatchProduct "1c25000.rtp" Option "Calibration" "3930 108 348 3948" Option "SwapAxes" "0" EndSection __EOF__
Put the values from the calibrator program.
VGA
1600x900 1280x1024 1152x864 1024x768 800x600 640x480 720x400
export DISPLAY=:0
xrandr -s 1280x1024