aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042-x86ia64io.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/serio/i8042-x86ia64io.h')
-rw-r--r--drivers/input/serio/i8042-x86ia64io.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index c66d1b53843e..c11556563ef0 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -152,6 +152,14 @@ static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = {
152 }, 152 },
153 }, 153 },
154 { 154 {
155 /* Medion Akoya E7225 */
156 .matches = {
157 DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
158 DMI_MATCH(DMI_PRODUCT_NAME, "Akoya E7225"),
159 DMI_MATCH(DMI_PRODUCT_VERSION, "1.0"),
160 },
161 },
162 {
155 /* Blue FB5601 */ 163 /* Blue FB5601 */
156 .matches = { 164 .matches = {
157 DMI_MATCH(DMI_SYS_VENDOR, "blue"), 165 DMI_MATCH(DMI_SYS_VENDOR, "blue"),
@@ -415,6 +423,13 @@ static const struct dmi_system_id __initconst i8042_dmi_nomux_table[] = {
415 }, 423 },
416 }, 424 },
417 { 425 {
426 /* Acer Aspire 7738 */
427 .matches = {
428 DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
429 DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7738"),
430 },
431 },
432 {
418 /* Gericom Bellagio */ 433 /* Gericom Bellagio */
419 .matches = { 434 .matches = {
420 DMI_MATCH(DMI_SYS_VENDOR, "Gericom"), 435 DMI_MATCH(DMI_SYS_VENDOR, "Gericom"),
@@ -745,6 +760,35 @@ static const struct dmi_system_id __initconst i8042_dmi_dritek_table[] = {
745 { } 760 { }
746}; 761};
747 762
763/*
764 * Some laptops need keyboard reset before probing for the trackpad to get
765 * it detected, initialised & finally work.
766 */
767static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
768 {
769 /* Gigabyte P35 v2 - Elantech touchpad */
770 .matches = {
771 DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
772 DMI_MATCH(DMI_PRODUCT_NAME, "P35V2"),
773 },
774 },
775 {
776 /* Aorus branded Gigabyte X3 Plus - Elantech touchpad */
777 .matches = {
778 DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
779 DMI_MATCH(DMI_PRODUCT_NAME, "X3"),
780 },
781 },
782 {
783 /* Gigabyte P34 - Elantech touchpad */
784 .matches = {
785 DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
786 DMI_MATCH(DMI_PRODUCT_NAME, "P34"),
787 },
788 },
789 { }
790};
791
748#endif /* CONFIG_X86 */ 792#endif /* CONFIG_X86 */
749 793
750#ifdef CONFIG_PNP 794#ifdef CONFIG_PNP
@@ -1040,6 +1084,9 @@ static int __init i8042_platform_init(void)
1040 if (dmi_check_system(i8042_dmi_dritek_table)) 1084 if (dmi_check_system(i8042_dmi_dritek_table))
1041 i8042_dritek = true; 1085 i8042_dritek = true;
1042 1086
1087 if (dmi_check_system(i8042_dmi_kbdreset_table))
1088 i8042_kbdreset = true;
1089
1043 /* 1090 /*
1044 * A20 was already enabled during early kernel init. But some buggy 1091 * A20 was already enabled during early kernel init. But some buggy
1045 * BIOSes (in MSI Laptops) require A20 to be enabled using 8042 to 1092 * BIOSes (in MSI Laptops) require A20 to be enabled using 8042 to