From 71ba16bdf4b6fbf71a1fabc7eb5d56dd8eeebd56 Mon Sep 17 00:00:00 2001 From: Suici Doga Date: Tue, 7 Jun 2016 20:08:24 +0800 Subject: [PATCH] init.sh: support the accelerometer of HP laptops --- init.sh | 3 +++ 1 file changed, 3 insertions(+) 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 ;; -- 2.11.0