Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551763 > unrolled thread

[PATCH v4 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi

Started byBenjamin Tissoires <benjamin.tissoires@redhat.com>
First post2017-01-05 10:00 +0100
Last post2017-01-05 10:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-01-05 10:00 +0100

#1551763 — [PATCH v4 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi

FromBenjamin Tissoires <benjamin.tissoires@redhat.com>
Date2017-01-05 10:00 +0100
Subject[PATCH v4 2/3] HID: rmi: Handle all Synaptics touchpads using hid-rmi
Message-ID<sWc3T-pg-5@gated-at.bofh.it>
From: Andrew Duggan <aduggan@synaptics.com>

With the addition of HID and F12 support in the synaptics-rmi4 driver
touchpads which had been using the hid-multitouch driver can now
be support by the synaptics-rmi4 via hid-rmi. The advantage is that
additional data can be reported from the RMI registers which is not
available in the Microsoft Precision Touchpad collection.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

---

no changes in v4

no changes in v3

no changes in v2
---
 drivers/hid/hid-core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index db87d91..7e8b99e 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -825,7 +825,8 @@ static int hid_scan_report(struct hid_device *hid)
 		hid->group = HID_GROUP_WACOM;
 		break;
 	case USB_VENDOR_ID_SYNAPTICS:
-		if (hid->group == HID_GROUP_GENERIC)
+		if (hid->group == HID_GROUP_GENERIC ||
+		    hid->group == HID_GROUP_MULTITOUCH_WIN_8)
 			if ((parser->scan_flags & HID_SCAN_FLAG_VENDOR_SPECIFIC)
 			    && (parser->scan_flags & HID_SCAN_FLAG_GD_POINTER))
 				/*
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web