lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131225230935.GB13593@amd.pavel.ucw.cz>
Date:	Thu, 26 Dec 2013 00:09:35 +0100
From:	Pavel Machek <pavel@....cz>
To:	lgxue@...mail.com
Cc:	cooloney@...il.com, rpurdie@...ys.net, rob@...dley.net,
	milo.kim@...com, linux-leds@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH] Add the LED burst trigger

Hi!

> +Sometimes, the system has only one no-color led to indicate different stats.
> +The LED timer trigger can let LEDs to blink in different frequency, but most
> +people maybe just can discriminate two states, slow and fast.
> +
> +In this case, Morse code maybe is a good choice :-), but who can bear it.
> +
> +Besides the Morse code, another way is using burst mode. People can easily tell
> +how many times the LED blinks in one cycle.

Would it make sense to make this a bit more capable, including the
morse code?

Actually... N900 has rather complex LED blinking hardware. (Yes, it
has dedicated chip that can run simple "programs" for LED blinking).

It would be cool to have reasonable interface for N900 leds... and
perhaps its subset would work for you, too...

http://wiki.maemo.org/LED_patterns

									Pavel

> +     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)
> +     ...off 500ms
> +     ...
> +
> +     Example 2
> +
> +     echo burst > trigger
> +     echo 4 > freq
> +     echo 3 > times
> +     echo 1000 > delay_off

Hmm, would something like

echo 40 > step_length_ms
echo "- - -          " > pattern

do the same trick?

Plus, you could for example do

echo "- ---        " > pattern

to do morse code...

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ