Re: best way to handle LEDs

From: root
Date: Tue Nov 01 2005 - 20:58:08 EST


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.

I know the TI avalanch platform has a quite complicated led driver, which I
think is much overworked since it allows led settings based on logical
states. This should all be in userspace.

Gruss
Bernd
-
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/