Skip to contentSkip to conversation

platform/x86: touchscreen_dmi: Update Hi10 Air filter

PATCH In review Christian Oder 3 participants 7 messages Jun 12, 2019 – Jun 29, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: touchscreen_dmi: Update Hi10 Air filter

Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants.

This has been verified as working on the Hampoo and Morshow version.

---
 drivers/platform/x86/touchscreen_dmi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/platform/x86/touchscreen_dmi.c +2 -1
index b662cb2d7cd5..61e7c4987d0d 100644
@@ -597,7 +597,8 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
 		/* Chuwi Hi10 Air */
 		.driver_data = (void *)&chuwi_hi10_air_data,
 		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
+			DMI_MATCH(DMI_SYS_VENDOR, "CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD"),
+			DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
 			DMI_MATCH(DMI_PRODUCT_SKU, "P1W6_C109D_B"),
 		},
 	},
Signature · 1 line
2.21.0
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 6 lines · Christian Oder

Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants.

This has been verified as working on the Hampoo and Morshow version.

Patch looks good to me:

Regards,

Hans

Quoted 19 lines
---
  drivers/platform/x86/touchscreen_dmi.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/platform/x86/touchscreen_dmi.c +2 -1
index b662cb2d7cd5..61e7c4987d0d 100644
@@ -597,7 +597,8 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
  		/* Chuwi Hi10 Air */
  		.driver_data = (void *)&chuwi_hi10_air_data,
  		.matches = {
-			DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
+			DMI_MATCH(DMI_SYS_VENDOR, "CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD"),
+			DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
  			DMI_MATCH(DMI_PRODUCT_SKU, "P1W6_C109D_B"),
  		},
  	},
#2 lore raw
Quoted 7 lines · Hans de Goede

Hi,

Quoted 3 lines · Christian Oder

Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants.

Quoted 7 lines
Quoted 3 lines

This has been verified as working on the Hampoo and Morshow version.

Patch looks good to me:

By some reason patchwork doesn't have a trace of this.

Quoted 25 lines

Regards,

Hans

Quoted 19 lines
---
  drivers/platform/x86/touchscreen_dmi.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/platform/x86/touchscreen_dmi.c +2 -1
index b662cb2d7cd5..61e7c4987d0d 100644
@@ -597,7 +597,8 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
              /* Chuwi Hi10 Air */
              .driver_data = (void *)&chuwi_hi10_air_data,
              .matches = {
-                     DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
+                     DMI_MATCH(DMI_SYS_VENDOR, "CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD"),
+                     DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
                      DMI_MATCH(DMI_PRODUCT_SKU, "P1W6_C109D_B"),
              },
      },
Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
Quoted 11 lines · Andy Shevchenko
Quoted 9 lines · Hans de Goede

Hi,

Quoted 5 lines · Christian Oder

Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants.

This has been verified as working on the Hampoo and Morshow version.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Patch looks good to me:

By some reason patchwork doesn't have a trace of this.

I meant, Hans, your message, the patch itself is there.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw

Hi,

Quoted 15 lines · Andy Shevchenko
Quoted 13 lines · Andy Shevchenko
Quoted 11 lines · Hans de Goede

Hi,

Quoted 6 lines · Christian Oder

Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants.

This has been verified as working on the Hampoo and Morshow version.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Patch looks good to me:

By some reason patchwork doesn't have a trace of this.

I meant, Hans, your message, the patch itself is there.

Weird, no idea why this is happening.

Regards,

Hans

#5 lore raw
Quoted 8 lines · Hans de Goede
Quoted 5 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko

By some reason patchwork doesn't have a trace of this.

I meant, Hans, your message, the patch itself is there.

Weird, no idea why this is happening.

For sake of testing, can you bounce the first message you sent here?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#6 lore raw
In reply to Hans de Goede
Quoted 7 lines · Hans de Goede

Hi,

Quoted 3 lines · Christian Oder

Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants.

Quoted 8 lines
Quoted 3 lines

This has been verified as working on the Hampoo and Morshow version.

Patch looks good to me:

I have pushed it, though I forget about this issue, it went without this tag, sorry.

Quoted 24 lines

Regards,

Hans

Quoted 19 lines
---
  drivers/platform/x86/touchscreen_dmi.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/platform/x86/touchscreen_dmi.c +2 -1
index b662cb2d7cd5..61e7c4987d0d 100644
@@ -597,7 +597,8 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
              /* Chuwi Hi10 Air */
              .driver_data = (void *)&chuwi_hi10_air_data,
              .matches = {
-                     DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
+                     DMI_MATCH(DMI_SYS_VENDOR, "CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD"),
+                     DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
                      DMI_MATCH(DMI_PRODUCT_SKU, "P1W6_C109D_B"),
              },
      },
Signature · 2 lines
With Best Regards,
Andy Shevchenko