Re: [RFC] ledtrig-dither: A Poor man's adjustable LED brightness.

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

 



> Hmm. You could do led=on, udelay(100), led=off. Do that 100 times a
> second, and I believe you'll get quite nice low levels.

I don't want to keep the CPU busy on a delay() just for blinking led,
even if only for a few micros.

> Now... nice hack. Probably can be improved. But is it suitable for
> mainline?

Thank you =)

It's a proof of concept for now, definitely not ready for mainline.

Instead of a LED trigger + wrapper LED entry, I think this should kick in
if we set 'myled/dither=1' or something like that.

Now, do you think it would be a nice addition / Should I put more work on it?

Thanks for looking into it



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux