mbox series

[v3,0/2] Add support for XP-PEN Deco LW

Message ID 20221029161240.15548-1-jose.exposito89@gmail.com
Headers show
Series Add support for XP-PEN Deco LW | expand

Message

José Expósito Oct. 29, 2022, 4:12 p.m. UTC
v1 -> v2: https://lore.kernel.org/linux-input/20221028081656.GA19766@elementary/T/

 - Barnabás Pőcze: Use strstarts() instead of a custom implementation

v2 -> v3: https://lore.kernel.org/linux-input/20221029145511.GA7941@elementary/T/

 - Mia Kanashi: When using the USB dongle, do not fetch battery until
   the tablet is paired

José Expósito (2):
  HID: input: do not query XP-PEN Deco LW battery
  HID: uclogic: Add support for XP-PEN Deco LW

 drivers/hid/hid-input.c          |  6 +++
 drivers/hid/hid-uclogic-params.c | 73 ++++++++++++++++++++++++++++++++
 drivers/hid/hid-uclogic-rdesc.c  | 34 +++++++++++++++
 drivers/hid/hid-uclogic-rdesc.h  |  7 +++
 4 files changed, 120 insertions(+)

Comments

Jiri Kosina Nov. 4, 2022, 1:13 p.m. UTC | #1
On Sat, 29 Oct 2022, Mia Kanashi wrote:

> >The XP-PEN Deco LW drawing tablet can be connected by USB cable or using
> >a USB Bluetooth dongle. When it is connected using the dongle, there
> >might be a small delay until the tablet is paired with the dongle.
> >
> >Fetching the device battery during this delay results in random battery
> >percentage values.
> >
> >Add a quirk to avoid actively querying the battery percentage and wait
> >for the device to report it on its own.
> >
> >Reported-by: Mia Kanashi <chad@redpilled.dev>
> >Signed-off-by: José Expósito <jose.exposito89@gmail.com>

[ ... snip ... ]

> I've tested this patch and now power supply status is correctly set to 
> Unknown and capacity is set to 0 initially.
> 
> Just a note that that issue occured not only with the dongle, but a 
> cable also. It seems that tablet just doesn't respond to the query.
> 
> Thank you for the work!

Based on this, can I assume that I can turn

	Reported-by: Mia Kanashi <chad@redpilled.dev>

into

	Reported-and-tested-by: Mia Kanashi <chad@redpilled.dev>

for the final version?

Thanks,
Mia Kanashi Nov. 4, 2022, 2:47 p.m. UTC | #2
On 4 November 2022 15:13:34 EET, Jiri Kosina <jikos@kernel.org> wrote:
>Based on this, can I assume that I can turn
>
>	Reported-by: Mia Kanashi <chad@redpilled.dev>
>
>into
>
>	Reported-and-tested-by: Mia Kanashi <chad@redpilled.dev>
>
>for the final version?
>
>Thanks,

Yes, but maintainer docs don't recommend using combined tags. :)

  Please do not use combined tags, e.g. Reported-and-tested-by, 
  as they just complicate automated extraction of tags.

link: https://www.kernel.org/doc/html/latest/process/maintainer-tip.html?highlight=Reported-and-tested-by#ordering-of-commit-tags
Jiri Kosina Nov. 4, 2022, 2:54 p.m. UTC | #3
On Sat, 29 Oct 2022, José Expósito wrote:

> v1 -> v2: https://lore.kernel.org/linux-input/20221028081656.GA19766@elementary/T/
> 
>  - Barnabás Pőcze: Use strstarts() instead of a custom implementation
> 
> v2 -> v3: https://lore.kernel.org/linux-input/20221029145511.GA7941@elementary/T/
> 
>  - Mia Kanashi: When using the USB dongle, do not fetch battery until
>    the tablet is paired
> 
> José Expósito (2):
>   HID: input: do not query XP-PEN Deco LW battery
>   HID: uclogic: Add support for XP-PEN Deco LW
> 
>  drivers/hid/hid-input.c          |  6 +++
>  drivers/hid/hid-uclogic-params.c | 73 ++++++++++++++++++++++++++++++++
>  drivers/hid/hid-uclogic-rdesc.c  | 34 +++++++++++++++
>  drivers/hid/hid-uclogic-rdesc.h  |  7 +++
>  4 files changed, 120 insertions(+)

Now in hid.git#for-6.2/uclogic.
José Expósito Nov. 4, 2022, 4:26 p.m. UTC | #4
On Fri, Nov 04, 2022 at 02:13:34PM +0100, Jiri Kosina wrote:
> On Sat, 29 Oct 2022, Mia Kanashi wrote:
> 
> > >The XP-PEN Deco LW drawing tablet can be connected by USB cable or using
> > >a USB Bluetooth dongle. When it is connected using the dongle, there
> > >might be a small delay until the tablet is paired with the dongle.
> > >
> > >Fetching the device battery during this delay results in random battery
> > >percentage values.
> > >
> > >Add a quirk to avoid actively querying the battery percentage and wait
> > >for the device to report it on its own.
> > >
> > >Reported-by: Mia Kanashi <chad@redpilled.dev>
> > >Signed-off-by: José Expósito <jose.exposito89@gmail.com>
> 
> [ ... snip ... ]
> 
> > I've tested this patch and now power supply status is correctly set to 
> > Unknown and capacity is set to 0 initially.
> > 
> > Just a note that that issue occured not only with the dongle, but a 
> > cable also. It seems that tablet just doesn't respond to the query.
> > 
> > Thank you for the work!
> 
> Based on this, can I assume that I can turn
> 
> 	Reported-by: Mia Kanashi <chad@redpilled.dev>
> 
> into
> 
> 	Reported-and-tested-by: Mia Kanashi <chad@redpilled.dev>
> 
> for the final version?
> 
> Thanks,
> 
> -- 
> Jiri Kosina
> SUSE Labs
> 

Thanks for adding the tags and reviewing and merging the patches Jiří!

Jose