OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
444d32b
)
init.sh: fix sensors support for LINX1010B
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 28 Mar 2019 04:18:51 +0000
(12:18 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 28 Mar 2019 04:18:51 +0000
(12:18 +0800)
Reported-and-tested-by: Mark Ellis
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
8d87f0c
..
11ac812
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-270,6
+270,9
@@
function init_hal_sensors()
modprobe hdaps
hal_sensors=hdaps
;;
+ *LINX1010B*)
+ set_property ro.iio.accel.z.opt_scale -1
+ ;&
*i7Stylus*|*M80TA*)
set_property ro.iio.accel.x.opt_scale -1
;;