device-motorola-lux: enabled touchscreen (!584)

This commit is contained in:
Gavin Lilly 2019-08-28 18:49:36 +01:00 committed by Martijn Braam
parent a900d77ebc
commit 82cdba421e
No known key found for this signature in database
GPG key ID: C4280ACB000B060F
2 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-motorola-lux"
pkgdesc="Motorola Moto X Play"
pkgver=0.1
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -9,7 +9,7 @@ arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-lux mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo"
source="deviceinfo initfs-hook.sh"
build() {
devicepkg_build $startdir $pkgname
@ -19,5 +19,5 @@ package() {
devicepkg_package $startdir $pkgname
}
sha512sums="f58d2ee1acfcd8188872f016595893e2492b75c55aadc0711cc28398ab6715769b43485eb8a293f6d1d024b0b743c9f34a18bd27a7e4f81511c993420c4105f3 deviceinfo"
sha512sums="f58d2ee1acfcd8188872f016595893e2492b75c55aadc0711cc28398ab6715769b43485eb8a293f6d1d024b0b743c9f34a18bd27a7e4f81511c993420c4105f3 deviceinfo
1777c382a73b6e45ee6b4f34b1fd996ad1bae42801dec6de6742f9bf6bf0a0fb5648a7b51ac5b79b7df6d026deca3d4b14a13fae02938e845ed564a9a741c171 initfs-hook.sh"

View file

@ -0,0 +1,4 @@
#!/bin/sh
# activate touchscreen
echo 1 > /sys/devices/soc.0/78b8000.i2c/i2c-4/4-0020/drv_irq