Re: [PATCH 5/5] ACPI: add DMI to enable OSI(Linux) on ThinkPad T61

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Feb 2008, Thomas Renninger wrote:
> The problem is that OSI is used by Windows to pass the exact Windows
> (not OS) version they are running, this function should be called WOSI.
> We of course want to run on the latest fix-ups here and should pass
> "Windows 2006" (or whatever latest string there exists).
> 
> IMO we need the same for Linux.
> We even have the advantage, that the string in LOSI(String) makes some
> sense, e.g. 2.6.24, so why not use LOSI(int, int, int)
> How the exact interface might look like I am not sure, just an idea.

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)?

No, if you are going to go about that, use OSI to ask about specific support
you need, like Len said.  Yes, this might mean a lot of OSI strings.

> A)
> Vendors *must* have a flag for Linux to be able to provide proper
> support for multiple kernels and to be able to provide easy and riskless
> fixes for Linux at all.

You need it to be more fine-grained than that, a LOT more fine-grained.

> I expect we now have this problem because nobody (including myself)
> never dreamed of that it could ever happen that a vendor adds Linux
> specific AML code.

Then WTF did we start shipping an OSI(Linux) string in the first place?
Don't tell me it was done just for the heck of it.

> But now that it happens we should react quickly and come up with a
> robust interface for the future...

Len already explained what is needed, and I added how to do it in a way that
it would be accepted from my experience with vendors.

Basically, it needs to be fine-grained and function-specific, AND it must be
allow for near-perfect backward and forward compatibility or it will be a
lot more difficult to see it get any use.

> > Now, the real test will be if we ask for something that would require
> > changing their Windows drivers.  I sure hope they would do it, but...
> Yep nobody would ever do this.

I have some doubts about the "nobody", but you'd have to present a heck of a
good case.

BTW, I am perfectly happy with OSI(Linux) being used to disable crap that is
only relevant to work around *bugs* in windows drivers.  But that's not how
most vendors use it.

-- 
  "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
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux