|
@@ -414,6 +414,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
|
|
|
DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5710"),
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ /* Acer Aspire 7738 */
|
|
|
+ .matches = {
|
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
|
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7738"),
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
/* Gericom Bellagio */
|
|
|
.matches = {
|
|
@@ -745,6 +752,35 @@ static const struct dmi_system_id __initconst i8042_dmi_dritek_table[] = {
|
|
|
{ }
|
|
|
};
|
|
|
|
|
|
+/*
|
|
|
+ * Some laptops need keyboard reset before probing for the trackpad to get
|
|
|
+ * it detected, initialised & finally work.
|
|
|
+ */
|
|
|
+static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
|
|
|
+ {
|
|
|
+ /* Gigabyte P35 v2 - Elantech touchpad */
|
|
|
+ .matches = {
|
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
|
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "P35V2"),
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ /* Aorus branded Gigabyte X3 Plus - Elantech touchpad */
|
|
|
+ .matches = {
|
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
|
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "X3"),
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ /* Gigabyte P34 - Elantech touchpad */
|
|
|
+ .matches = {
|
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
|
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "P34"),
|
|
|
+ },
|
|
|
+ },
|
|
|
+ { }
|
|
|
+};
|
|
|
+
|
|
|
#endif /* CONFIG_X86 */
|
|
|
|
|
|
#ifdef CONFIG_PNP
|
|
@@ -1040,6 +1076,9 @@ static int __init i8042_platform_init(void)
|
|
|
if (dmi_check_system(i8042_dmi_dritek_table))
|
|
|
i8042_dritek = true;
|
|
|
|
|
|
+ if (dmi_check_system(i8042_dmi_kbdreset_table))
|
|
|
+ i8042_kbdreset = true;
|
|
|
+
|
|
|
/*
|
|
|
* A20 was already enabled during early kernel init. But some buggy
|
|
|
* BIOSes (in MSI Laptops) require A20 to be enabled using 8042 to
|