From: Thomas Renninger <trenn@suse.de>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Theodore Tso <tytso@MIT.EDU>,
Matthew Garrett <mjg59@srcf.ucam.org>,
Len Brown <lenb@kernel.org>,
linux-acpi <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH 5/5] ACPI: add DMI to enable OSI(Linux) on ThinkPad T61
Date: Wed, 20 Feb 2008 02:43:00 +0100 [thread overview]
Message-ID: <1203471780.3358.174.camel@linux-2bdv.site> (raw)
In-Reply-To: <20080219142431.GC15883@khazad-dum.debian.net>
On Tue, 2008-02-19 at 11:24 -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 19 Feb 2008, Thomas Renninger wrote:
> > > Looks quite a bad idea IMO. 2.6.24 means what? SuSE's? Mainline's?
> > > Debian's? At what patch level? With which user patches tacked on top? And
> > > at what level of userspace support (X.org can make a LOT of difference
> > > here)?
> >
> > So you think on next Lenovo pre-load we should compile a "SLED10 SP2"
>
> Huh?! No, I don't. I would walk away in disgust if we did it. OSI(SLED10
> SP2) would be even worse than OSI(Linux) plus a OS<whatever>(2.6.24), I
> think I can safely assume that we *all* agree on THAT one.
>
> > into our kernel and let Lenovo BIOS fixups use it? E.g. we could use the
> > default BCM/BQC/BCL brightness interface easily then, just a small
>
> AFAIK, there is no problem with the *ACPI* brightness firmware on ThinkPads.
> At all. Its only quirk is that you want to call _BCL at least once at
> driver load.
No it's not that it's:
- you call BCLL, a totally undefined AML function, found out by DSDT
examination..., Lenovo is allowed to and will change the name this
function at some time, they even could for a BIOS update
- It is that we have to use the ibm_acpi driver quirks for an interface
that is specified and which nearly every Vista compatible machine is
providing.
You need special handling for Lenovos. You need to blacklist them to
not use the well defined interface, but use the ibm_acpi quirks.
I really like to ask Lenovo to add a (on Intel graphics cards):
if (linux)
call _BCM/BQC/BCL this way
else
call _BCM/BQC/BCL the other way
All this should be only some simple AML lines...
and simply use the video driver for Lenovo backlight switching...
> Anyway, the whole backlight brightness stink is our (as in Linux kernel
> people, userspace people, distro people) doing. The laptop vendors, for
> once, had nothing to do with it. Also, for once, the ACPI 3.0 specification
> (when correctly implemented in the AML *and* ACPI OSI) does give us all we
> need to have it work properly in any way we see fit.
>
> Since the brightness issues have *nothing* to do with OSI(anything), let's
> leave it for another thread.
>
> > Please let us not end up with hacks like ???"SLED10 SP2", "FEISTY" or
> > whatever weirdness and this will come if we ignore osi=linux or do not
> > provide something else.
> > We should make up something more robust and more Linux kernel
> > appropriate and propagate it to the vendors.
>
> We all agree on that, Thomas.
Puhhh... good. So I have missed the one or other suggestion or there are
no suggestions yet?
> I am actually arguing for something *even* more fine-grained than a kernel
> version, but at the same time completely independent of kernel versions, so
> that if we backport something, or our userspace improves, we can stop (or
> start) advertising it through OSI() without messing with anything else.
IMO kernel version is enough and the right thing, everything else is
over-designed (please provide an example, I cannot imagine anything
useful/generic but only osi=linux or better osi=linux + kernel version).
I start a new thread/discussion now. I was quite late with reading up
the list and this is important and should get some more attention also
by others who might not have read into this thread.
Thomas
-
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
next prev parent reply other threads:[~2008-02-20 1:43 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 10:24 [PATCH 0/5] improved knobs to deal with OSI(Linux) Len Brown
2008-01-17 10:24 ` [PATCH 1/5] DMI: move dmi_available declaration to linux/dmi.h Len Brown
2008-01-17 10:24 ` [PATCH 2/5] DMI: create dmi_dump_entries() Len Brown
2008-01-17 10:24 ` [PATCH 3/5] ACPI: use dmi_dump_entries() instead of requesting dmidecode output Len Brown
2008-01-17 10:24 ` [PATCH 4/5] ACPI: OSI(Linux) cmdline and DMI BIOS workarounds Len Brown
2008-01-17 10:24 ` [PATCH 5/5] ACPI: add DMI to enable OSI(Linux) on ThinkPad T61 Len Brown
2008-01-17 12:28 ` Matthew Garrett
2008-01-17 14:46 ` Henrique de Moraes Holschuh
2008-01-17 20:04 ` Len Brown
2008-01-17 21:31 ` Theodore Tso
2008-01-19 7:40 ` Len Brown
2008-01-19 12:08 ` Henrique de Moraes Holschuh
2008-01-19 14:17 ` Theodore Tso
2008-01-19 15:33 ` Henrique de Moraes Holschuh
2008-01-19 15:43 ` Matthew Garrett
2008-01-19 23:19 ` Theodore Tso
2008-01-20 4:13 ` Len Brown
2008-01-20 11:16 ` Rafael J. Wysocki
2008-01-20 12:03 ` Tomas Carnecky
2008-01-20 18:31 ` Len Brown
2008-01-20 19:21 ` Tomas Carnecky
2008-01-21 1:52 ` Theodore Tso
2008-01-21 9:50 ` Matthew Garrett
2008-01-21 19:00 ` Theodore Tso
2008-01-21 19:37 ` Matthew Garrett
2008-01-22 5:37 ` Len Brown
2008-01-20 19:49 ` Henrique de Moraes Holschuh
2008-02-18 16:58 ` Thomas Renninger
2008-02-18 19:17 ` Henrique de Moraes Holschuh
2008-02-19 0:00 ` Thomas Renninger
2008-02-19 0:26 ` Theodore Tso
2008-02-19 6:34 ` Thomas Renninger
2008-02-19 13:24 ` Henrique de Moraes Holschuh
2008-02-19 10:26 ` Thomas Renninger
2008-02-19 14:24 ` Henrique de Moraes Holschuh
2008-02-20 1:43 ` Thomas Renninger [this message]
2008-02-20 2:47 ` Henrique de Moraes Holschuh
2008-01-19 7:50 ` [PATCH 6/5] ACPI: DMI blacklist for OSI(Linux) Len Brown
2008-01-19 8:16 ` Andi Kleen
2008-01-20 4:18 ` Len Brown
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=1203471780.3358.174.camel@linux-2bdv.site \
--to=trenn@suse.de \
--cc=hmh@hmh.eng.br \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=tytso@MIT.EDU \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.