Re: Do not return true to all kind of Windows OSI calls

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

 



On Sat, Aug 02, 2008 at 06:48:15PM +0200, Thomas Renninger wrote:
> On Saturday 02 August 2008 06:59:52 pm Matthew Garrett wrote:
> # Only process this on XP, not on Linux and Vista
>                            If (LAnd (\WXPF, LNot (\WVIS)))

The only way this statement makes sense is if both WXPF and WVIS can be 
true, which is only possible if Vista responds to all of the _OSI 
requests.

> # Only process this on XP, not on Linux and Vista
>                         If (LAnd (LNot (\WXPF), \WNTF))

Actually, this is "Only execute on 2000, not on XP or higher".

> Amazing, it looks like they already check for Linux by checking if
> OSI returned true on two major Windows versions which would indicate
> Linux running.

No, that's not true at all. You haven't shown any evidence that Windows 
only returns true to a single OSI string. In fact, doing so would tend 
to break BIOSes that haven't yet been updated for newer versions of 
Windows.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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