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

Sean McNeil sean at mcneil.com
Tue Jun 3 04:15:39 CEST 2008


Werner Almesberger wrote:
> 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
>   
I agree. I would like to strongly protest to having any functionality 
like this in the kernel. I am OK with the boot loader doing something 
like this, but the kernel should not be providing application-type 
behavior. I want to control what the LEDs do myself.





More information about the openmoko-kernel mailing list