device/generic/common
Revision | 814774b3b38ffbbc23c09bf40f14df960ab4eb3a (tree) |
---|---|
Time | 2019-12-10 11:41:01 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.sh: add quirks for more devices
* ASUS M80TA (tested-by: Mydaet)
* Cube i7 Stylus (tested-by: yangdalao)
@@ -299,9 +299,13 @@ function init_hal_sensors() | ||
299 | 299 | hal_sensors=hdaps |
300 | 300 | ;; |
301 | 301 | *LINX1010B*) |
302 | + set_property ro.iio.accel.x.opt_scale -1 | |
302 | 303 | set_property ro.iio.accel.z.opt_scale -1 |
304 | + ;; | |
305 | + *i7-WN*) | |
306 | + set_property ro.iio.accel.quirks no-trig | |
303 | 307 | ;& |
304 | - *i7Stylus*|*M80TA*) | |
308 | + *i7Stylus*) | |
305 | 309 | set_property ro.iio.accel.x.opt_scale -1 |
306 | 310 | ;; |
307 | 311 | *LenovoMIIX320*|*ONDATablet*) |
@@ -318,7 +322,7 @@ function init_hal_sensors() | ||
318 | 322 | *e-tabPro*|*pnEZpad*) |
319 | 323 | set_property ro.iio.accel.quirks no-trig |
320 | 324 | ;& |
321 | - *T*0*TA*) | |
325 | + *T*0*TA*|*M80TA*) | |
322 | 326 | set_property ro.iio.accel.y.opt_scale -1 |
323 | 327 | ;; |
324 | 328 | *) |