Linux version not reading screen brightness or controling it

I have a display that is being driven over eDP on a RK3399 board and the screen brightness is controled by the system kernel where the OS can adjust the brightness of the screen. For testing, I input mapped the screen brightness to a slider on the screen and added a text gauge to see what the value of the screen brightness is. The text guage always reads 50 unless I move the slider up, but as soon as I release the slider the text gauge goes right back to 50 and the brightness of the screen doesn’t change. When I had this same setup built on Android, the screen brightness worked properly and was controllable from inside Realdash, but it’s not on Linux. Could this be something to do with the way the kernel was built and handled or is Realdash not able to read and control screen brightness in Linux? I would prefer to run Linux on the device and not run android for various other reasons.

The only way i could get Realdash to control the brightness of my screen on my Orange PI 5, was to run an external command line command. I am running:

sudo ddcutil getvcp 10

and that returns the brightness in a 0-100 scale. Then to set i just:

sudo ddcutil setvcp 10 X

where X is the brightness int from 0-100.

That’s a possibility of setting that up and I think that will work if there’s no way of getting it fixed inside RealDash.

@realdashdev is this an issue inside the Linux version?

I can try to put this into next version.

Awesome. Thank you for working on that.

@Herleybob can you check on your Orange Pi 5 if this command also controls the brightness?

echo 100 | sudo tee /sys/class/backlight/backlight/brightness

I’m thinking that if it’s in the sys tree that might make it more universal in controlling the brightness than using ddcutil as ddcutil doesn’t work with some displays.