linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: i2c-hid: add Vero K147 to descriptor override
@ 2020-11-26 17:51 Julian Sax
  2020-11-27  9:16 ` Hans de Goede
  2020-11-27 15:18 ` Jiri Kosina
  0 siblings, 2 replies; 3+ messages in thread
From: Julian Sax @ 2020-11-26 17:51 UTC (permalink / raw)
  To: linux-input
  Cc: Jiri Kosina, Benjamin Tissoires, Hans de Goede, Julian Sax, stable

This device uses the SIPODEV SP1064 touchpad, which does not
supply descriptors, so it has to be added to the override list.

Cc: stable@vger.kernel.org
Signed-off-by: Julian Sax <jsbc@gmx.de>
---
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
index 35f3bfc3e6f5..8e0f67455c09 100644
--- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
+++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
@@ -405,6 +405,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
 		},
 		.driver_data = (void *)&sipodev_desc
 	},
+	{
+		.ident = "Vero K147",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VERO"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "K147"),
+		},
+		.driver_data = (void *)&sipodev_desc
+	},
 	{ }	/* Terminate list */
 };

--
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: i2c-hid: add Vero K147 to descriptor override
  2020-11-26 17:51 [PATCH] HID: i2c-hid: add Vero K147 to descriptor override Julian Sax
@ 2020-11-27  9:16 ` Hans de Goede
  2020-11-27 15:18 ` Jiri Kosina
  1 sibling, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2020-11-27  9:16 UTC (permalink / raw)
  To: Julian Sax, linux-input; +Cc: Jiri Kosina, Benjamin Tissoires, stable

Hi,

On 11/26/20 6:51 PM, Julian Sax wrote:
> This device uses the SIPODEV SP1064 touchpad, which does not
> supply descriptors, so it has to be added to the override list.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Julian Sax <jsbc@gmx.de>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans

> ---
>  drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
> index 35f3bfc3e6f5..8e0f67455c09 100644
> --- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
> +++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
> @@ -405,6 +405,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
>  		},
>  		.driver_data = (void *)&sipodev_desc
>  	},
> +	{
> +		.ident = "Vero K147",
> +		.matches = {
> +			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VERO"),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "K147"),
> +		},
> +		.driver_data = (void *)&sipodev_desc
> +	},
>  	{ }	/* Terminate list */
>  };
> 
> --
> 2.29.2
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: i2c-hid: add Vero K147 to descriptor override
  2020-11-26 17:51 [PATCH] HID: i2c-hid: add Vero K147 to descriptor override Julian Sax
  2020-11-27  9:16 ` Hans de Goede
@ 2020-11-27 15:18 ` Jiri Kosina
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2020-11-27 15:18 UTC (permalink / raw)
  To: Julian Sax; +Cc: linux-input, Benjamin Tissoires, Hans de Goede, stable

On Thu, 26 Nov 2020, Julian Sax wrote:

> This device uses the SIPODEV SP1064 touchpad, which does not
> supply descriptors, so it has to be added to the override list.

Applied, thank you.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-27 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26 17:51 [PATCH] HID: i2c-hid: add Vero K147 to descriptor override Julian Sax
2020-11-27  9:16 ` Hans de Goede
2020-11-27 15:18 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).