Auto adjustment screen brightness with Ambient Light Sensor on i.MX8M Quad

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto adjustment screen brightness with Ambient Light Sensor on i.MX8M Quad

428 Views
Derek0902
Contributor II

Hi,

I have a project that need to control the screen brightness with ALS. 

Is there any way I can refer to ? 

 

Thanks & Regards,

Derek Lin

0 Kudos
Reply
3 Replies

410 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Derek0902 

1.Enable sensor in dts and kernel driver

2.The AOSP HAL layer will read iio device node to get data.

3.You may need open some configurations to enable Auto adjustment  feature in AOSP, but we don't provide reference.

 

Best Regards

Zhiming

0 Kudos
Reply

404 Views
Derek0902
Contributor II

Hi @Zhiming_Liu ,

 

But my OS is Linux 6.1 not Android, how can I do that?

 

Thanks & Regards,

Derek Lin 

0 Kudos
Reply

390 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi 

The current desktop environment(weston) can't support such feature.

Best Regards

Zhiming

0 Kudos
Reply