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 Saturday 02 August 2008 07:31:46 pm Matthew Garrett wrote:
> 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.
No.
The machines are Linux pre-loaded. They do support Linux!
There is no need to check for both variables for Windows specific code (
there are tons of \WVIS and \WXPF only checking).
The only way this statement makes sense is that they *do* check for Linux.

> > # 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".
Yes I mixed up XP and NT.


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