diff --git a/LCD28-show b/LCD28-show index 5689829..22b03c5 100644 --- a/LCD28-show +++ b/LCD28-show @@ -19,7 +19,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/LCD32-show b/LCD32-show index 78b46cb..1d3d330 100644 --- a/LCD32-show +++ b/LCD32-show @@ -19,7 +19,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/LCD35-show b/LCD35-show index 2df27ab..b5213e8 100644 --- a/LCD35-show +++ b/LCD35-show @@ -19,7 +19,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/LCD397-show b/LCD397-show index 2aec81a..161421e 100644 --- a/LCD397-show +++ b/LCD397-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/LCD43-show b/LCD43-show index 1a31781..c6cb901 100644 --- a/LCD43-show +++ b/LCD43-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/LCD5-show b/LCD5-show index e095fbe..1ae9556 100644 --- a/LCD5-show +++ b/LCD5-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/MPI3508_480_320-show b/MPI3508_480_320-show index b098bb4..e4af91f 100644 --- a/MPI3508_480_320-show +++ b/MPI3508_480_320-show @@ -17,11 +17,17 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi else echo "this is not raspberrypi kernel, no need to update touch configure, reboot" fi -sudo reboot \ No newline at end of file +sudo reboot diff --git a/MPI3508_600_400-show b/MPI3508_600_400-show index 88c2bbe..4b05b19 100644 --- a/MPI3508_600_400-show +++ b/MPI3508_600_400-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/MPI3508_720_480-show b/MPI3508_720_480-show index 9be86ad..9d208e4 100644 --- a/MPI3508_720_480-show +++ b/MPI3508_720_480-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/MPI3508_810_540-show b/MPI3508_810_540-show index 78665c5..5252549 100644 --- a/MPI3508_810_540-show +++ b/MPI3508_810_540-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/MPI3508_960_640-show b/MPI3508_960_640-show index 3c84b7e..b452ea4 100644 --- a/MPI3508_960_640-show +++ b/MPI3508_960_640-show @@ -17,7 +17,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/MPI3510-show b/MPI3510-show index 3c489da..154fd09 100644 --- a/MPI3510-show +++ b/MPI3510-show @@ -21,7 +21,13 @@ 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 sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf echo "reboot" fi diff --git a/README.md b/README.md index 243db44..985010d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ LCD driver for the Raspberry PI Installation
==================================================== +2017-08-16 +Update:
+ v1.6-20170824
+ Update xserver to support Raspbian-2017-08-16

+Update:
+ v1.5-20170706
+ Update to support Raspbian-2017-07-05,Raspbian-2017-06-21

Update:
v1.3-20170612
fixed to support Raspbian-2017-03-02,Raspbian-2017-04-10

@@ -9,15 +16,19 @@ Update:
Update:
v1.1-20160815

-1.)Step1, Install Raspbian official mirror

+1.)Step1, Install Raspbian official mirror
==================================================== a)Download Raspbian official mirror:
https://www.raspberrypi.org/downloads/
b)Use“SDFormatter.exe”to Format your TF Card
c)Use“Win32DiskImager.exe” Burning mirror to TF Card
-2.) Step2, Clone my repo onto your pi

+2.) Step2, Clone my repo onto your pi
==================================================== +Use SSH to connect the raspberry pi,
+And Ensure that the raspberry pi is connected to the Internet before executing the following commands: +----------------------------------------------------------------------------------------------------- + ```sudo rm -rf LCD-show```
```git clone https://github.com/goodtft/LCD-show.git```
```chmod -R 755 LCD-show```
@@ -57,6 +68,8 @@ In case of 7inch(C)-1024X600 RPI LCD
If you need to switch back to the traditional HDMI display
```sudo ./LCD-hdmi```

-Wait a few minutes,the system will restart automaticall , enjoy with your LCD.

+Wait a few minutes,the system will restart automaticall , enjoy with your LCD. +------------------------------------------------------------------------------- +

diff --git a/boot/config-28.txt b/boot/config-28.txt index d385381..3778f46 100644 --- a/boot/config-28.txt +++ b/boot/config-28.txt @@ -55,4 +55,4 @@ enable_uart=1 # Enable audio (loads snd_bcm2835) dtparam=audio=on dtoverlay=tft9341:rotate=90 -dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 diff --git a/boot/config-32.txt b/boot/config-32.txt index 7cc6e05..cce09e0 100644 --- a/boot/config-32.txt +++ b/boot/config-32.txt @@ -55,4 +55,4 @@ enable_uart=1 # Enable audio (loads snd_bcm2835) dtparam=audio=on dtoverlay=tft9341:rotate=270 -dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 diff --git a/boot/config-35.txt b/boot/config-35.txt index 16f27d3..d51a5eb 100644 --- a/boot/config-35.txt +++ b/boot/config-35.txt @@ -55,4 +55,4 @@ enable_uart=1 # Enable audio (loads snd_bcm2835) dtparam=audio=on dtoverlay=tft35a -dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 diff --git a/boot/config-5.txt b/boot/config-5.txt index 9760f4c..d697e12 100644 --- a/boot/config-5.txt +++ b/boot/config-5.txt @@ -58,5 +58,6 @@ max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 +hdmi_drive=1 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 diff --git a/boot/config-7B-800x480.txt b/boot/config-7B-800x480.txt index 9760f4c..88f5c78 100644 --- a/boot/config-7B-800x480.txt +++ b/boot/config-7B-800x480.txt @@ -58,5 +58,6 @@ max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 +hdmi_drive=1 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 +#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 diff --git a/boot/config-7C-1024x600.txt b/boot/config-7C-1024x600.txt index a2ef456..ea8987b 100644 --- a/boot/config-7C-1024x600.txt +++ b/boot/config-7C-1024x600.txt @@ -58,5 +58,6 @@ max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 +hdmi_drive=1 hdmi_cvt 1024 600 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 +#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 diff --git a/usr/99-calibration.conf-5 b/usr/99-calibration.conf-5 index c6fbc8c..bde4d30 100644 --- a/usr/99-calibration.conf-5 +++ b/usr/99-calibration.conf-5 @@ -1,6 +1,6 @@ Section "InputClass" Identifier "calibration" MatchProduct "ADS7846 Touchscreen" - Option "Calibration" "140 3951 261 3998" + Option "Calibration" "177 3976 306 3747" Option "SwapAxes" "0" EndSection diff --git a/xserver-xorg-input-evdev_2.10.5-1_armhf.deb b/xserver-xorg-input-evdev_2.10.5-1_armhf.deb new file mode 100644 index 0000000..1cdf3f9 Binary files /dev/null and b/xserver-xorg-input-evdev_2.10.5-1_armhf.deb differ