From 97b0ef29fce15a17bc0a1689b5d29ff5e952f1fc Mon Sep 17 00:00:00 2001 From: youling257 Date: Sun, 25 Sep 2016 01:27:58 +0800 Subject: [PATCH 1/1] add ONDA tablet iio.accelerometer tranformation matrix Signed-off-by: youling257 --- init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.sh b/init.sh index 58aa432..b287ec7 100644 --- a/init.sh +++ b/init.sh @@ -232,6 +232,9 @@ function init_hal_sensors() *ST70416-6*) set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1 ;; + *ONDATablet*) + set_property hal.sensors.iio.accel.matrix 0,1,0,1,0,0,0,0,-1 + ;; *) ;; esac -- 2.11.0