Re: [PATCH] Add VID/PID for HID-type Multi-Touch Module of AFO CO., LTD.

From: Jiri Kosina
Date: Tue Mar 25 2014 - 06:59:59 EST


On Tue, 25 Mar 2014, YongHwan Ki wrote:

> 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.

> Add the VID/PID of AFO to the hid-related lists.
>
> Kernel Version : linux-3.14.rc7
>
> Signed-off-by: Yonghwan Ki <kyhw@xxxxxxxxxx>
>
> diff -uprN -X Documentation/dontdiff ./drivers/hid/hid-core.c ../linux-3.14-rc7/drivers/hid/hid-core.c
> --- ./drivers/hid/hid-core.c 2014-03-21 17:41:51.846939444 +0900
> +++ ../linux-3.14-rc7/drivers/hid/hid-core.c 2014-03-17 10:51:24.000000000 +0900
> @@ -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
> --- ./drivers/hid/hid-ids.h 2014-03-21 17:30:34.478959555 +0900
> +++ ../linux-3.14-rc7/drivers/hid/hid-ids.h 2014-03-17 10:51:24.000000000 +0900
> @@ -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
> --- ./drivers/hid/hid-multitouch.c 2014-03-21 17:45:25.946933088 +0900
> +++ ../linux-3.14-rc7/drivers/hid/hid-multitouch.c 2014-03-17 10:51:24.000000000 +0900
> @@ -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
> --- ./lib/oid_registry_data.c 2014-03-24 21:43:59.826812763 +0900
> +++ ../linux-3.14-rc7/lib/oid_registry_data.c 2014-03-21 18:45:37.598825862 +0900
> @@ -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
> --- ./signing_key.priv 2014-03-24 20:22:01.946958769 +0900
> +++ ../linux-3.14-rc7/signing_key.priv 2014-03-21 17:24:11.874970914 +0900
> @@ -1,52 +1,52 @@
> -----BEGIN PRIVATE KEY-----

I doubt this was intended.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/