update driver

This commit is contained in:
goodtft
2021-12-31 08:26:26 +00:00
parent cfd602e665
commit 1cfbb6cb68
16 changed files with 382 additions and 35 deletions
+5 -1
View File
@@ -54,6 +54,10 @@ sudo rm -rf rpi-fbcp
wget --spider -q -o /dev/null --tries=1 -T 10 https://github.com
if [ $? -eq 0 ]; then
sudo git clone https://github.com/tasanakorn/rpi-fbcp
if [ $? -ne 0 ]; then
echo "download fbcp failed, copy native fbcp!!!"
sudo cp -r ./usr/rpi-fbcp .
fi
else
echo "bad network, copy native fbcp!!!"
sudo cp -r ./usr/rpi-fbcp .
@@ -91,7 +95,7 @@ else
echo "need to update touch configuration"
wget --spider -q -o /dev/null --tries=1 -T 10 http://mirrors.zju.edu.cn/raspbian/raspbian
if [ $? -eq 0 ]; then
sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
else
sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.6-1+b1_armhf.deb 2> error_output.txt
fi