This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello folks,
We are working on the universal remote project that uses the OPT3004 ALS.
We are looking for the vendor HAL and integration guide for the OPT3004 ALS with AOSP14.
SoC: Rockchip RK3575
OS: Android14
Can you please provide the Vendor HAL and how to integrate with the AOSP14 guide?
Hi Kishan,
Could you explain what you mean by HAL? Are you requesting drivers for the OPT3004? If so, please refer to the following post:
https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/872229/faq-opt300x-family-parts-what-are-the-available-drivers-for-ti-s-family-of-ambient-light-sensors
As for integration guidelines for android 14, we do not have any documentation we can provide.
Thanks,
Daniel Balmaceda
Hi Daniel Balmaceda
We have bring-up the sensor at the kernel level but to pass the sensor data to Android frameworks we required the HAL Layer code.
Can you please help with the HAL later code?
Hi Kishan,
Let me check with the software team to see if we can provide something like this.
Thanks,
Daniel Balmaceda
Hi Kishan,
We currently do not have something like this; however, the software team will reach out on this week on the first week of December. Does this align with your timeline?
I apologize for the delay here.
Thanks,
Daniel
Hi Kishan,
We would like more clarification on what your current setup looks like and what the final product is in order to provide further assistance.
1. Can you please share your kernel level driver code? Are you using our TI linux drivers?
2. Can you share a few screenshots showing that the bring up was successful?
3. How will this look like in its final form once you are able to get the HAL layer code?
4. Do you have any example code you can share for any other sensor?
Thanks,
Daniel
Hello Daniel Balmaceda
1. Link for the kernel driver code: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/light/opt3001.c
2. Bringup screenshots:
3. If we receive the HAL layer code, we can pass the lux value to the AOSP sensor HAL and Android framework to control the display brightness according to the lux value.
4. Currently, we don't have an example for the light sensor vendor HAL, but mostly, the sensor manufacturer provides vendor HAL.
Hi Kishan,
Thank you for providing the additional details, let me discuss this with the team.
Thanks,
Daniel
Hi Kishan,
No update yet, once I receive feedback from our software expert I will notify you over email.
Thanks,
Daniel