Message ID | 20190608092324.4623-1-git@xen0n.name (mailing list archive) |
---|---|
State | Mainlined |
Commit | 88bb346dd63b65e5cb4922466cffbbb27d24f08d |
Delegated to: | Jiri Kosina |
Headers | show |
Series | HID: uclogic: Add support for Ugee Rainbow CV720 | expand |
On 6/8/19 12:23 PM, Wang Xuerui wrote: > Add support for Ugee Rainbow CV720 to hid-uclogic. Looks good to me. Reviewed-By: Nikolai Kondrashov <spbnick@gmail.com> On 6/8/19 12:23 PM, Wang Xuerui wrote: > Add support for Ugee Rainbow CV720 to hid-uclogic. > > Signed-off-by: Wang Xuerui <git@xen0n.name> > --- > drivers/hid/hid-ids.h | 1 + > drivers/hid/hid-uclogic-core.c | 2 ++ > drivers/hid/hid-uclogic-params.c | 2 ++ > 3 files changed, 5 insertions(+) > > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h > index 84e0c78d73cd..80edfb639306 100644 > --- a/drivers/hid/hid-ids.h > +++ b/drivers/hid/hid-ids.h > @@ -1153,6 +1153,7 @@ > #define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01 0x0042 > #define USB_DEVICE_ID_UGEE_TABLET_G5 0x0074 > #define USB_DEVICE_ID_UGEE_TABLET_EX07S 0x0071 > +#define USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720 0x0055 > > #define USB_VENDOR_ID_UNITEC 0x227d > #define USB_DEVICE_ID_UNITEC_USB_TOUCH_0709 0x0709 > diff --git a/drivers/hid/hid-uclogic-core.c b/drivers/hid/hid-uclogic-core.c > index 8fe02d81265d..490c1ddb350c 100644 > --- a/drivers/hid/hid-uclogic-core.c > +++ b/drivers/hid/hid-uclogic-core.c > @@ -387,6 +387,8 @@ static const struct hid_device_id uclogic_devices[] = { > USB_DEVICE_ID_UGEE_TABLET_G5) }, > { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > USB_DEVICE_ID_UGEE_TABLET_EX07S) }, > + { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > + USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720) }, > { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540) }, > { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > diff --git a/drivers/hid/hid-uclogic-params.c b/drivers/hid/hid-uclogic-params.c > index 0187c9f8fc22..8e120dde31fa 100644 > --- a/drivers/hid/hid-uclogic-params.c > +++ b/drivers/hid/hid-uclogic-params.c > @@ -999,6 +999,8 @@ int uclogic_params_init(struct uclogic_params *params, > USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540): > case VID_PID(USB_VENDOR_ID_UGEE, > USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640): > + case VID_PID(USB_VENDOR_ID_UGEE, > + USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720): > /* If this is the pen interface */ > if (bInterfaceNumber == 1) { > /* Probe v1 pen parameters */ >
On Sat, Jun 8, 2019 at 1:52 PM Wang Xuerui <git@xen0n.name> wrote: > > Add support for Ugee Rainbow CV720 to hid-uclogic. > > Signed-off-by: Wang Xuerui <git@xen0n.name> > --- Applied to for-5.3/uclogic Thanks! Cheers, Benjamin > drivers/hid/hid-ids.h | 1 + > drivers/hid/hid-uclogic-core.c | 2 ++ > drivers/hid/hid-uclogic-params.c | 2 ++ > 3 files changed, 5 insertions(+) > > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h > index 84e0c78d73cd..80edfb639306 100644 > --- a/drivers/hid/hid-ids.h > +++ b/drivers/hid/hid-ids.h > @@ -1153,6 +1153,7 @@ > #define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01 0x0042 > #define USB_DEVICE_ID_UGEE_TABLET_G5 0x0074 > #define USB_DEVICE_ID_UGEE_TABLET_EX07S 0x0071 > +#define USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720 0x0055 > > #define USB_VENDOR_ID_UNITEC 0x227d > #define USB_DEVICE_ID_UNITEC_USB_TOUCH_0709 0x0709 > diff --git a/drivers/hid/hid-uclogic-core.c b/drivers/hid/hid-uclogic-core.c > index 8fe02d81265d..490c1ddb350c 100644 > --- a/drivers/hid/hid-uclogic-core.c > +++ b/drivers/hid/hid-uclogic-core.c > @@ -387,6 +387,8 @@ static const struct hid_device_id uclogic_devices[] = { > USB_DEVICE_ID_UGEE_TABLET_G5) }, > { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > USB_DEVICE_ID_UGEE_TABLET_EX07S) }, > + { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > + USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720) }, > { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540) }, > { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, > diff --git a/drivers/hid/hid-uclogic-params.c b/drivers/hid/hid-uclogic-params.c > index 0187c9f8fc22..8e120dde31fa 100644 > --- a/drivers/hid/hid-uclogic-params.c > +++ b/drivers/hid/hid-uclogic-params.c > @@ -999,6 +999,8 @@ int uclogic_params_init(struct uclogic_params *params, > USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540): > case VID_PID(USB_VENDOR_ID_UGEE, > USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640): > + case VID_PID(USB_VENDOR_ID_UGEE, > + USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720): > /* If this is the pen interface */ > if (bInterfaceNumber == 1) { > /* Probe v1 pen parameters */ > -- > 2.21.0 >
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 84e0c78d73cd..80edfb639306 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1153,6 +1153,7 @@ #define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01 0x0042 #define USB_DEVICE_ID_UGEE_TABLET_G5 0x0074 #define USB_DEVICE_ID_UGEE_TABLET_EX07S 0x0071 +#define USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720 0x0055 #define USB_VENDOR_ID_UNITEC 0x227d #define USB_DEVICE_ID_UNITEC_USB_TOUCH_0709 0x0709 diff --git a/drivers/hid/hid-uclogic-core.c b/drivers/hid/hid-uclogic-core.c index 8fe02d81265d..490c1ddb350c 100644 --- a/drivers/hid/hid-uclogic-core.c +++ b/drivers/hid/hid-uclogic-core.c @@ -387,6 +387,8 @@ static const struct hid_device_id uclogic_devices[] = { USB_DEVICE_ID_UGEE_TABLET_G5) }, { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, USB_DEVICE_ID_UGEE_TABLET_EX07S) }, + { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, + USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720) }, { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540) }, { HID_USB_DEVICE(USB_VENDOR_ID_UGEE, diff --git a/drivers/hid/hid-uclogic-params.c b/drivers/hid/hid-uclogic-params.c index 0187c9f8fc22..8e120dde31fa 100644 --- a/drivers/hid/hid-uclogic-params.c +++ b/drivers/hid/hid-uclogic-params.c @@ -999,6 +999,8 @@ int uclogic_params_init(struct uclogic_params *params, USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540): case VID_PID(USB_VENDOR_ID_UGEE, USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640): + case VID_PID(USB_VENDOR_ID_UGEE, + USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720): /* If this is the pen interface */ if (bInterfaceNumber == 1) { /* Probe v1 pen parameters */
Add support for Ugee Rainbow CV720 to hid-uclogic. Signed-off-by: Wang Xuerui <git@xen0n.name> --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-uclogic-core.c | 2 ++ drivers/hid/hid-uclogic-params.c | 2 ++ 3 files changed, 5 insertions(+)