Re: best way to handle LEDs

From: Geert Uytterhoeven
Date: Wed Nov 02 2005 - 06:40:46 EST


On Wed, 2 Nov 2005, root wrote:
> In article <20051101234459.GA443@xxxxxxxxxx> you wrote:
> > +static ssize_t leds_store_frequency(struct class_device *dev, const char *buf, size_t size)
>
> how about using a on and a off timer, so you can set up 50,50 or 10,90 or
> stuff like that to make different pulse.

Or the heartbeat that goes faster if load average increases, as is already
implemented on some archs?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/