pmaports/device/community/device-oneplus-enchilada/81-libssc-oneplus-enchilada.rules
Joel Selvaraj 15a7b1b0d3
device-oneplus-enchilada: start hexagonrpcd on boot and configure accelerometer (MR 4050)
hexagonrpcd is necessary to provide access to the filesystem for the SDSP.
Also, OP6 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.
2023-12-13 00:50:47 -08:00

3 lines
156 B
Text

# iio-sensor-proxy with libssc: accelerometer mount matrix
SUBSYSTEM=="misc", KERNEL=="fastrpc-*", ENV{ACCEL_MOUNT_MATRIX}+="-1, 0, 0; 0, -1, 0; 0, 0, -1"