OSDN Git Service

init.sh: support the accelerometer of HP laptops
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index afc347f..2a2dc3d 100644 (file)
--- 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
                        ;;