From ad2ac949791f3d4fc58e8115b295f95e4ee9d4ad Mon Sep 17 00:00:00 2001 From: Devellevel Date: Thu, 16 May 2024 19:05:26 +0000 Subject: [PATCH] device-sony-suzuran: Fix LightDM and add msm-fb-refresher (MR 5134) --- .../device-sony-suzuran/90-android-touch-dev.rules | 7 +++++++ device/testing/device-sony-suzuran/APKBUILD | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 device/testing/device-sony-suzuran/90-android-touch-dev.rules diff --git a/device/testing/device-sony-suzuran/90-android-touch-dev.rules b/device/testing/device-sony-suzuran/90-android-touch-dev.rules new file mode 100644 index 000000000..c34bfd507 --- /dev/null +++ b/device/testing/device-sony-suzuran/90-android-touch-dev.rules @@ -0,0 +1,7 @@ +# udev rules file +# All device names can be read from weston's logfile + +# Touchscreen (use 'weston-calibrator' to calibrate) +SUBSYSTEM=="input", ATTRS{name}=="clearpad", \ +ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1" \ +ENV{WL_CALIBRATION}="1.013786 0.035310 -24.920929 -0.008370 0.990421 12.094299" diff --git a/device/testing/device-sony-suzuran/APKBUILD b/device/testing/device-sony-suzuran/APKBUILD index 111c4a6ee..4f4304711 100644 --- a/device/testing/device-sony-suzuran/APKBUILD +++ b/device/testing/device-sony-suzuran/APKBUILD @@ -1,7 +1,7 @@ # Reference: pkgname=device-sony-suzuran pkgdesc="Sony Xperia Z5 Compact" -pkgver=1 +pkgver=2 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -10,10 +10,15 @@ options="!check !archcheck" depends=" linux-sony-suzuran mkbootimg + msm-fb-refresher postmarketos-base + postmarketos-base-downstream " makedepends="devicepkg-dev" -source="deviceinfo" +source=" + deviceinfo + 90-android-touch-dev.rules +" build() { devicepkg_build $startdir $pkgname @@ -21,8 +26,11 @@ build() { package() { devicepkg_package $startdir $pkgname + install -D -m644 "$srcdir"/90-android-touch-dev.rules \ + "$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules } sha512sums=" 2d3997c04beb36af6882be3f7936d285e2e30ef95bc4e34337be91b40976f7aba8251fc091cbd821876db2faadfbc3a0c49db1c3bd4ee01eb9a9c73aae79c826 deviceinfo +ad75ee1f07de8a413d98b0a28be58df80bf08b454aad80b265ca86dcb3370ec8f47c1246e4379d036d8f98ae3292b89d74988d6f8bafea100860615feaee17d2 90-android-touch-dev.rules "