Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1621907 > unrolled thread

[PATCH] ACPI / blacklist: add _REV quirk for Dell Inspiron 7537

Started byKai-Heng Feng <kai.heng.feng@canonical.com>
First post2017-04-12 10:20 +0200
Last post2017-04-12 10:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ACPI / blacklist: add _REV quirk for Dell Inspiron 7537 Kai-Heng Feng <kai.heng.feng@canonical.com> - 2017-04-12 10:20 +0200

#1621907 — [PATCH] ACPI / blacklist: add _REV quirk for Dell Inspiron 7537

FromKai-Heng Feng <kai.heng.feng@canonical.com>
Date2017-04-12 10:20 +0200
Subject[PATCH] ACPI / blacklist: add _REV quirk for Dell Inspiron 7537
Message-ID<tvlFn-284-5@gated-at.bofh.it>
The battery can only be detected after AC power adapter event.

Adding the machine to acpi_rev_dmi_table[] can workaround this issue.

BugLink: https://bugs.launchpad.net/bugs/1678590
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=105721
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/acpi/blacklist.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 4421f7c9981c..bb542acc0574 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -188,6 +188,14 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = {
 		      DMI_MATCH(DMI_PRODUCT_NAME, "Latitude 3350"),
 		},
 	},
+	{
+	 .callback = dmi_enable_rev_override,
+	 .ident = "DELL Inspiron 7537",
+	 .matches = {
+		      DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		      DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7537"),
+		},
+	},
 #endif
 	{}
 };
-- 
2.12.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web