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"),
},
},
Thanks to owner of the repository we found the solution adding this to the drivers/ platform/ x86/silead_ dmi.c: w700_props[ ] = { ENTRY_U32( "touchscreen- size-x" , 884), ENTRY_U32( "touchscreen- size-y" , 632), ENTRY_STRING( "firmware- name",
"gsl1686- surftab- wintron70- st70416- 6.fw"), ENTRY_U32( "silead, max-fingers" , 10), ENTRY_BOOL( "silead, home-button" ), wintron70_ st70416_ 6_data, MATCH(DMI_ SYS_VENDOR, "MEDIACOM"),
DMI_ MATCH(DMI_ PRODUCT_ NAME, "WinPad 7 W10 - WPW700"),
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_
PROPERTY_
PROPERTY_
PROPERTY_
PROPERTY_
PROPERTY_
{ }
};
The the DMI_MARTCH section:
{
/* Mediacom WinPad 7.0 W700 */
.driver_data = (void *)&surftab_
.matches = {
DMI_
},
},