]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ACPI / blacklist: Add dmi_enable_osi_linux quirk for Asus EEE PC 1015PX
authorHans de Goede <hdegoede@redhat.com>
Mon, 5 May 2014 09:38:09 +0000 (11:38 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 May 2014 22:35:50 +0000 (00:35 +0200)
Without this this EEE PC exports a non working WMI interface, with this it
exports a working "good old" eeepc_laptop interface, fixing brightness control
not working as well as rfkill being stuck in a permanent wireless blocked
state.

This is not an ideal way to fix this, but various attempts to fix this
otherwise have failed, see:

References: https://bugzilla.redhat.com/show_bug.cgi?id=1067181
Reported-and-tested-by: lou.cardone@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/blacklist.c

index 4fc6cf53cd51d7d3e9bb11a541ea0c864b499e3e..3d8413d02a975f0643275a247524a0c9d7569341 100644 (file)
@@ -382,6 +382,19 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
                     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
                },
        },
+       /*
+        * Without this this EEEpc exports a non working WMI interface, with
+        * this it exports a working "good old" eeepc_laptop interface, fixing
+        * both brightness control, and rfkill not working.
+        */
+       {
+       .callback = dmi_enable_osi_linux,
+       .ident = "Asus EEE PC 1015PX",
+       .matches = {
+                    DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer INC."),
+                    DMI_MATCH(DMI_PRODUCT_NAME, "1015PX"),
+               },
+       },
        {}
 };