Closed adeebshihadeh closed 3 years ago
@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.
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.