Re: best way to handle LEDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux