Added driver for Arch linux
This commit is contained in:
parent
f01e175ef8
commit
bf04cd5496
6
arch/99-calibration.conf-5
Normal file
6
arch/99-calibration.conf-5
Normal file
@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "140 3951 261 3998"
|
||||
Option "SwapAxes" "0"
|
||||
EndSection
|
||||
8
arch/LCD5-show
Normal file
8
arch/LCD5-show
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo cp -rf ./config-5.txt /boot/config.txt
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./99-calibration.conf-5 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
yes | sudo pacman -S xinput-calibration xserver-xorg-input-evdev
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
sudo reboot
|
||||
10
arch/config-5.txt
Normal file
10
arch/config-5.txt
Normal file
@ -0,0 +1,10 @@
|
||||
# See /boot/overlays/README for all available options
|
||||
gpu_mem=64
|
||||
|
||||
dtparam=audio=on
|
||||
max_usb_current=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=1
|
||||
hdmi_mode=87
|
||||
hdmi_cvt=800 480 60 6 0 0 0
|
||||
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
||||
Loading…
x
Reference in New Issue
Block a user