device/generic/common
Révision | 2b8b0393b9dc83cf97f694d05208f3a8a1829bb0 (tree) |
---|---|
l'heure | 2019-03-28 13:25:35 |
Auteur | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Merge remote-tracking branch 'x86/oreo-x86' into pie-x86
@@ -100,7 +100,14 @@ function init_hal_bluetooth() | ||
100 | 100 | |
101 | 101 | function init_hal_camera() |
102 | 102 | { |
103 | - return | |
103 | + case "$PRODUCT" in | |
104 | + e-tab*Pro) | |
105 | + set_prop_if_empty hal.camera.0 0,270 | |
106 | + set_prop_if_empty hal.camera.2 1,90 | |
107 | + ;; | |
108 | + *) | |
109 | + ;; | |
110 | + esac | |
104 | 111 | } |
105 | 112 | |
106 | 113 | function init_hal_gps() |
@@ -275,8 +282,8 @@ function init_hal_sensors() | ||
275 | 282 | modprobe hdaps |
276 | 283 | hal_sensors=hdaps |
277 | 284 | ;; |
278 | - *e-tabPro*) | |
279 | - set_property ro.iio.accel.quirks no-trig | |
285 | + *LINX1010B*) | |
286 | + set_property ro.iio.accel.z.opt_scale -1 | |
280 | 287 | ;& |
281 | 288 | *i7Stylus*|*M80TA*) |
282 | 289 | set_property ro.iio.accel.x.opt_scale -1 |
@@ -289,7 +296,7 @@ function init_hal_sensors() | ||
289 | 296 | *ST70416-6*) |
290 | 297 | set_property ro.iio.accel.order 102 |
291 | 298 | ;; |
292 | - *pnEZpad*) | |
299 | + *e-tabPro*|*pnEZpad*) | |
293 | 300 | set_property ro.iio.accel.quirks no-trig |
294 | 301 | ;& |
295 | 302 | *T*0*TA*) |