From 444d32b416236364efbc3ab1b73d767bbc6de266 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Wed, 27 Mar 2019 18:08:19 +0800 Subject: [PATCH] init.sh: invert axes of sensors for Microtech e-tab Pro With panel-orientation-quirks applied in i915 driver, the display is rotated 180 degrees. We need to invert the x and y axes of sensors as well. --- init.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init.sh b/init.sh index 2acd918..8d87f0c 100644 --- a/init.sh +++ b/init.sh @@ -270,9 +270,6 @@ function init_hal_sensors() modprobe hdaps hal_sensors=hdaps ;; - *e-tabPro*) - set_property ro.iio.accel.quirks no-trig - ;& *i7Stylus*|*M80TA*) set_property ro.iio.accel.x.opt_scale -1 ;; @@ -284,7 +281,7 @@ function init_hal_sensors() *ST70416-6*) set_property ro.iio.accel.order 102 ;; - *pnEZpad*) + *e-tabPro*|*pnEZpad*) set_property ro.iio.accel.quirks no-trig ;& *T*0*TA*) -- 2.11.0