[PATCH 0/5] Power supply and resume ordering meddling

Werner Almesberger werner at openmoko.org
Tue Jun 3 03:27:22 CEST 2008


Michael 'Mickey' Lauer wrote:
> a) This hardcoded behaviour should be configurable 
> (CONFIG_HARDCODED_CHARGING_LED) for people who rather want userland to be in 
> control of the LEDs.

Indeed. In fact, this is something that should be handled completely
in user space, without more kernel involvement than providing a means
to efficiently determine the charging state and changes to it.

What if we want to emit some sound instead of or in addition to the
LED ? Similar for special LED effects (blinking speed, duty cycle,
etc.)

There kernel is not the kind of entity that should connect such
things.

- Werner




More information about the openmoko-kernel mailing list