[Gta04-owner] Blinking LEDs on 3.2 kernel?
Radek Polak
psonek2 at seznam.cz
Fri Mar 9 01:33:10 CET 2012
On Thursday 08 March 2012 20:08:04 NeilBrown wrote:
> On Thu, 8 Mar 2012 15:26:05 +0100 Radek Polak <psonek2 at seznam.cz> wrote:
> > On Thursday 08 March 2012 15:13:50 Christoph Mair wrote:
> > > Yes. There should be something in /sys/class/leds. I can't remember
> > > the exact details, but Neil described them here on the ML.
> >
> > Yes I can see them, but i have figured out just "brightness" files that
> > accepts brightness 0..255
> >
> > On 2.6.32 blinking was possible by writing 17..31 values according to [1]
>
> modprobe ledtrig-timer
> echo /sys/class/leds/gta04:whatever/
> echo timer > trigger
> echo 10000 > delay_off
> echo 500 > delay_on
>
>
> See also
>
> http://lists.goldelico.com/pipermail/gta04-owner/2011-December/001043.html
>
Thanks a lot, it works perfectly. If i had more time i would write it on the
wiki. It would be nice to have someone watching the list and keeping up to
date docs for 3.2 kernel.
Regards
Radek
More information about the Gta04-owner
mailing list