mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	"rpurdie@rpsys.net" <rpurdie@rpsys.net>
Subject: Re: [PATCH] backlight: provide sysfs percent brightness attribute
Date: Fri, 12 Mar 2010 14:33:42 -0300	[thread overview]
Message-ID: <20100312173341.GA4931@khazad-dum.debian.net> (raw)
In-Reply-To: <0D753D10438DA54287A00B02708426976368437C8D@AUSP01VMBX24.collaborationhost.net>

On Fri, 12 Mar 2010, H Hartley Sweeten wrote:
> It's usually more convenient to set the backlight brightness
> as a 'percent' of total brightness rather than using the raw
> 'brightness' value.

Well, that scale is often not linear, so you are not dealing with fractions
of the effective brightness, just with fractions of an arbritary scale
exported by the backend driver.  Much of the "usefulness" of a "percent"
scale dies right there.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

  parent reply	other threads:[~2010-03-12 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 17:10 H Hartley Sweeten
2010-03-12 17:27 ` Matthew Garrett
2010-03-12 17:33 ` Henrique de Moraes Holschuh [this message]
2010-03-12 17:39   ` Richard Purdie
2010-03-12 17:49     ` H Hartley Sweeten

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=20100312173341.GA4931@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=hartleys@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.net \
    /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

all inboxes | Powered by JetHome®