Skip to contentSkip to conversation

ACPI/EC: Add "ASUSTEK L4R" to quirk list in order to validate ecdt

PATCH New [email protected] 1 participant 1 message Aug 26, 2013 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI/EC: Add "ASUSTEK L4R" to quirk list in order to validate ecdt

From: Lan Tianyu <[email protected]>

The ecdt of "ASUSTEK L4R" doesn't provide correct command and data io ports. The dsdt provides right info. So add this machine to quirk list to validate ecdt and use the EC info in the dsdt.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=60765

---
 drivers/acpi/ec.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/acpi/ec.c +4 -0
index 7f900e5..ae33004 100644
@@ -989,6 +989,10 @@ static struct dmi_system_id __initdata ec_dmi_table[] = {
 	ec_skip_dsdt_scan, "HP Folio 13", {
 	DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
 	DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13"),}, NULL},
+	{
+	ec_validate_ecdt, "ASUS hardware", {
+	DMI_MATCH(DMI_SYS_VENDOR, "ASUSTek Computer Inc."),
+	DMI_MATCH(DMI_PRODUCT_NAME, "L4R"),}, NULL},
 	{},
 };
 
Signature · 1 line
1.8.4.rc0.1.g8f6a3e5.dirty