From 610e31f8a344504f9a6a4cc4e05f94c76b91e2da Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Fri, 3 Jun 2016 12:25:41 +0800 Subject: [PATCH] init.sh: fix the Cube i7 Stylus tablet sensor orientation --- init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.sh b/init.sh index 20161d6..9ed35ab 100644 --- a/init.sh +++ b/init.sh @@ -218,6 +218,9 @@ function init_hal_sensors() modprobe hdaps hal_sensors=hdaps ;; + *i7Stylus*) + set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1 + ;; *) ;; esac -- 2.11.0