From: Suici Doga Date: Tue, 7 Jun 2016 12:08:24 +0000 (+0800) Subject: init.sh: support the accelerometer of HP laptops X-Git-Tag: android-x86-6.0-r1~20 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=71ba16bdf4b6fbf71a1fabc7eb5d56dd8eeebd56 init.sh: support the accelerometer of HP laptops --- diff --git a/init.sh b/init.sh index afc347f..2a2dc3d 100644 --- a/init.sh +++ b/init.sh @@ -228,6 +228,9 @@ function init_hal_sensors() modprobe hdaps hal_sensors=hdaps ;; + *HPPaviliong*) + hal_sensors=hdaps + ;; *i7Stylus*) set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1 ;;