Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the lsm6dsl driver on Android 10 #10

Open
erhan14 opened this issue May 5, 2021 · 0 comments
Open

Running the lsm6dsl driver on Android 10 #10

erhan14 opened this issue May 5, 2021 · 0 comments

Comments

@erhan14
Copy link

erhan14 commented May 5, 2021

We are using AOSP (Android 10). Kernel version is 5.4.47
imu/lsm6dsm driver in 4.19 branch ported to Linux 5.4.47
STMems_Android_Sensor_HAL_IIO/ HAL integrated into Android 10
Sensor is LSM6DSL

05-05 13:02:43.222 317 317 D SensorHAL: 10 IIO devices available into /sys/bus/iio/devices/ folder.
05-05 13:02:43.223 317 317 D SensorHAL: "lsm6dsl_step_d": IIO device found and supported. Wake-up sensor: no
05-05 13:02:43.223 317 317 D SensorHAL: "lsm6dsl_sign_motion": IIO device found and supported.
05-05 13:02:43.224 317 317 D SensorHAL: "lsm6dsl_accel": IIO device found and supported. Wake-up sensor: no
05-05 13:02:43.255 317 317 D SensorHAL: "lsm6dsl_tilt": IIO device found and supported.
05-05 13:02:43.257 317 317 D SensorHAL: "lsm6dsl_step_c": IIO device found and supported. Wake-up sensor: no
05-05 13:02:43.258 317 317 D SensorHAL: "lsm6dsl_gyro": IIO device found and supported. Wake-up sensor: no
05-05 13:02:43.296 317 317 D SensorHAL: "LSM6DSL Step Detector Sensor": injection mode not available.
05-05 13:02:43.296 317 317 D SensorHAL: "LSM6DSL Step Detector Sensor": created HW class instance, handle: 1 (sensor type: 18).
05-05 13:02:43.296 317 317 D SensorHAL: "LSM6DSL Significant Motion Sensor": injection mode not available.
05-05 13:02:43.296 317 317 D SensorHAL: "LSM6DSL Significant Motion Sensor": created HW class instance, handle: 2 (sensor type: 17).
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Accelerometer Sensor": injection mode not available.
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Accelerometer Sensor": created HW class instance, handle: 3 (sensor type: 1).
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Tilt Sensor": injection mode not available.
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Tilt Sensor": created HW class instance, handle: 4 (sensor type: 22).
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Step Counter Sensor": injection mode not available.
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Step Counter Sensor": created HW class instance, handle: 5 (sensor type: 19).
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Gyroscope Sensor": injection mode not available.
05-05 13:02:43.297 317 317 D SensorHAL: "LSM6DSL Gyroscope Sensor": created HW class instance, handle: 6 (sensor type: 4).
05-05 13:02:43.297 317 317 D SensorHAL: "Accelerometer Uncalibrated Sensor": created SW class instance, handle: 7 (sensor type: 35).
05-05 13:02:43.299 317 317 D SensorHAL: Dynamic Sensor Manager: created Dynamic Sensor Proxy, handle: 8 (sensor type: 32).
05-05 13:02:43.299 317 317 D SensorHAL: 8 sensors available and ready.

When we want to test it with sample APKs in the market the following log is output:

[ 307.355780] st-lsm6dsm-i2c 2-006b: data fifo overrun, failed to read it.

Can you send us what can cause this and steps needed to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant