logo       

Re: RFC: LED Core, Class and Triggers: msg#00003

handhelds.linux.kernel

Subject: Re: RFC: LED Core, Class and Triggers

On Wed, 2005-11-30 at 19:53 +0100, Pavel Machek wrote:
> > > Another feature with regard to blinking that would be useful would be to
> > > be
> > > able to specify separately the amount of time the LED is on and off; e.g.
> > > on
> > > for 150 ms, off for 2000 ms. Last I checked, the on/off duration was
> > > equal.
> >
> > That should be trivial to add to the timer trigger.
>
> This probably should be done before mainline merge, so that interface
> does not change after merge?

Maybe not so trivial but still simple to do. After some thought, I think
the easiest way to handle this is with a second timer trigger module
with different functionality. The system is quite generic so this is
easy to add.

I've sent the LED code to LKML so lets see what happens :).

Richard


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise