Skip to contentSkip to conversation

Add VID/PID for HID-type Multi-Touch Module of AFO CO., LTD.

PATCH In review YongHwan Ki 3 participants 8 messages Mar 25, 2014 – Jan 6, 2015

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

PATCH 1/1 Add VID/PID for HID-type Multi-Touch Module of AFO CO., LTD.

There is no way to support the hid-type AFO multi touch modules.

Add the VID/PID of AFO to the hid-related lists.

Kernel Version : linux-3.14.rc7

linux-3.14-rc7/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +0 -2
diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7/drivers/hid/hid-core.c
@@ -1881,8 +1881,6 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },
 
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) },
linux-3.14-rc7/drivers/hid/hid-ids.h renamed from drivers/hid/hid-ids.h +0 -4
diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-ids.h ../linux-3.14-rc7/drivers/hid/hid-ids.h
@@ -960,9 +960,5 @@
 #define USB_VENDOR_ID_PRIMAX	0x0461
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD	0x4e05
 
-#define USB_VENDOR_ID_AFO		0x2576
-#define USB_DEVICE_ID_AFO_TCM		0x0003
-#define USB_DEVICE_ID_AFO_BL		0x0005
-#define USB_DEVICE_ID_AFO_THM		0x0011
 
 #endif
linux-3.14-rc7/drivers/hid/hid-multitouch.c renamed from drivers/hid/hid-multitouch.c +0 -9
diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-multitouch.c ../linux-3.14-rc7/drivers/hid/hid-multitouch.c
@@ -1395,15 +1395,6 @@ static const struct hid_device_id mt_dev
 	{  .driver_data = MT_CLS_WIN_8,
 		HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
 			HID_ANY_ID, HID_ANY_ID) },
-
-	/* AFO MultiTouch device */
-	{  .driver_data = MT_CLS_SERIAL,
-		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
-			USB_DEVICE_ID_AFO_TCM) },
-	{  .driver_data = MT_CLS_SERIAL,
-		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
-			USB_DEVICE_ID_AFO_THM) },
-
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, mt_devices);

Binary files ./kernel/x509_certificate_list and ../linux-3.14-rc7/kernel/x509_certificate_list differ

linux-3.14-rc7/lib/oid_registry_data.c renamed from lib/oid_registry_data.c +1 -1
diff -uprN -X Documentation/dontdiff ./lib/oid_registry_data.c ../linux-3.14-rc7/lib/oid_registry_data.c
@@ -1,5 +1,5 @@
 /*
- * Automatically generated by /usr/src/linux-3.14-rc7m/lib/build_OID_registry.  Do not edit
+ * Automatically generated by /usr/src/linux-3.14-rc7/lib/build_OID_registry.  Do not edit
  */
 
 static const unsigned short oid_index[OID__NR + 1] = {
linux-3.14-rc7/signing_key.priv renamed from signing_key.priv +50 -50

102 lines not on this page · raw message

Binary files ./signing_key.x509 and ../linux-3.14-rc7/signing_key.x509 differ

#1 lore raw
Quoted 1 line · YongHwan Ki

There is no way to support the hid-type AFO multi touch modules.

Could you please elaborate? What tree is this patch against? I don't have AFO-related defines in my tree.

Quoted 65 lines

Add the VID/PID of AFO to the hid-related lists.

Kernel Version : linux-3.14.rc7

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7/drivers/hid/hid-core.c

linux-3.14-rc7/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +0 -2
@@ -1881,8 +1881,6 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },
 
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) },

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-ids.h ../linux-3.14-rc7/drivers/hid/hid-ids.h

linux-3.14-rc7/drivers/hid/hid-ids.h renamed from drivers/hid/hid-ids.h +0 -4
@@ -960,9 +960,5 @@
 #define USB_VENDOR_ID_PRIMAX	0x0461
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD	0x4e05
 
-#define USB_VENDOR_ID_AFO		0x2576
-#define USB_DEVICE_ID_AFO_TCM		0x0003
-#define USB_DEVICE_ID_AFO_BL		0x0005
-#define USB_DEVICE_ID_AFO_THM		0x0011
 
 #endif

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-multitouch.c ../linux-3.14-rc7/drivers/hid/hid-multitouch.c

linux-3.14-rc7/drivers/hid/hid-multitouch.c renamed from drivers/hid/hid-multitouch.c +0 -9
@@ -1395,15 +1395,6 @@ static const struct hid_device_id mt_dev
 	{  .driver_data = MT_CLS_WIN_8,
 		HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
 			HID_ANY_ID, HID_ANY_ID) },
-
-	/* AFO MultiTouch device */
-	{  .driver_data = MT_CLS_SERIAL,
-		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
-			USB_DEVICE_ID_AFO_TCM) },
-	{  .driver_data = MT_CLS_SERIAL,
-		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
-			USB_DEVICE_ID_AFO_THM) },
-
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, mt_devices);

Binary files ./kernel/x509_certificate_list and ../linux-3.14-rc7/kernel/x509_certificate_list differ diff -uprN -X Documentation/dontdiff ./lib/oid_registry_data.c ../linux-3.14-rc7/lib/oid_registry_data.c

linux-3.14-rc7/lib/oid_registry_data.c renamed from lib/oid_registry_data.c +1 -1
@@ -1,5 +1,5 @@
 /*
- * Automatically generated by /usr/src/linux-3.14-rc7m/lib/build_OID_registry.  Do not edit
+ * Automatically generated by /usr/src/linux-3.14-rc7/lib/build_OID_registry.  Do not edit
  */
 
 static const unsigned short oid_index[OID__NR + 1] = {

diff -uprN -X Documentation/dontdiff ./signing_key.priv ../linux-3.14-rc7/signing_key.priv

linux-3.14-rc7/signing_key.priv line 1

Quoted 1 line
linux-3.14-rc7/signing_key.priv renamed from signing_key.priv +0 -0
@@ -1,52 +1,52 @@
 -----BEGIN PRIVATE KEY-----

I doubt this was intended.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw

Sorry, I woud like to add the AFO defines in the Linux Kernel. No afo defines exists in the current kernel tree.
I correctly changed the log for adding the afo defines.

Kernel Version : linux-3.14.rc7

linux-3.14-rc7m/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +2 -0
diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7m/drivers/hid/hid-core.c
@@ -1881,6 +1881,8 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },
 
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) },
linux-3.14-rc7m/drivers/hid/hid-ids.h renamed from drivers/hid/hid-ids.h +4 -0
diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-ids.h ../linux-3.14-rc7m/drivers/hid/hid-ids.h
@@ -960,5 +960,9 @@
 #define USB_VENDOR_ID_PRIMAX	0x0461
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD	0x4e05
 
+#define USB_VENDOR_ID_AFO		0x2576
+#define USB_DEVICE_ID_AFO_TCM		0x0003
+#define USB_DEVICE_ID_AFO_BL		0x0005
+#define USB_DEVICE_ID_AFO_THM		0x0011
 
 #endif
linux-3.14-rc7m/drivers/hid/hid-multitouch.c renamed from drivers/hid/hid-multitouch.c +9 -0
diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-multitouch.c ../linux-3.14-rc7m/drivers/hid/hid-multitouch.c
@@ -1395,6 +1395,15 @@ static const struct hid_device_id mt_dev
 	{  .driver_data = MT_CLS_WIN_8,
 		HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
 			HID_ANY_ID, HID_ANY_ID) },
+
+	/* AFO MultiTouch device */
+	{  .driver_data = MT_CLS_SERIAL,
+		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
+			USB_DEVICE_ID_AFO_TCM) },
+	{  .driver_data = MT_CLS_SERIAL,
+		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
+			USB_DEVICE_ID_AFO_THM) },
+
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, mt_devices);

Binary files ./kernel/x509_certificate_list and ../linux-3.14-rc7m/kernel/x509_certificate_list differ

linux-3.14-rc7m/lib/oid_registry_data.c renamed from lib/oid_registry_data.c +1 -1
diff -uprN -X Documentation/dontdiff ./lib/oid_registry_data.c ../linux-3.14-rc7m/lib/oid_registry_data.c
@@ -1,5 +1,5 @@
 /*
- * Automatically generated by /usr/src/linux-3.14-rc7/lib/build_OID_registry.  Do not edit
+ * Automatically generated by /usr/src/linux-3.14-rc7m/lib/build_OID_registry.  Do not edit
  */
 
 static const unsigned short oid_index[OID__NR + 1] = {
linux-3.14-rc7m/signing_key.priv renamed from signing_key.priv +50 -50

102 lines not on this page · raw message

Binary files ./signing_key.x509 and ../linux-3.14-rc7m/signing_key.x509 differ

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jiri Kosina
Sent: Tuesday, March 25, 2014 8:00 PM
To: YongHwan Ki
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] Add VID/PID for HID-type Multi-Touch Module of AFO CO., LTD.

Quoted 1 line · YongHwan Ki

There is no way to support the hid-type AFO multi touch modules.

Could you please elaborate? What tree is this patch against? I don't have AFO-related defines in my tree.

Quoted 65 lines

Add the VID/PID of AFO to the hid-related lists.

Kernel Version : linux-3.14.rc7

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7/drivers/hid/hid-core.c

linux-3.14-rc7/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +0 -2
@@ -1881,8 +1881,6 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },
 
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) },

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-ids.h ../linux-3.14-rc7/drivers/hid/hid-ids.h

linux-3.14-rc7/drivers/hid/hid-ids.h renamed from drivers/hid/hid-ids.h +0 -4
@@ -960,9 +960,5 @@
 #define USB_VENDOR_ID_PRIMAX	0x0461
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD	0x4e05
 
-#define USB_VENDOR_ID_AFO		0x2576
-#define USB_DEVICE_ID_AFO_TCM		0x0003
-#define USB_DEVICE_ID_AFO_BL		0x0005
-#define USB_DEVICE_ID_AFO_THM		0x0011
 
 #endif

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-multitouch.c ../linux-3.14-rc7/drivers/hid/hid-multitouch.c

linux-3.14-rc7/drivers/hid/hid-multitouch.c renamed from drivers/hid/hid-multitouch.c +0 -9
@@ -1395,15 +1395,6 @@ static const struct hid_device_id mt_dev
 	{  .driver_data = MT_CLS_WIN_8,
 		HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
 			HID_ANY_ID, HID_ANY_ID) },
-
-	/* AFO MultiTouch device */
-	{  .driver_data = MT_CLS_SERIAL,
-		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
-			USB_DEVICE_ID_AFO_TCM) },
-	{  .driver_data = MT_CLS_SERIAL,
-		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
-			USB_DEVICE_ID_AFO_THM) },
-
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, mt_devices);

Binary files ./kernel/x509_certificate_list and ../linux-3.14-rc7/kernel/x509_certificate_list differ diff -uprN -X Documentation/dontdiff ./lib/oid_registry_data.c ../linux-3.14-rc7/lib/oid_registry_data.c

linux-3.14-rc7/lib/oid_registry_data.c renamed from lib/oid_registry_data.c +1 -1
@@ -1,5 +1,5 @@
 /*
- * Automatically generated by /usr/src/linux-3.14-rc7m/lib/build_OID_registry.  Do not edit
+ * Automatically generated by /usr/src/linux-3.14-rc7/lib/build_OID_registry.  Do not edit
  */
 
 static const unsigned short oid_index[OID__NR + 1] = {

diff -uprN -X Documentation/dontdiff ./signing_key.priv ../linux-3.14-rc7/signing_key.priv

linux-3.14-rc7/signing_key.priv line 1

Quoted 1 line
linux-3.14-rc7/signing_key.priv renamed from signing_key.priv +0 -0
@@ -1,52 +1,52 @@
 -----BEGIN PRIVATE KEY-----

I doubt this was intended.

Signature · 7 lines
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#3 lore raw
Quoted 56 lines · YongHwan Ki

Sorry, I woud like to add the AFO defines in the Linux Kernel. No afo defines exists in the current kernel tree.
I correctly changed the log for adding the afo defines.

Kernel Version : linux-3.14.rc7

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7m/drivers/hid/hid-core.c

linux-3.14-rc7m/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +2 -0
@@ -1881,6 +1881,8 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },
 
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) },

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-ids.h ../linux-3.14-rc7m/drivers/hid/hid-ids.h

linux-3.14-rc7m/drivers/hid/hid-ids.h renamed from drivers/hid/hid-ids.h +4 -0
@@ -960,5 +960,9 @@
 #define USB_VENDOR_ID_PRIMAX	0x0461
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD	0x4e05
 
+#define USB_VENDOR_ID_AFO		0x2576
+#define USB_DEVICE_ID_AFO_TCM		0x0003
+#define USB_DEVICE_ID_AFO_BL		0x0005
+#define USB_DEVICE_ID_AFO_THM		0x0011
 
 #endif

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-multitouch.c ../linux-3.14-rc7m/drivers/hid/hid-multitouch.c

linux-3.14-rc7m/drivers/hid/hid-multitouch.c renamed from drivers/hid/hid-multitouch.c +9 -0
@@ -1395,6 +1395,15 @@ static const struct hid_device_id mt_dev
 	{  .driver_data = MT_CLS_WIN_8,
 		HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
 			HID_ANY_ID, HID_ANY_ID) },
+
+	/* AFO MultiTouch device */
+	{  .driver_data = MT_CLS_SERIAL,
+		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
+			USB_DEVICE_ID_AFO_TCM) },
+	{  .driver_data = MT_CLS_SERIAL,
+		HID_USB_DEVICE(USB_VENDOR_ID_AFO,
+			USB_DEVICE_ID_AFO_THM) },
+
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, mt_devices);

Binary files ./kernel/x509_certificate_list and ../linux-3.14-rc7m/kernel/x509_certificate_list differ diff -uprN -X Documentation/dontdiff ./lib/oid_registry_data.c ../linux-3.14-rc7m/lib/oid_registry_data.c

linux-3.14-rc7m/lib/oid_registry_data.c line 2

Quoted 3 lines
linux-3.14-rc7m/lib/oid_registry_data.c renamed from lib/oid_registry_data.c +1 -1
@@ -1,5 +1,5 @@
 /*
- * Automatically generated by /usr/src/linux-3.14-rc7/lib/build_OID_registry.  Do not edit
+ * Automatically generated by /usr/src/linux-3.14-rc7m/lib/build_OID_registry.  Do not edit

Please remove this hunk, it has nothing to do with the patchset.

linux-3.14-rc7m/signing_key.priv line 1

Quoted 8 lines
linux-3.14-rc7m/lib/oid_registry_data.c renamed from lib/oid_registry_data.c +0 -0
  */
 
 static const unsigned short oid_index[OID__NR + 1] = {

diff -uprN -X Documentation/dontdiff ./signing_key.priv ../linux-3.14-rc7m/signing_key.priv

linux-3.14-rc7m/signing_key.priv renamed from signing_key.priv +0 -0
@@ -1,52 +1,52 @@
 -----BEGIN PRIVATE KEY-----

Again, I don't think you want to be sending this out :)

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
#4 lore raw
In reply to YongHwan Ki
Quoted 6 lines · YongHwan Ki

Sorry, I woud like to add the AFO defines in the Linux Kernel. No afo defines exists in the current kernel tree.
I correctly changed the log for adding the afo defines.

Kernel Version : linux-3.14.rc7

Sorry, but this patch is broken again.

It contains the PRIVATE RSA KEY stuff and 'dontdiff' stuff again.

I can create the patch myself and add your signoff / Reported-by (please let me know if you want me to do that), but it's crucial for you to fix your workflow for any next submission.

Especially the private key disclosure should probably better be avoided :)

Signature · 2 lines
Jiri Kosina
SUSE Labs
#5 lore raw
In reply to YongHwan Ki
Quoted 11 lines · YongHwan Ki

Sorry, I woud like to add the AFO defines in the Linux Kernel. No afo defines exists in the current kernel tree.
I correctly changed the log for adding the afo defines.

Kernel Version : linux-3.14.rc7

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7m/drivers/hid/hid-core.c

linux-3.14-rc7m/drivers/hid/hid-core.c static const struct hid_device_id hid_ha · line 1885

Quoted 5 lines
linux-3.14-rc7m/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +2 -0
@@ -1881,6 +1881,8 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },

Is this really necessary? Why doesn't HID_DG_CONTACTID matching work for the to automatically trigger HID_GROUP_MULTITOUCH-based binding?

Signature · 2 lines
Jiri Kosina
SUSE Labs
author
#6 lore raw

Thanks.

you are right. That's not necessary.
We already processed.

The final purpose of my approach is that the correct working of the AFO multi-Touch module in All distribution of Linux.
Therefore, the inclusion of the VID,PID(AFO Touch Module) to the hid-multitouch module is basically needed also for old version of the Linux distribution.

Ki.

-----Original Message-----
From: Jiri Kosina [mailto:[email protected]]
Sent: Tuesday, May 20, 2014 11:44 PM
To: YongHwan Ki
Cc: [email protected]; [email protected]; [email protected]
Subject: RE: [PATCH] Add VID/PID for HID-type Multi-Touch Module of AFO CO., LTD.

Quoted 8 lines · YongHwan Ki

Sorry, I woud like to add the AFO defines in the Linux Kernel. No afo defines exists in the current kernel tree.
I correctly changed the log for adding the afo defines.

Kernel Version : linux-3.14.rc7

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c

../linux-3.14-rc7m/drivers/hid/hid-core.c

linux-3.14-rc7m/drivers/hid/hid-core.c

Quoted 2 lines
linux-3.14-rc7m/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +0 -0

17:41:51.846939444 +0900

linux-3.14-rc7m/drivers/hid/hid-core.c static const struct hid_device_id hid_ha · line 1886

Quoted 7 lines
linux-3.14-rc7m/drivers/hid/hid-core.c renamed from drivers/hid/hid-core.c +2 -0
@@ -1881,6 +1881,8 @@ static const struct hid_device_id hid_ha
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, 
 USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },

Is this really necessary? Why doesn't HID_DG_CONTACTID matching work for the to automatically trigger HID_GROUP_MULTITOUCH-based binding?

--
Jiri Kosina
SUSE Labs

#7 lore raw

Hi,

Quoted 10 lines · kyhw

Thanks.

you are right. That's not necessary.
We already processed.

The final purpose of my approach is that the correct working of the AFO multi-Touch module in All distribution of Linux.
Therefore, the inclusion of the VID,PID(AFO Touch Module) to the hid-multitouch module is basically needed also for old version of the Linux distribution.

Well, I'd like to keep hid-multitouch as clean as possible regarding the specific vendor devices. So, if your device is already auto detected in a let's say 3.18 and works as expected, (i.e. if the CLS_SERIAL is automatically picked up), then I will oppose to your patch. For the reference, I killed all the vendor specific useless definitions in 0fa9c61618.
Distributions should either update to a more recent kernel (I think the auto detection of CLS_SERIAL was in 3.10 or even before), or they should cook their own support, or backport. There is no need to have a useless list of devices in the upstream kernel.

Cheers,
Benjamin

Quoted 46 lines

Ki.

-----Original Message-----
From: Jiri Kosina [mailto:[email protected]]
Sent: Tuesday, May 20, 2014 11:44 PM
To: YongHwan Ki
Cc: [email protected]; [email protected]; [email protected]
Subject: RE: [PATCH] Add VID/PID for HID-type Multi-Touch Module of AFO CO., LTD.

Quoted 8 lines · YongHwan Ki

Sorry, I woud like to add the AFO defines in the Linux Kernel. No afo defines exists in the current kernel tree.
I correctly changed the log for adding the afo defines.

Kernel Version : linux-3.14.rc7

diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c

../linux-3.14-rc7m/drivers/hid/hid-core.c

linux-3.14-rc7m/drivers/hid/hid-core.c 2014-03-21

Quoted 2 lines
linux-3.14-rc7m/drivers/hid/hid-core.c 2014-03-21 renamed from drivers/hid/hid-core.c 2014-03-17 10:51:24.000000000 +0900 +0 -0

17:41:51.846939444 +0900

linux-3.14-rc7m/drivers/hid/hid-core.c 2014-03-21 static const struct hid_device_id hid_ha · line 1886

Quoted 7 lines
linux-3.14-rc7m/drivers/hid/hid-core.c 2014-03-21 renamed from drivers/hid/hid-core.c 2014-03-17 10:51:24.000000000 +0900 +2 -0
@@ -1881,6 +1881,8 @@ static const struct hid_device_id hid_ha
      { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
      { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
      { HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON,
 USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
+     { HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_TCM) },
+     { HID_USB_DEVICE(USB_VENDOR_ID_AFO, USB_DEVICE_ID_AFO_THM) },

Is this really necessary? Why doesn't HID_DG_CONTACTID matching work for the to automatically trigger HID_GROUP_MULTITOUCH-based binding?

--
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html