From 0c296dde46de6b35174b55bfcfe64279caf72451 Mon Sep 17 00:00:00 2001 From: goodtft Date: Mon, 25 Mar 2024 07:15:11 +0000 Subject: [PATCH] modify touch driver --- LCD5-show | 2 ++ usr/ads7846-overlay.dtb | Bin 0 -> 2402 bytes usr/mhs24-overlay.dtb | Bin 2390 -> 2390 bytes usr/mhs32-overlay.dtb | Bin 2057 -> 2057 bytes usr/mhs35ips-overlay.dtb | Bin 2600 -> 2600 bytes usr/mhs395-overlay.dtb | Bin 2640 -> 2640 bytes usr/mis35-overlay.dtb | Bin 2600 -> 2600 bytes usr/tft9341-overlay.dtb | Bin 2305 -> 2305 bytes 8 files changed, 2 insertions(+) create mode 100755 usr/ads7846-overlay.dtb diff --git a/LCD5-show b/LCD5-show index 408edfb..315debe 100755 --- a/LCD5-show +++ b/LCD5-show @@ -10,6 +10,8 @@ sudo ./system_backup.sh #sudo echo "hdmi_force_hotplug=1" >> ./boot/config.txt.bak #fi +sudo cp ./usr/ads7846-overlay.dtb /boot/overlays/ads7846.dtbo + source ./system_config.sh if [[ "$deb_version" < "12.1" ]]; then row=`grep -nr "#dtoverlay=vc4-fkms-v3d" ./boot/config.txt.bak | awk -F ':' '{if(NR==1)printf $1}'` diff --git a/usr/ads7846-overlay.dtb b/usr/ads7846-overlay.dtb new file mode 100755 index 0000000000000000000000000000000000000000..7f7d10e769b3248248f7c6a7547b620ebbb50854 GIT binary patch literal 2402 zcmb_ey>1gh5Z*H&2q8*{1cC+$A|!-z%8yNmoB~UTh6>SxwZ2*sush_vXeYYDLDY0Up2qS@>5GNrE~;PgAB$9vdVVRrFqX>052U$MvAJcca|i+`@INoLO5 zF`Gj_4_y(h8kI&`yO+dSKbL6T3q_v~;{qUykz*L_eaLRTdrLF)uz61daln17%}0|v z;IGj5WO$uV1_%6S8X(}ne*r^e`LBzxaQyKU|4nP1{)f(3$N%y^)b=<#-T?cI50l?{ z6be;kcx8W?LWA6F3nPyMd8T8@ zHM-JIqI9P^IDA5fw1C}chHlH*@p8&e$E~uP&|N2=9b+eRq0}%JW3Kg?fO&EPQ@g1# zPwV|<%nRXXyNNQ#(Cq((_Ei_I(HP80|4*;?JenrmadYVDNTy+bxHoK0(%jjbQ# z3GLgD%AvH$fqn0jSU4Z+?Skh6QP3kfVao~0qI#ceWcSKJHl`pt7Qo~VvpEa%hWs5l zOw(bU@RWlE}Q&#CQC9(r~(+7oG7<&=p{oCQ3dj1XO*ev+!MO@BjX^(oY+M4*Vy zQlEs^^$9%Q1U%{z1fJHq2EkL!u-h~&4z&fcJn9K#dDIZd@>9LsL#=?U9`ymTd`EMR zNB)DX9=Q%0zvo<#C6X5reFj;TPD~ZN7^>={t-nCJo%DxkP()d3 S)W7}u(N*<*L$Pn?4fYovF3em2 literal 0 HcmV?d00001 diff --git a/usr/mhs24-overlay.dtb b/usr/mhs24-overlay.dtb index 5b5979b89319b50341fa3bf274ee57b087bab9db..24dc3df5737f4f0132cedb94ecd3c6699bec72fd 100755 GIT binary patch delta 14 Vcmca6bWLc(YZgYv&2Lz;SO6~F1%m(p delta 14 Vcmca6bWLc(YZgX^&2Lz;SO6~91%dzo diff --git a/usr/mhs32-overlay.dtb b/usr/mhs32-overlay.dtb index cd18e52de7e3a015b11f774194d89e169d9b559d..61d2c2df941c6223225aa458b3fa7f7a02b7250e 100755 GIT binary patch delta 14 VcmeAa=oHwnn3<7r^AhG%762n21Wo_| delta 14 VcmeAa=oHwnn3<7b^AhG%762m{1Wf<{ diff --git a/usr/mhs35ips-overlay.dtb b/usr/mhs35ips-overlay.dtb index ac4f231fb9475eed2719925da6488dc4a2744962..c8f3fda03308a10266542074f76059b12a301a15 100755 GIT binary patch delta 14 VcmZ1>vO;9TZ5Bqx&39OQSOFvO;9TZ5Bp`&39OQSOFvO;9TZ5Bqx&39OQSOFvO;9TZ5Bp`&39OQSOF