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

On Fri, 2010-03-12 at 14:33 -0300, Henrique de Moraes Holschuh wrote:
> 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.

This patch does nothing to address that though.

I agree this is a userland issue and having two interfaces to the kernel
to do the same thing is not a good idea in general.

So no, I'm not going to take that patch, sorry.

Cheers,

Richard


  reply	other threads:[~2010-03-12 17:40 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
2010-03-12 17:39   ` Richard Purdie [this message]
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=1268415585.1625.13.camel@rex \
    --to=rpurdie@rpsys.net \
    --cc=hartleys@visionengravers.com \
    --cc=hmh@hmh.eng.br \
    --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

all inboxes | Powered by JetHome®