All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HID: logitech-dj: add new lightspeed receiver id
@ 2022-01-26 14:44 Lucas Zampieri
  2022-01-26 14:47 ` Benjamin Tissoires
  0 siblings, 1 reply; 5+ messages in thread
From: Lucas Zampieri @ 2022-01-26 14:44 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, linux-input, linux-kernel
  Cc: lains, nlopezcasad, Lucas Zampieri

As of logitech lightspeed receiver fw version 04.02.B0009,
HIDPP_PARAM_DEVICE_INFO is being reported as 0x11.

With patch "HID: logitech-dj: add support for the new lightspeed receiver
iteration", the mouse starts to error out with:
  logitech-djreceiver: unusable device of type UNKNOWN (0x011) connected on
  slot 1
and becomes unusable.

This has been noticed on a Logitech G Pro X Superlight fw MPM 25.01.B0018.

Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
---
 drivers/hid/hid-logitech-dj.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index a0017b010c34..9f68c0631439 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -1068,6 +1068,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
 		workitem.reports_supported |= STD_KEYBOARD;
 		break;
 	case 0x0f:
+	case 0x11:
 		device_type = "eQUAD Lightspeed 1.2";
 		logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
 		workitem.reports_supported |= STD_KEYBOARD;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: logitech-dj: add new lightspeed receiver id
  2022-01-26 14:44 [PATCH] HID: logitech-dj: add new lightspeed receiver id Lucas Zampieri
@ 2022-01-26 14:47 ` Benjamin Tissoires
  2022-01-26 14:54   ` Filipe Laíns
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Tissoires @ 2022-01-26 14:47 UTC (permalink / raw)
  To: Lucas Zampieri
  Cc: Jiri Kosina, open list:HID CORE LAYER, lkml, Filipe Laíns,
	Nestor Lopez Casado

On Wed, Jan 26, 2022 at 3:44 PM Lucas Zampieri <lzampier@redhat.com> wrote:
>
> As of logitech lightspeed receiver fw version 04.02.B0009,
> HIDPP_PARAM_DEVICE_INFO is being reported as 0x11.
>
> With patch "HID: logitech-dj: add support for the new lightspeed receiver
> iteration", the mouse starts to error out with:
>   logitech-djreceiver: unusable device of type UNKNOWN (0x011) connected on
>   slot 1
> and becomes unusable.
>
> This has been noticed on a Logitech G Pro X Superlight fw MPM 25.01.B0018.

The patch looks good to me.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Ideally, Nestor, can you confirm this is expected and that we won't
have any bad surprises there?

I think we probably want this to be Cc-ed to stable once it gets
merged (we can add the tag as we merge it).

Cheers,
Benjamin

>
> Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
> ---
>  drivers/hid/hid-logitech-dj.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
> index a0017b010c34..9f68c0631439 100644
> --- a/drivers/hid/hid-logitech-dj.c
> +++ b/drivers/hid/hid-logitech-dj.c
> @@ -1068,6 +1068,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
>                 workitem.reports_supported |= STD_KEYBOARD;
>                 break;
>         case 0x0f:
> +       case 0x11:
>                 device_type = "eQUAD Lightspeed 1.2";
>                 logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
>                 workitem.reports_supported |= STD_KEYBOARD;
> --
> 2.34.1
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: logitech-dj: add new lightspeed receiver id
  2022-01-26 14:47 ` Benjamin Tissoires
@ 2022-01-26 14:54   ` Filipe Laíns
  2022-02-15  9:00     ` Nestor Lopez Casado
  0 siblings, 1 reply; 5+ messages in thread
From: Filipe Laíns @ 2022-01-26 14:54 UTC (permalink / raw)
  To: Benjamin Tissoires, Lucas Zampieri
  Cc: Jiri Kosina, open list:HID CORE LAYER, lkml, Nestor Lopez Casado

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

On Wed, 2022-01-26 at 15:47 +0100, Benjamin Tissoires wrote:
> On Wed, Jan 26, 2022 at 3:44 PM Lucas Zampieri <lzampier@redhat.com> wrote:
> > 
> > As of logitech lightspeed receiver fw version 04.02.B0009,
> > HIDPP_PARAM_DEVICE_INFO is being reported as 0x11.
> > 
> > With patch "HID: logitech-dj: add support for the new lightspeed receiver
> > iteration", the mouse starts to error out with:
> >   logitech-djreceiver: unusable device of type UNKNOWN (0x011) connected on
> >   slot 1
> > and becomes unusable.
> > 
> > This has been noticed on a Logitech G Pro X Superlight fw MPM 25.01.B0018.
> 
> The patch looks good to me.
> 
> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> 
> Ideally, Nestor, can you confirm this is expected and that we won't
> have any bad surprises there?
> 
> I think we probably want this to be Cc-ed to stable once it gets
> merged (we can add the tag as we merge it).
> 
> Cheers,
> Benjamin

This is likely a different connection type, so it should probably get its own
case statement, but let's let Nestor confirm :)

Cheers,
Filipe Laíns

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: logitech-dj: add new lightspeed receiver id
  2022-01-26 14:54   ` Filipe Laíns
@ 2022-02-15  9:00     ` Nestor Lopez Casado
  2022-02-16 15:26       ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Nestor Lopez Casado @ 2022-02-15  9:00 UTC (permalink / raw)
  To: Filipe Laíns
  Cc: Benjamin Tissoires, Lucas Zampieri, Jiri Kosina,
	open list:HID CORE LAYER, lkml

On Wed, Jan 26, 2022 at 3:55 PM Filipe Laíns <lains@riseup.net> wrote:
>
> On Wed, 2022-01-26 at 15:47 +0100, Benjamin Tissoires wrote:
> > On Wed, Jan 26, 2022 at 3:44 PM Lucas Zampieri <lzampier@redhat.com> wrote:
> > >
> > > As of logitech lightspeed receiver fw version 04.02.B0009,
> > > HIDPP_PARAM_DEVICE_INFO is being reported as 0x11.
> > >
> > > With patch "HID: logitech-dj: add support for the new lightspeed receiver
> > > iteration", the mouse starts to error out with:
> > >   logitech-djreceiver: unusable device of type UNKNOWN (0x011) connected on
> > >   slot 1
> > > and becomes unusable.
> > >
> > > This has been noticed on a Logitech G Pro X Superlight fw MPM 25.01.B0018.
> >
> > The patch looks good to me.
> >
> > Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> >
> > Ideally, Nestor, can you confirm this is expected and that we won't
> > have any bad surprises there?
Yes, I confirm this matches our specifications, this is an iteration
of Lightspeed 1.2
No objections on my side.

> >
> > I think we probably want this to be Cc-ed to stable once it gets
> > merged (we can add the tag as we merge it).
> >
> > Cheers,
> > Benjamin
>
> This is likely a different connection type, so it should probably get its own
> case statement, but let's let Nestor confirm :)
>
> Cheers,
> Filipe Laíns
best,
-nestor

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] HID: logitech-dj: add new lightspeed receiver id
  2022-02-15  9:00     ` Nestor Lopez Casado
@ 2022-02-16 15:26       ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2022-02-16 15:26 UTC (permalink / raw)
  To: Nestor Lopez Casado
  Cc: Filipe Laíns, Benjamin Tissoires, Lucas Zampieri,
	open list:HID CORE LAYER, lkml

On Tue, 15 Feb 2022, Nestor Lopez Casado wrote:

> > > > As of logitech lightspeed receiver fw version 04.02.B0009,
> > > > HIDPP_PARAM_DEVICE_INFO is being reported as 0x11.
> > > >
> > > > With patch "HID: logitech-dj: add support for the new lightspeed receiver
> > > > iteration", the mouse starts to error out with:
> > > >   logitech-djreceiver: unusable device of type UNKNOWN (0x011) connected on
> > > >   slot 1
> > > > and becomes unusable.
> > > >
> > > > This has been noticed on a Logitech G Pro X Superlight fw MPM 25.01.B0018.
> > >
> > > The patch looks good to me.
> > >
> > > Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> > >
> > > Ideally, Nestor, can you confirm this is expected and that we won't
> > > have any bad surprises there?
> Yes, I confirm this matches our specifications, this is an iteration
> of Lightspeed 1.2
> No objections on my side.

Thanks. Based on this, I've applied this with

	Acked-by: Nestor Lopez Casado <nlopezcasad@logitech.com>

then. Please shout out loudly if you're not ok with that :)

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-16 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 14:44 [PATCH] HID: logitech-dj: add new lightspeed receiver id Lucas Zampieri
2022-01-26 14:47 ` Benjamin Tissoires
2022-01-26 14:54   ` Filipe Laíns
2022-02-15  9:00     ` Nestor Lopez Casado
2022-02-16 15:26       ` Jiri Kosina

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.