Messages in this thread | | | Date | Wed, 2 Nov 2005 12:40:39 +0100 (CET) | From | Geert Uytterhoeven <> | Subject | Re: best way to handle LEDs |
| |
On Wed, 2 Nov 2005, root wrote: > In article <20051101234459.GA443@elf.ucw.cz> 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@linux-m68k.org
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |