Re: [RFC] ledtrig-dither: A Poor man's adjustable LED brightness.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hmm. Can we simply use blinking trigger to do that?

To some extent...

If you just want to have 50% brightness, set timeon=1, timeoff=1 and
you are done.

But, accurately seting the brightness to weird numbers is harder.
E.g., To get 37% brightness your only chance is to set timeon=37,
timeoff=63 (Or multiples of it).

The larger delay causes very visible flickering, which sucks.



This trigger uses error propagation to continously adjusts the delay,
getting a higher blink frequency and accurate average brightness.

E.g., For 37% it will alternate between 33% (timeon=1,timeoff=2) and
50% (timeon=1,timeoff=1)



Unfortunately, it doesn't really help when the brightness is near 0%
or near 100%.
E.g., for 1% brightness, this trigger it is equivalent to
timeon=1,timeoff=99 -- Flickering is very visible.



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux