public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Yves-Alexis Perez <corsac@debian.org>,
	airlied@linux.ie, linux-kernel@vger.kernel.org,
	linux-acpi@vger.kernel.org
Subject: Re: [PATCH] Add Intel ACPI IGD OpRegion support
Date: Tue, 5 Aug 2008 23:32:48 -0300	[thread overview]
Message-ID: <20080806023247.GA4665@khazad-dum.debian.net> (raw)
In-Reply-To: <20080806001301.GA10630@srcf.ucam.org>

On Wed, 06 Aug 2008, Matthew Garrett wrote:
> On Tue, Aug 05, 2008 at 11:47:54PM +0200, Yves-Alexis Perez wrote:
> > In booted into X (with hal, powersaved, dbus etc. running), and then,
> > tada, brightness keys work. There is a 750ms (I guess) delay, and I
> > don't know who is really responsible, I guess X is. (and thus I guess
> > the opregion is the one needed, and X manages the brightness. If the
> > kernel was, it would be working even in single user)
> 
> The 750ms delay is from thinkpad-acpi. I sent a patch to Henrique which 
> makes it go away, but I'm not entirely sure what the ACPI method 
> concerned is supposed to be doing. The opregion code won't currently run 
> until X is started because the drm layer requires X to be the foreground 
> vt before handling IRQs.

Well, for what is it worth, thinkpad-acpi has a knob (brightness_mode) which
can be used.  Set it to CMOS mode (see docs).  From what I recall, it should
do what your patch does.

-- 
  "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

  reply	other threads:[~2008-08-06  2:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 18:37 [PATCH] Add Intel ACPI IGD OpRegion support Matthew Garrett
2008-08-05 19:44 ` Yves-Alexis Perez
2008-08-05 21:47   ` Yves-Alexis Perez
2008-08-06  0:13     ` Matthew Garrett
2008-08-06  2:32       ` Henrique de Moraes Holschuh [this message]
2008-08-06  5:44         ` Yves-Alexis Perez
2008-08-06  6:34         ` Matthew Garrett
2008-08-06  6:50           ` Yves-Alexis Perez
2008-08-06 12:29           ` Henrique de Moraes Holschuh

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=20080806023247.GA4665@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=airlied@linux.ie \
    --cc=corsac@debian.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.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