device-xiaomi-daisy: provide touchscreen calibration data (MR 4959)

The data is not 100% accurate, but it's the best I've got
and it makes the device usable, which it currently isn't.

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2647

Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
This commit is contained in:
Andrea Bolognani 2024-03-19 12:21:22 +01:00 committed by Alexey Minnekhanov
parent 9200f8fe1a
commit 540caff8ae
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF
2 changed files with 4 additions and 2 deletions

View file

@ -3,7 +3,7 @@
pkgname=device-xiaomi-daisy
pkgdesc="Xiaomi Mi A2 Lite"
pkgver=9
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -45,6 +45,6 @@ nonfree_firmware() {
}
sha512sums="
8c5980c1da9e5bc91f11bb8056ac9a225cb84a90a42a964dc0dc2966220c105683081055fdcb1caa8c198019d8373d8c5fe27155429c17814d34075d5f961aa4 deviceinfo
0982ea07d3a048da27a10dd41efacf638d08be35768b587c31874d21654c4e5ba99096729c0f14d18e6f4447ce277dd1cf986162462654eb01c916cc458503e7 deviceinfo
7202f0a55dfe43348940412fc38e59c855594b070db8742419feadb2299086d5810107201a228b7137b7cc7a97c94afac95d81c0cd65c52f31dbcb619b0a4279 modules-initfs
"

View file

@ -20,6 +20,8 @@ deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2280"
deviceinfo_swap_size_recommended="1024"
deviceinfo_dev_touchscreen="/dev/input/event1"
deviceinfo_dev_touchscreen_calibration="4.00 0.00 0.00 0.00 1.80 0.00"
# Bootloader related
deviceinfo_flash_method="fastboot"