Openpilot: Merge sensord and qualcomm sensor daemon

Created on 21 Sep 2020  路  7Comments  路  Source: commaai/openpilot

Currently, sensord and sensors.qcom use about 10% of a core. sensord should be able to work without the qualcomm daemon and without going through android.

enhancement

Most helpful comment

@ihsakashi thank you!
I think we're going to bypass the entire android sensor framework .but this link is still helpful to me.

All 7 comments

@deanlee are you interested in looking into this one?

I'll try.is there any information or tips I need to know?

This is only for sensors_qcom.cc. Here's an overview of the android sensor stack - https://source.android.com/devices/sensors/sensor-stack. I believe all the sensor drivers should be here https://github.com/commaai/android_kernel_comma_msm8996/tree/master/drivers/input/misc. Should be a fun project :)

https://source.codeaurora.org/quic/la/platform/hardware/qcom/sensors/. This is Qualcomm's sensor HAL implementation. I do not know if these go all the way back to marshmallow but they should help

@ihsakashi thank you!
I think we're going to bypass the entire android sensor framework .but this link is still helpful to me.

Np, bypassing is going to be better

@adeebshihadeh Is this sensor list correct?
LSM6DS3
AK09911
LTR579
Are you sure all the drivers are in here?: https://github.com/commaai/android_kernel_comma_msm8996/tree/master/drivers/input/misc.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FallenDev picture FallenDev  路  6Comments

hlezki picture hlezki  路  3Comments

Alifarajalla picture Alifarajalla  路  3Comments

arne182 picture arne182  路  4Comments

franz101 picture franz101  路  3Comments