Hammerhead: backlight issue.
Hi,
I open a main issue for nexus 5 backlight problem.
General question: So that I can work on this with most ease, can you tell what is the easiest way to recompile and flash on nexus 5 a modified version of the kernel (with just few modifications in some source files)?
Apparently the issue is that only ledA is enabled, and we also need ledB: /sys/class/backlight/lm3630a_leda
exists but we should also have /sys/class/backlight/lm3630a_ledb
which is currently not there.
What is very weird is that initially flto made a commit to disable ledB, by mistake according to himself, that could cause the issue: https://github.com/flto/linux/commit/72bbd453848b5aaf73b471106494ffa9064196e1
But this commit does not seem to be included in our kernel: https://gitlab.com/postmarketOS/linux-postmarketos/blob/master/drivers/video/backlight/lm3630a_bl.c
/* default values */
pdata->leda_ctrl = LM3630A_LEDA_ENABLE;
pdata->ledb_ctrl = LM3630A_LEDB_ENABLE;
So for now I don't really get why we don't have ledB appearing as well as ledA.
See Also: https://github.com/flto/linux/issues/1