[Ksummit-discuss] [CORE TOPIC] Mainline kernel on a cellphone

Pavel Machek pavel at ucw.cz
Thu Jul 23 21:29:56 UTC 2015


On Thu 2015-07-23 14:00:18, josh at joshtriplett.org wrote:
> On Thu, Jul 23, 2015 at 10:29:02PM +0200, Pavel Machek wrote:
> > Questions I had in mind:
> > 
> > 1) RGB leds. They are not same as 3 leds. Plus there' hw acceleration
> > on them. How to support them?
> 
> Seems like internally we should treat them as 3 LEDs, but the interface
> to userspace or to the LED trigger mechanism should group the three
> brightness values together rather than handling them separately.

Yes. It should me "make it show magenta" not "set red to x, blue to y,
green to z"...

> Is the hardware acceleration something more than PWM?

Yes. It can do quite complex patterns autonomously. "Blink red three
times, then slowly go to full brightness and back". It can do as
complex stuff as blink n times, then delay, for n is prime
number.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the Ksummit-discuss mailing list