• 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/x86


Commit MetaInfo

Revisione552f3538cf23ffcbb236f247ce19a064cfb626d (tree)
Time2014-07-03 17:22:55
AuthorTanguy Pruvot <tanguy.pruvot@gmai...>
CommiterChih-Wei Huang

Log Message

acer: enable LIS302DL accelerometer sensor, incl. in hdaps

switch from pc to tablet mode should be implemented later
with props hal.sensors.axis.revert and hal.sensors.axis.order

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change Summary

Incremental Difference

--- a/init.sh
+++ b/init.sh
@@ -194,6 +194,11 @@ function init_hal_sensors()
194194 set_property ro.ignore_atkbd 1
195195 set_property poweroff.doubleclick 0
196196 ;;
197+ *Aspire1*25*)
198+ modprobe lis3lv02d_i2c
199+ set_property hal.sensors hdaps
200+ echo -n "enabled" > /sys/class/thermal/thermal_zone0/mode
201+ ;;
197202 *ThinkPad*Tablet*)
198203 set_property hal.sensors hdaps
199204 start wacom-input