From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH] Add the LED burst trigger Date: Thu, 26 Dec 2013 12:18:37 +0100 Message-ID: References: <1387895407-28031-1-git-send-email-lgxue@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-pd0-f169.google.com ([209.85.192.169]:41218 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826Ab3LZLSi (ORCPT ); Thu, 26 Dec 2013 06:18:38 -0500 In-Reply-To: <1387895407-28031-1-git-send-email-lgxue@hotmail.com> Sender: linux-leds-owner@vger.kernel.org List-Id: linux-leds@vger.kernel.org To: lgxue@hotmail.com Cc: Bryan Wu , Richard Purdie , Rob Landley , "Milo(Woogyom) Kim" , linux-leds@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-doc@vger.kernel.org On Tue, Dec 24, 2013 at 3:30 PM, wrote: > +Three properties are exported. They are freq, times and delay_off. > + > + freq - the blink frequency, default value is 3 means 3HZ Please write "3 Hz". In the kernel "HZ" means the number of jiffies per second, and "3 HZ" thus represents a 3-second period. > + times - burst blink times in one cycle, no default value > + delay_off - off time between two burst blinks, default value is 500 ms > + > +2. Case studies > + > + Example 1 > + > + echo burst > trigger > + echo 2 > times > + > + The behaviour is like below: > + > + on(1/6s)off(1/6s)on(1/6s)off(1/6m) > + ...off 500ms... > + on(1/6s)off(1/6s)on(1/3s)off(1/6m) on(1/6s)off(1/6s)on(1/6s)off(1/6s) > + ...off 500ms Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds