Re: [RFC PATCH] led: add Cycle LED trigger.

From: Joe Perches
Date: Thu Jun 20 2013 - 14:13:01 EST


On Thu, 2013-06-20 at 11:44 +0200, Gaël PORTAY wrote:
> On 19/06/2013 00:05, Joe Perches wrote:
> > On Tue, 2013-06-18 at 18:24 +0200, Gaël PORTAY wrote:
> >> Currently, none of available triggers supports playing with the LED brightness
> >> level. The cycle trigger provides a way to define custom brightness cycle.
[]
> > I think maybe this is a userspace thing,
[]
> About the kernel/user space discussion, I'd rather keep the cycle
> trigger implementation in the kernel space,
> because it implies brightness change every 10-100ms or less. This leads
> to lots of context switches, and I'm not
> even sure the user space can handle such timings accurately.

Hi Gaël

No big concern other than maybe that's best done
in user space. Try it. If it doesn't work well,
then send the kernel patch with a description why
it doesn't work well in user-space.

cheers, Joe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/