[Gta04-owner] Blinking LEDs on 3.2 kernel?

NeilBrown neilb at suse.de
Thu Mar 8 21:08:04 CET 2012


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

NeilBrown

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120309/cfd73d72/attachment.bin>


More information about the Gta04-owner mailing list