motorola-montana: activate touchscreen (!1077)

This commit is contained in:
Dolphin von Chips 2020-03-19 00:01:57 +05:00 committed by Bart Ribbers
parent b5983e7939
commit edc20209d8
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
2 changed files with 5 additions and 3 deletions

View file

@ -1,9 +1,10 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Jakub Strzelecki <kubast2@yahoo.com>
# Contributor: Dolphin von Chips <DoIphinChips@protonmail.com>
pkgname="device-motorola-montana"
pkgdesc="Motorola Moto G5s"
pkgver=0.1
pkgrel=4
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -22,4 +23,4 @@ package() {
sha512sums="769b75c85f76f792a6e12ba0f02c63938b92c015c68beca8898579a227234073f2a746214b64c1909e7d1e6490ebacff4b72f86741db7e64268be9373342e7cf deviceinfo
aa012cf1940af94fd7b9ec9da6ebe94ce9315d8fb920c4c39e9c08bf409fff3c697d0f045f2d1a2adaa40c99dc9748a0aeb64f55d1dd4ae9999276c70db3314b initfs-hook.sh"
97acac2557914cc234d75dd9869338e0eac13196649a661c59caa52b8953c4170a2fa2fbc9ee5518935c325d779b45d6c179c71474366b1200a4bd1e5172a882 initfs-hook.sh"

View file

@ -1,4 +1,5 @@
#!/bin/sh
# enable touchscreen
sleep 5 # a little delay before activating touchscreen
echo 1 > /sys/devices/soc/78b7000.i2c/i2c-3/3-0020/drv_irq