AnsweredAssumed Answered

add more brightness level

Question asked by 铭恒 李 on Jul 3, 2020
Latest reply on Jul 5, 2020 by karan gajjar

Hi

I want to set brightness by setting /sys/class/backlight/backlight/brightness.

But I find the max_brightness is 7,which means that the level is from 0 to 7.

I want to add more level (from 0 to 100) ,but how to know which file is it in ../arch/arm/dts/

 

I also find some files, but the levels they define are not suitable.

e.g.

# they have 9 levels not 8 levels

arch/arm/dts/am437x-sk-evm.dts:35: brightness-levels = <0 51 53 56 62 75 101 152 255>;
arch/arm/dts/am437x-gp-evm.dts:63: brightness-levels = <0 51 53 56 62 75 101 152 255>;
arch/arm/dts/am335x-evm.dts:105: brightness-levels = <0 51 53 56 62 75 101 152 255>;

 

Regards

Mihan

Outcomes