mbox series

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

Message ID 20221226125454.16106-1-jose.exposito89@gmail.com (mailing list archive)
Headers show
Series HID: uclogic: Add support for XP-PEN Deco PRO SW and MW | expand

Message

José Expósito Dec. 26, 2022, 12:54 p.m. UTC
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/20221226123456.14822-1-jose.exposito89@gmail.com/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

Comments

Jiri Kosina Jan. 18, 2023, 8:46 a.m. UTC | #1
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/20221226123456.14822-1-jose.exposito89@gmail.com/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,