update driver
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user