public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <lenb@kernel.org>,
	linux-acpi <linux-acpi@vger.kernel.org>,
	"trenn@suse.de" <trenn@suse.de>
Subject: Re: [PATCH] ACPI: disable the ACPI backlight control on laptops with buggy _BCL methods
Date: Thu, 8 Jan 2009 12:43:42 +0000	[thread overview]
Message-ID: <20090108124342.GA10458@srcf.ucam.org> (raw)
In-Reply-To: <1231396321.20746.79.camel@rzhang-dt>

On Thu, Jan 08, 2009 at 02:32:01PM +0800, Zhang Rui wrote:
> > Why? These all seem to behave consistently, so I can't see any problem 
> > with us simply adding support for this varient.
> the problem is that the ACPI backlight I/F and the platform I/F coexists
> before commit c3d6de698c84efdbdd3781b7058bcc339ab43da8 applied, and the
> platform I/F is preferred.

For the machines you've looked at - we don't know if that's true for all 
hardware that behaves this way.

> in bug 12249 and 12037,
> 1. the first two elements in _BCL are NOT the backlight levels when the
> platform is on AC or battery.

We can detect that easily and adjust behaviour accordingly.

> 2. _BQC returns the index of the current brightness in _BCL package
> rather than the value, which surely breaks the ACPI video driver.

And again, we can handle that.

> 2. every elements in the _BCL package is not a percentage of the maximum
> brightness, which is also a violation of ACPI spec.

This seems pretty irrelevant - nothing in the code depends on these 
being percentages.

> yes, we can make the ACPI backlight control work by using customized
> DSDT. But that's not the fix neither. I don't have any better ideas than
> disable them.

Just fix up video.c to handle these cases.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-01-08 12:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08  2:58 [PATCH] ACPI: disable the ACPI backlight control on laptops with buggy _BCL methods Zhang Rui
2009-01-08  3:11 ` Zhang Rui
2009-01-08  3:32 ` Matthew Garrett
2009-01-08  6:32   ` Zhang Rui
2009-01-08 12:43     ` Matthew Garrett [this message]
2009-01-09  1:13       ` Zhang Rui
2009-01-09  1:18         ` Matthew Garrett
2009-01-09  1:53           ` Zhang Rui
2009-01-09  1:55             ` Matthew Garrett

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=20090108124342.GA10458@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    --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