2022-12-26 13:51:34

by José Expósito

[permalink] [raw]
Subject: [PATCH 0/6] HID: uclogic: Add support for XP-PEN Deco PRO SW and MW

Hi!

This series add support for the XP-PEN Deco PRO SW and MW drawing
tablets.

Both tablets are similar, the only difference between them is their
size and their IDs. I own one of them and Andreas helped me test the
other one, so thanks a lot!

Please note that this series might cause conflicts with [1], but they
should be really easy to fix/I can rebase once it is merged.

About the patches:

- The first patch introduces a quirks to be able to fix the frame type
reported by these devices.
- The second patch adds another quirks to know whether a tablet has
battery or not. I didn't find any difference in the information
reported by the firmware nor in the Windows driver to obtain this
information, so I added a manual flag.
- The fourth patch adds a generic mechanism to schedule jobs when an
event is received, in this case, to reconnect the tablet.
- The last two patches add support for the tablets.

Best wishes,
José Expósito

[1] [PATCH] HID: uclogic: Add support for XP-PEN Deco 01 V2
https://lore.kernel.org/linux-input/[email protected]/T/

José Expósito (6):
HID: uclogic: Add frame type quirk
HID: uclogic: Add battery quirk
HID: uclogic: Refactor UGEEv2 probe magic data
HID: uclogic: Handle wireless device reconnection
HID: uclogic: Add support for XP-PEN Deco Pro SW
HID: uclogic: Add support for XP-PEN Deco Pro MW

drivers/hid/hid-ids.h | 2 +
drivers/hid/hid-input.c | 4 +
drivers/hid/hid-uclogic-core-test.c | 105 ++++++++++++++++++++++
drivers/hid/hid-uclogic-core.c | 61 +++++++++----
drivers/hid/hid-uclogic-params-test.c | 16 ++++
drivers/hid/hid-uclogic-params.c | 124 ++++++++++++++++++++++++--
drivers/hid/hid-uclogic-params.h | 40 +++++++++
drivers/hid/hid-uclogic-rdesc.c | 6 ++
drivers/hid/hid-uclogic-rdesc.h | 5 ++
9 files changed, 338 insertions(+), 25 deletions(-)
create mode 100644 drivers/hid/hid-uclogic-core-test.c

--
2.38.1


2023-01-18 10:04:31

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH 0/6] HID: uclogic: Add support for XP-PEN Deco PRO SW and MW

On Mon, 26 Dec 2022, José Expósito wrote:

> Hi!
>
> This series add support for the XP-PEN Deco PRO SW and MW drawing
> tablets.
>
> Both tablets are similar, the only difference between them is their
> size and their IDs. I own one of them and Andreas helped me test the
> other one, so thanks a lot!
>
> Please note that this series might cause conflicts with [1], but they
> should be really easy to fix/I can rebase once it is merged.
>
> About the patches:
>
> - The first patch introduces a quirks to be able to fix the frame type
> reported by these devices.
> - The second patch adds another quirks to know whether a tablet has
> battery or not. I didn't find any difference in the information
> reported by the firmware nor in the Windows driver to obtain this
> information, so I added a manual flag.
> - The fourth patch adds a generic mechanism to schedule jobs when an
> event is received, in this case, to reconnect the tablet.
> - The last two patches add support for the tablets.
>
> Best wishes,
> José Expósito
>
> [1] [PATCH] HID: uclogic: Add support for XP-PEN Deco 01 V2
> https://lore.kernel.org/linux-input/[email protected]/T/

I have queued this in for-6.3/uclogic branch. The conflict is a nobrainer,
so that shouldn't be an issue at all.

Thanks,

--
Jiri Kosina
SUSE Labs