<clfbbn>
I found that the kernel provides a brightness of 4096 steps from /sys/class/backlight/panel0-backlight/max_brightness. However, I tried to decompile the frameworkres overlays and the config_screenBrightnessBacklight only ranges from 0-255, causing the display panel too dark..
<LuK1337>
uh. you don't really want to care anymore
<LuK1337>
remove display brightness suport from lights hal
<LuK1337>
and your brightness should be handled via DRM
<clfbbn>
Ok, so "case (int)LightType::BACKLIGHT:" will not do anything but just return "ndk::ScopedAStatus::ok()'
<LuK1337>
don't even claim you support backlight
<clfbbn>
OK
<clfbbn>
Does DRM mean "Direct rendering manager"? When I removed BACKLIGHT support from lights hal, the backlight no longer works. I saw from a youtube video on DRM/KMS that there could be some userspace "libdrm" staff. Is that what I miss?
<LuK1337>
it should be supported by your display hal