diff mbox series

[1/1] HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device

Message ID 20210105104121.309270-2-kai.heng.feng@canonical.com
State New
Headers show
Series Enable pointstick on HP EliteBook 850 G7 | expand

Commit Message

Kai-Heng Feng Jan. 5, 2021, 10:41 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1908992

Pointstick and its left/right buttons on HP EliteBook 850 G7 need
multi-input quirk to work correctly.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit c3d6eb6e54373f297313b65c1f2319d36914d579 linux-next)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/hid/hid-multitouch.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Paolo Pisati Jan. 8, 2021, 11:49 a.m. UTC | #1
On Tue, Jan 05, 2021 at 06:41:21PM +0800, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1908992
> 
> Pointstick and its left/right buttons on HP EliteBook 850 G7 need
> multi-input quirk to work correctly.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> (cherry picked from commit c3d6eb6e54373f297313b65c1f2319d36914d579 linux-next)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Stefan Bader Jan. 15, 2021, 8:35 a.m. UTC | #2
On 05.01.21 11:41, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1908992
> 
> Pointstick and its left/right buttons on HP EliteBook 850 G7 need
> multi-input quirk to work correctly.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> (cherry picked from commit c3d6eb6e54373f297313b65c1f2319d36914d579 linux-next)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---

Patch now upstream with same SHA1, linux-next can be dropped when applying.

-Stefan

>  drivers/hid/hid-multitouch.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> index d670bcd57bde..0743ef51d3b2 100644
> --- a/drivers/hid/hid-multitouch.c
> +++ b/drivers/hid/hid-multitouch.c
> @@ -2054,6 +2054,10 @@ static const struct hid_device_id mt_devices[] = {
>  		HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
>  			USB_VENDOR_ID_SYNAPTICS, 0xce08) },
>  
> +	{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,
> +		HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
> +			USB_VENDOR_ID_SYNAPTICS, 0xce09) },
> +
>  	/* TopSeed panels */
>  	{ .driver_data = MT_CLS_TOPSEED,
>  		MT_USB_DEVICE(USB_VENDOR_ID_TOPSEED2,
>
William Breathitt Gray Jan. 25, 2021, 2:29 a.m. UTC | #3
On Tue, Jan 05, 2021 at 06:41:21PM +0800, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1908992
> 
> Pointstick and its left/right buttons on HP EliteBook 850 G7 need
> multi-input quirk to work correctly.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> (cherry picked from commit c3d6eb6e54373f297313b65c1f2319d36914d579 linux-next)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Acked-by: William Breathitt Gray <william.gray@canonical.com>

> ---
>  drivers/hid/hid-multitouch.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> index d670bcd57bde..0743ef51d3b2 100644
> --- a/drivers/hid/hid-multitouch.c
> +++ b/drivers/hid/hid-multitouch.c
> @@ -2054,6 +2054,10 @@ static const struct hid_device_id mt_devices[] = {
>  		HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
>  			USB_VENDOR_ID_SYNAPTICS, 0xce08) },
>  
> +	{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,
> +		HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
> +			USB_VENDOR_ID_SYNAPTICS, 0xce09) },
> +
>  	/* TopSeed panels */
>  	{ .driver_data = MT_CLS_TOPSEED,
>  		MT_USB_DEVICE(USB_VENDOR_ID_TOPSEED2,
> -- 
> 2.29.2
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
diff mbox series

Patch

diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index d670bcd57bde..0743ef51d3b2 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -2054,6 +2054,10 @@  static const struct hid_device_id mt_devices[] = {
 		HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
 			USB_VENDOR_ID_SYNAPTICS, 0xce08) },
 
+	{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,
+		HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
+			USB_VENDOR_ID_SYNAPTICS, 0xce09) },
+
 	/* TopSeed panels */
 	{ .driver_data = MT_CLS_TOPSEED,
 		MT_USB_DEVICE(USB_VENDOR_ID_TOPSEED2,