diff options
author | Thierry Strudel <tstrudel@google.com> | 2015-05-22 09:22:39 -0700 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-05-22 09:22:39 -0700 |
commit | 600a1170a0eeb5d3b7b637a09557bc66e4eac3c2 (patch) | |
tree | 614ea8c4684357d227831b526e5a8f0706e2e2bd /init.bullhead.sensorhub.rc | |
parent | 7450c76721b9bfc4ce47d78f93b85bcc075b6cc8 (diff) | |
download | bullhead-600a1170a0eeb5d3b7b637a09557bc66e4eac3c2.tar.gz |
sensorhub init: power Hall Sensor
Change-Id: I05272ae9b5e66620c3981c6bfd44910fd319436c
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Diffstat (limited to 'init.bullhead.sensorhub.rc')
-rw-r--r-- | init.bullhead.sensorhub.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init.bullhead.sensorhub.rc b/init.bullhead.sensorhub.rc index 0fe4bf7..a96c462 100644 --- a/init.bullhead.sensorhub.rc +++ b/init.bullhead.sensorhub.rc @@ -16,6 +16,9 @@ on post-fs chown system system /sys/class/gpio/gpio66 chown system system /sys/class/gpio/gpio66/value chown system system /sys/class/gpio/gpio66/direction + ## set gpio75 as input to power the hall sensor when connected to AP + write /sys/class/gpio/export 75 + write /sys/class/gpio/gpio75/direction in ## The FW must be flashed before the HAL starts ## A complete flash happens only on FW update ## it takes ~2s to check if FW is up to date |