• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revisão814774b3b38ffbbc23c09bf40f14df960ab4eb3a (tree)
Hora2019-12-10 11:41:01
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Mensagem de Log

init.sh: add quirks for more devices

* ASUS M80TA (tested-by: Mydaet)
* Cube i7 Stylus (tested-by: yangdalao)

Mudança Sumário

Diff

--- a/init.sh
+++ b/init.sh
@@ -299,9 +299,13 @@ function init_hal_sensors()
299299 hal_sensors=hdaps
300300 ;;
301301 *LINX1010B*)
302+ set_property ro.iio.accel.x.opt_scale -1
302303 set_property ro.iio.accel.z.opt_scale -1
304+ ;;
305+ *i7-WN*)
306+ set_property ro.iio.accel.quirks no-trig
303307 ;&
304- *i7Stylus*|*M80TA*)
308+ *i7Stylus*)
305309 set_property ro.iio.accel.x.opt_scale -1
306310 ;;
307311 *LenovoMIIX320*|*ONDATablet*)
@@ -318,7 +322,7 @@ function init_hal_sensors()
318322 *e-tabPro*|*pnEZpad*)
319323 set_property ro.iio.accel.quirks no-trig
320324 ;&
321- *T*0*TA*)
325+ *T*0*TA*|*M80TA*)
322326 set_property ro.iio.accel.y.opt_scale -1
323327 ;;
324328 *)