Comment 8 for bug 1790594

Revision history for this message
Scorpion (scorpion2185) wrote :

Thanks to owner of the repository we found the solution adding this to the drivers/platform/x86/silead_dmi.c:
First this section
but is optional if i understood right the important things is to have a DMI match:
static const struct property_entry mediacom_w700_props[] = {
 PROPERTY_ENTRY_U32("touchscreen-size-x", 884),
 PROPERTY_ENTRY_U32("touchscreen-size-y", 632),
 PROPERTY_ENTRY_STRING("firmware-name",
         "gsl1686-surftab-wintron70-st70416-6.fw"),
 PROPERTY_ENTRY_U32("silead,max-fingers", 10),
 PROPERTY_ENTRY_BOOL("silead,home-button"),
 { }
};
The the DMI_MARTCH section:
  {
  /* Mediacom WinPad 7.0 W700 */
  .driver_data = (void *)&surftab_wintron70_st70416_6_data,
  .matches = {
   DMI_MATCH(DMI_SYS_VENDOR, "MEDIACOM"),
          DMI_MATCH(DMI_PRODUCT_NAME, "WinPad 7 W10 - WPW700"),
  },
 },