ArmbianHowTo

Revision as of 23:33, 2 November 2017 by StefanM (talk | contribs) (LCD)

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

HDMI