mirror of
https://github.com/goodtft/LCD-show.git
synced 2025-01-31 18:52:12 +01:00
Update MHS35-show
This commit is contained in:
parent
8b708187f6
commit
48ed268a2f
13
MHS35-show
13
MHS35-show
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
sudo rm -rf /etc/X11/xorg.conf.d/40-libinput.conf
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp ./usr/mhs35-overlay.dtb /boot/overlays/
|
||||
sudo cp ./usr/mhs35-overlay.dtb /boot/overlays/mhs35.dtbo
|
||||
sudo cp -rf ./usr/99-calibration.conf-mhs35 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
@ -12,6 +12,17 @@ sudo cp ./usr/cmdline.txt /boot/
|
||||
fi
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp ./boot/config-mhs35.txt /boot/config.txt
|
||||
#FBCP install
|
||||
sudo cp -rf ./etc/rc.local /etc/rc.local
|
||||
sudo apt-get install git cmake -y
|
||||
sudo rm -rf rpi-fbcp
|
||||
sudo git clone https://github.com/tasanakorn/rpi-fbcp
|
||||
sudo mkdir ./rpi-fbcp/build
|
||||
cd ./rpi-fbcp/build/
|
||||
sudo cmake ..
|
||||
sudo make
|
||||
sudo install fbcp /usr/local/bin/fbcp
|
||||
#evdev install
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
|
Loading…
x
Reference in New Issue
Block a user