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:
9ae68f1
)
init.sh: fix the Cube i7 Stylus tablet sensor orientation
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 3 Jun 2016 04:25:41 +0000
(12:25 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 3 Jun 2016 04:25:41 +0000
(12:25 +0800)
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
20161d6
..
9ed35ab
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-218,6
+218,9
@@
function init_hal_sensors()
modprobe hdaps
hal_sensors=hdaps
;;
+ *i7Stylus*)
+ set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1
+ ;;
*)
;;
esac