OSDN Git Service

Disable forced orientation
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 6 Jan 2017 05:50:01 +0000 (13:50 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 6 Jan 2017 05:50:01 +0000 (13:50 +0800)
The input subsystem is buggy in the emulated display mode.

init.sh

diff --git a/init.sh b/init.sh
index f80f58f..d01705b 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -237,7 +237,7 @@ function init_hal_sensors()
                        set_property hal.sensors.iio.accel.matrix 0,1,0,1,0,0,0,0,-1
                        ;;
                *)
-                       has_sensors=false
+                       #has_sensors=false
                        ;;
        esac