Re: Re: [PATCH] ACPI / blacklist: blacklist Win8 OSI for Dell Inspiron 7437

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

 





On 04/29/2015 05:09 AM, Alex Hung wrote:
Matthew,

Your conclusion is correct. Disabling OSI(Windows 2012/2013) in kernel
4.1rc will not work. I will take a closer look into this machine.

Thanks.

On Wed, Apr 29, 2015 at 1:11 AM, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
With Windows 8 enabled you're going down this path:

         If (_OSI (WIN8))
         {
             Local0 = 0x81
         }

With it blacklisted, you're going down this path:

         If (_OSI (WIN7))
         {
             Local0 = 0x80
             Local1 = _REV /* \_REV */
             If ((Local1 == 0x05))
             {
                 Local0 = 0x40
             }
         }

So your guess about _REV was actually correct - if the OS claims to be
Windows 7 and returns 5 to _REV, it'll let Local0 to 0x40. This results
in:

         If ((Local0 == 0x40))
         {
             MIS0 = SMI (0x98, Zero)
             MIS0 &= 0x13
         }

MIS0 appears to be involved in various event delivery paths, so my
suspicion is that the firmware is deliberately working around a quirk of
Linux behaviour in order to deliver events appropriately. If so, your
patch won't help in 4.1 because _REV now returns 2, and so we need to
root cause the actual problem and fix that instead.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
Matthew,

Thank you for bringing this to my attention on that other thread. I've checked with the team more on this. I'm also looking into any other platforms that are quirking behavior on _REV. If you are aware of any other specifics I can inquire on those too. The 7437 platform (and it's two sister platforms 7537 and 7737) include the following differences when acpi_osi=Windows 2009 and _REV is 5. These platforms were enabled in the era before Windows 2013 was default _OSI in the Linux kernel. * Backlight control is set to 16 levels in Win7 and Linux. It's set to 10 levels in Win 8/Win8.1. * Battery information was not displayed in the OS. The BIOS team found that the Linux wasn't asking for battery information in the OS in the same way that Windows does. The delta path creates a SMI event to get battery information.

Alex,

Does dell-rbtn/dell-airplane work properly with this platform when set to Windows 2013? I'd expect that should fix the wireless hotkey issue. As you know airplane mode is only effective on systems with _OSI of Windows 2013.


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