Hi Nino,
Am 06.10.2017 um 14:56 schrieb Nino Bock askarus@openpandora.org:
Hi Nikolaus,
I think I finally sould come back to the display brightness graduation.
On 01.09.2017 09:50, H. Nikolaus Schaller wrote:
Am 01.09.2017 um 08:55 schrieb Nino Bock askarus@openpandora.org:
On 31.08.2017 15:58, H. Nikolaus Schaller wrote:
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.
I'll try. I know what the device tree is good for but never compiled one myself.
It should be possible to do it in the Pyra like this (coarse and not tested principle):
apt-get install build-essentials apt-get install git git clone http://git.goldelico.com/gta04-kernel.git # or other repo git checkout <<branch>> modify arch/arm/boot/dts/pyra-mainboard-5.1.dtsi # or other files make letux_defconfig dtbs locate new dtb files in arch/arm/boot/dtb and copy to boot directory (ideally on a separate system on SD so you don't overwrite your working one)
It doesn't work for me. Doing "make letux_defconfig dtbs" does work but I don't have a arch/arm/boot/dtb folder.
Oops. Did you git clone the kernel source tree?
You should see the dts folder like here:
http://git.goldelico.com/?p=gta04-kernel.git;a=tree;f=arch/arm/boot/dts;h=0b...
However I can find some dtb files in the /arch/arm/boot/dts folder. Putting them simply into the boot folder and reboot doesn't work. What else do I have to do? Do I need to recompile the whole Kernel?
No, only the dtb files.
BR, NIkolaus