Skip to content

Commit 906dc28

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI / x86: Add KIOX000A accelerometer on GPD win to always_present_ids array
The GPD win BIOS dated 20170320 has disabled the accelerometer, the drivers sometimes cause crashes under Windows and this is how the manufacturer has solved this :| I see no other way to keep the accelerometer working under Windows then adding it to the always_present_ids array. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent b5cc169 commit 906dc28

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/acpi/x86/utils.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ static const struct always_present_id always_present_ids[] = {
7070
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
7171
DMI_MATCH(DMI_PRODUCT_NAME, "Venue 11 Pro 7130"),
7272
}),
73+
/*
74+
* The GPD win BIOS dated 20170320 has disabled the accelerometer, the
75+
* drivers sometimes cause crashes under Windows and this is how the
76+
* manufacturer has solved this :| Note that the the DMI data is less
77+
* generic then it seems, a board_vendor of "AMI Corporation" is quite
78+
* rare and a board_name of "Default String" also is rare.
79+
*/
80+
ENTRY("KIOX000A", "1", ICPU(INTEL_FAM6_ATOM_AIRMONT), {
81+
DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
82+
DMI_MATCH(DMI_BOARD_NAME, "Default string"),
83+
DMI_MATCH(DMI_PRODUCT_NAME, "Default string"),
84+
DMI_MATCH(DMI_BIOS_DATE, "03/20/2017")
85+
}),
7386
};
7487

7588
bool acpi_device_always_present(struct acpi_device *adev)

0 commit comments

Comments
 (0)