LED devices

Richard Purdie rpurdie at openedhand.com
Mon Jun 4 02:29:29 PDT 2007


On Fri, 2007-06-01 at 21:08 +0200, Johannes Berg wrote:
> On Fri, 2007-06-01 at 16:50 +0100, Richard Purdie wrote:
> 
> > A given trigger gets to decide which LEDs it supports through an
> > optional "supported" style function pointer. There was a patch on LKML
> > which I'm planning to apply.
> 
> Hm, ok. I don't think I care enough to dig it up ;)
> 
> > Its an important case as there are some LEDs which have a hardwired
> > trigger which can't be shared with other LEDs.
> 
> This I don't understand though, then the whole purpose of the LED
> framework goes down to being able to disable that LED by using "none" or
> enable it by using that specific trigger?

The "global" triggers are still supported, it just allows some hardware
specific trigger to appear in addition to the others and allows it to be
enabled in the standard way.

Regards,

Richard



More information about the hal mailing list