linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: simon@mungewell.org
To: John Stoffel <john@stoffel.org>
Cc: simon@mungewell.org, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: Building BarGraph with LED subsystem
Date: Fri, 16 Mar 2012 12:38:50 -0400	[thread overview]
Message-ID: <f04eb1355e17dbe4ce7bbdd47da0056e.squirrel@mungewell.org> (raw)
In-Reply-To: <20323.25792.171143.809563@quad.stoffel.home>


> While making the kernel more complex... esp for a feature which is of
> such limited use.

Is the concept of a bargraph of LEDs really a 'limited use'? I can think
of several uses... I mean isn't flashing or a heart beat just as limited
;-)


> Do it all in userland, it's easier, you can use
> floating point math, etc.  And to test changes, you don't have to
> recompile a module and unload/reload it, etc.

For my application a user-land stub would do math to work out threshold
values and push current value (in the right format) into the LED
subsystem.

Once kernel framework is provided it should not need re-compilation on a
case by case basis.

Simon


  parent reply	other threads:[~2012-03-16 16:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 15:24 Building BarGraph with LED subsystem simon
2012-03-16 16:05 ` John Stoffel
2012-03-16 16:26   ` simon
2012-03-16 16:57     ` John Stoffel
2012-03-16 16:38   ` simon [this message]
2012-03-16 16:54     ` John Stoffel
2012-03-16 17:35       ` simon
2012-03-16 20:06         ` John Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f04eb1355e17dbe4ce7bbdd47da0056e.squirrel@mungewell.org \
    --to=simon@mungewell.org \
    --cc=john@stoffel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).