STMicroelectronics / STMems_Android_Sensor_HAL_IIO

DISCONTINUED (October 2022): the maintenance for this repository has been discontinued. Please refer to https://github.com/STMicroelectronics/st-mems-android-linux-sensors-hal for the up-to-date HAL repository. This repository contains ST Android sensor Hardware Abstraction Layer (HAL) for MEMS Linux IIO drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using LIS3DH accelerometer for screen rotation.

ArturoEsteban opened this issue · comments

Hello,

I opened a ticket on the STM support forum, basically we have integrated the STM-IIO-accel drivers and HAL for an Android 11 i.MX based board.
https://community.st.com/s/question/0D53W00001boZmgSAE/could-you-please-explain-me-if-the-stm-android-sensor-iio-hal-calibration-tool-is-an-external-apk-and-provide-information-about-how-could-i-enable-and-run-the-calibrationdaemon

We expected that the previously mentioned steps were enough for our device to have screen rotation capabilities.
I noted some “calibration-library” and “calibration daemon” references in the HAL code, I was wondering if such library/daemon are needed for the device to be able to rotate the screen using the STM-IIO-accel framework, or if we are missing any other source, could you please confirm?

Any guidance will be highly appreciated,
Thanks, and best regards,
Esteban V.