mirror of
https://github.com/goodtft/LCD-show.git
synced 2025-02-01 03:52:10 +01:00
Add files via upload
This commit is contained in:
parent
29045ba830
commit
927d792fb9
23
LCD7B-show
23
LCD7B-show
@ -6,4 +6,27 @@ sudo cp ./usr/cmdline.txt /boot/
|
||||
fi
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
if test $version -ge 1023;then
|
||||
echo "install xserver-xorg-input-evdev_2.10.5-1"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_2.10.5-1_armhf.deb
|
||||
else
|
||||
echo "install xserver-xorg-input-evdev_1%3a2.10.3-1"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp ./usr/40-libinput.conf-HDMI7B /etc/X11/xorg.conf.d/40-libinput.conf
|
||||
sudo reboot
|
||||
|
Loading…
x
Reference in New Issue
Block a user