Skip to content
Snippets Groups Projects
Verified Commit 953f81a8 authored by Dylan Van Assche's avatar Dylan Van Assche
Browse files

device-shift-axolotl: add accelerometer mount matrix

SHIFT6mq accelerometer is mounted differently than the screen,
adjust it with a mount matrix. This way, screen rotations follow
the actual screen rotation by the user.
parent be7eb70b
No related branches found
No related tags found
No related merge requests found
# iio-sensor-proxy with libssc: accelerometer mount matrix
SUBSYSTEM=="misc", KERNEL=="fastrpc-sdsp", ENV{ACCEL_MOUNT_MATRIX}+="-1, 0, 0; 0, -1, 0; 0, 0, -1"
......@@ -4,8 +4,8 @@
pkgname=device-shift-axolotl
pkgdesc="SHIFT6mq"
pkgver=8
pkgrel=1
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
......@@ -26,6 +26,7 @@ source="
deviceinfo
phoc.ini
q6voiced.conf
81-libssc-shift-axolotl.rules
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
......@@ -42,11 +43,12 @@ package() {
nonfree_firmware() {
pkgdesc="Modem, GPU and WiFi Firmware, also needed for osk-sdl"
depends="firmware-shift-sdm845 firmware-shift-sdm845-initramfs
depends="firmware-shift-sdm845>=0.4 firmware-shift-sdm845-initramfs
soc-qcom-sdm845-nonfree-firmware soc-qcom-sdm845-modem"
mkdir "$subpkgdir"
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
install -Dm644 "$srcdir"/81-libssc-shift-axolotl.rules -t "$pkgdir"/usr/lib/udev/rules.d/
}
phosh() {
......@@ -59,4 +61,5 @@ sha512sums="
a3e9ae292631233480b0fa60d90a7c0940162ea3876ae4bb8f2ad09ca4da94e9bcd6a0c690e8957ba4cd5d11ac50d3b32e7c89df5c44fd523aef6ea5e9c05c3d deviceinfo
65f74d29ab318b23f7ac8923a3661f2c4130049273a8c6be234ed2c8e00810b6a1254b54cf0932e42850a6d48f821dcd038900fbb836feeddfab2759afffae38 phoc.ini
2a3cbdad5aa91181d24a4e56e63986af6accf887c64fa4d1b6ddad1926e29050243c4b1e2fd892d38ca7c16e24dff8545a16552e5749ae31b6d01bf428468e51 q6voiced.conf
373a0a4e653dd2b446f7e44851719d44370c5bd23f9e80e51fd85a4db505f147170b8dc438405c8d3aa2381db398396164445621d2e5c192b45bcd538cfddb15 81-libssc-shift-axolotl.rules
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment