commit 5a83b1a6fec0a3ec5015396a42be3ca09fa8bc8c parent 82598d59f64e31a4aa84b5cabf810608ead6ef4d Author: rob <rob@tarina.org> Date: Thu, 16 Mar 2023 17:06:42 +0000 install complete Diffstat:
M | install.sh | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/install.sh b/install.sh @@ -118,7 +118,12 @@ dtparam=pwr_led_activelow=off EOF elif [ "$screen" = "hyperpixel4" ] then +apt-get -y install curl echo "installing hyperpixel4 screen drivers" +curl -sSL get.pimoroni.com/hyperpixel4-legacy | bash +cat <<'EOF' >> /etc/udev/rules.d/98-hyperpixel4-calibration.rules +ATTRS{name}=="Goodix Capacitive TouchScreen", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1" +EOF echo "Tarina configuration seems to be in order in /boot/config.txt" echo "Adding to /boot/config.txt" cat <<'EOF' >> /boot/config.txt