Hi Nino,
Am 31.08.2017 um 08:44 schrieb Nino Bock askarus@openpandora.org:
Hello,
I did write a script to easily set the screen brightness. I noticed that we have 10 brightness level and the difference between the graduations is pretty big and noticeable. Especially between the darkest and second darkest level. Having than 10 brightness level would be great. The Pandora has a lot. 50 I guess and the script decides how many graduations per button press the brightness is increased/decreased. I like that solution. Maybe one could increase the brihtness level and I'll adjust the script then.
Can you try to compile your own device tree? This would allow you to work out a better definition of the steps.
Here is the definition of the backlight levels:
http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=arch/arm/boot/dts/pyra...
Basically it works as follows:
brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
This means there are 10 levels above 0. So it is basically linear - but I don't remember where the "11" instead of 10 comes from. Maybe a typo nobody did notice so far...
Now psychophysics knows that the eye is a non-linear sensor for brightness. Therefore an exponentially growing curve could indeed fit better.
Maybe something like <0 1 2 3 5 10 20 33 50 100> or with more intermediate steps.
That would be the direction I would play with.
One thing not to forget is to define a default brightness level number.
BTW: 10 brightness level for the Keyboard are fine.
Fine!
BR, Nikolaus