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
(parent:
92f6165
)
init.sh: fix sensors support of EZpad
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 21 Jan 2019 08:52:51 +0000
(16:52 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 21 Jan 2019 08:52:51 +0000
(16:52 +0800)
Tested-by: Yu Zhao <zhaoyu574249312@gmail.com>
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
d6257ac
..
fae2433
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-271,7
+271,10
@@
function init_hal_sensors()
*ST70416-6*)
set_property ro.iio.accel.order 102
;;
- *T*0*TA*|*pnEZpad*)
+ *pnEZpad*)
+ set_property ro.iio.accel.quirks no-trig
+ ;&
+ *T*0*TA*)
set_property ro.iio.accel.y.opt_scale -1
;;
*)