From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Tobias Diedrich <ranma+kernel@tdiedrich.de>,
Pavel Machek <pavel@ucw.cz>,
kernel list <linux-kernel@vger.kernel.org>,
ibm-acpi@hmh.eng.br, ibm-acpi-devel@lists.sourceforge.net
Subject: Re: 2.6.31-rc2: thinkpad boots with backlight low
Date: Wed, 15 Jul 2009 21:06:21 -0300 [thread overview]
Message-ID: <20090716000621.GA23073@khazad-dum.debian.net> (raw)
In-Reply-To: <20090715225936.GA30370@yamamaya.is-a-geek.org>
On Thu, 16 Jul 2009, Tobias Diedrich wrote:
> Ok, after compiling it as a module and trying a few variations, it
> seems that on my X41 Tablet only brightness_mode=2 works, that is
> TPACPI_BRGHT_MODE_UCMS_STEP.
Ok...
> This is contrasted by thinkpad_acpi.c which states:
> |if (acpi_evalf(ec_handle, NULL, "HBRV", "qd"))
> | /* T40-T43, R50-R52, R50e, R51e, X31-X41 */
> | brightness_mode = TPACPI_BRGHT_MODE_ECNVRAM;
> |else
> | /* all other IBM ThinkPads */
> | brightness_mode = TPACPI_BRGHT_MODE_UCMS_STEP;
>
> So TPACPI_BRGHT_MODE_ECNVRAM looks broken somehow?
Does the brightness change if you mess with /proc/acpi/ibm/brightness ? If
it doesn't, then it means your thinkpad doesn't use the EC to control
brightness.
And that will, of course, cause the driver to set the brightness in NVRAM to
zero (but it *should* do so for shutdown as well, not just machine-restart.
You may have uncovered two bugs, not just one), which will be honoured by
the BIOS on the next reboot/power up.
> I assume that the autodetection finds the HBRV acpi function and
> selects the former, resulting in a not working backlight control.
Yes.
Please send me by private mail the output of acpidump and dmidecode (so that
I will have them both in the same place). I will blacklist your thinkpad to
force TPACPI_BRGHT_MODE_UCMS_STEP.
I wonder if other Intel GMA900 thinkpads also need this blacklisting,
though... this is the first report I got about HBRV not being good enough.
--
"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
next prev parent reply other threads:[~2009-07-16 0:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 9:26 Pavel Machek
2009-07-14 10:47 ` Henrique de Moraes Holschuh
2009-07-15 13:13 ` [regression] " Pavel Machek
2009-07-15 14:14 ` Henrique de Moraes Holschuh
2009-07-15 11:22 ` Tobias Diedrich
2009-07-15 14:35 ` Henrique de Moraes Holschuh
2009-07-15 22:39 ` Tobias Diedrich
2009-07-15 22:59 ` Tobias Diedrich
2009-07-16 0:06 ` Henrique de Moraes Holschuh [this message]
2009-07-16 6:16 ` Tobias Diedrich
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=20090716000621.GA23073@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=ibm-acpi@hmh.eng.br \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=ranma+kernel@tdiedrich.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
all inboxes | Powered by JetHome®