≡
Difference between revisions of "ArmbianHowTo"
(Created page with "==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 Simpl...") |
m (→LCD) |
||
| Line 2: | Line 2: | ||
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. | 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=== | ===LCD=== | ||
| − | ==== | + | |
| + | ====Enable touchscreen==== | ||
Create blacklist file: | Create blacklist file: | ||
# echo "blacklist sun4i_gpadc_iio" > /etc/modprobe.d/blacklist-touchscreen.conf | # echo "blacklist sun4i_gpadc_iio" > /etc/modprobe.d/blacklist-touchscreen.conf | ||
# echo "blacklist sun4i_gpadc" >> /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=== | ===VGA=== | ||
===HDMI=== | ===HDMI=== | ||
Revision as of 00:33, 3 November 2017
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.

