public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@mail.ru>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Thomas Renninger <trenn@suse.de>, Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org
Subject: Re: [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality
Date: Thu, 13 Nov 2008 07:58:09 +0300	[thread overview]
Message-ID: <200811130758.13420.arvidjaar@mail.ru> (raw)
In-Reply-To: <20081113013259.GA24790@srcf.ucam.org>

[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]

On Thursday 13 November 2008, Matthew Garrett wrote:
> On Wed, Nov 12, 2008 at 05:41:35PM -0600, Thomas Renninger wrote:
> > On Tuesday 11 November 2008 02:04:15 pm Len Brown wrote:
> > > so when i apply this patch, i get fewer brightness levels.
> > > I prefer to have all 8 brightness levels.
> > 
> > The patch from Andrey is correct.
> > Looks like all, the ordinary user needs, and probably the way it works on a  
> > plain Vista OS is there: off, battery, full level.
> > You can still use the boot param for your specific needs:
> > acpi_display_output=vendor
> 
> The Toshiba BIOSes I've looked at all implement the ACPI code on top of 
> the legacy interface. Do you have examples where that's not the case? If 
> not, I don't see the harm in exposing both.
> 

See http://marc.info/?l=linux-acpi&m=122068736714509&w=2 and related thread.

Basically situation is as follows:

- since some time both video and toshiba_acpi attempt to drive brightness

- on some (many? most?) Toshiba laptops standard-conform ACPI implementation
is inferior in that it is less fine grained than HCI one

- exposing two knobs for the *same* thing confuses user level tools; you never
know which one is used and they compete behind your back

- so effectively on Toshiba you *must* use acpi_brightness=vendor or use
similar default in video_detect.c

- in which case we may just as well play it consistent and add support for
video/vendor switch to toshiba_acpi in case someone does want to use ACPI knob
(be it even only for testing).

So the actual question is - how we detect Toshiba and default to vendor
brightness control?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-11-13  4:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 13:37 [PATCH] toshiba_acpi: fingers off backlight if video.ko is serving this functionality Andrey Borzenkov
2008-11-11 20:04 ` Len Brown
2008-11-12 23:41   ` Thomas Renninger
2008-11-13  1:32     ` Matthew Garrett
2008-11-13  4:58       ` Andrey Borzenkov [this message]
2008-11-13 11:11         ` Matthew Garrett
2008-11-15 16:30           ` Andrey Borzenkov
2008-11-15 16:54             ` Matthew Garrett
2008-11-15 17:05               ` Andrey Borzenkov
2008-11-15 17:11                 ` Matthew Garrett
2008-11-15 17:17                   ` Andrey Borzenkov
2008-11-15 17:20                     ` Matthew Garrett
2008-11-15 18:42                       ` Andrey Borzenkov
2008-11-15 18:49                         ` Matthew Garrett
2008-11-16 12:51                           ` Henrique de Moraes Holschuh
2008-11-16 21:44                             ` Thomas Renninger
2008-11-17  2:07                               ` Henrique de Moraes Holschuh
2008-11-27  5:19                                 ` Len Brown
2008-11-27 11:39                                   ` Video.ko-vs-toshiba.ko-more-brightness-levels-win Thomas Renninger
2008-11-27 11:39                                   ` [PATCH 1/2] ACPI: acpi_video_backlight_support return found generic video brightness levels Thomas Renninger
2008-11-27 12:08                                     ` Thomas Renninger
2008-11-27 11:39                                   ` [PATCH 2/2] Video.ko vs toshiba.ko - more brightness levels win Thomas Renninger

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=200811130758.13420.arvidjaar@mail.ru \
    --to=arvidjaar@mail.ru \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=trenn@suse.de \
    /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