diff mbox series

[v3] HID: logitech: Add MX Master 3 Mouse

Message ID 20191025205928.87295-1-adrian@freund.io (mailing list archive)
State Mainlined
Commit 04bd68171e01843284accbcfaa4cd2c50d1707ed
Delegated to: Benjamin Tissoires
Headers show
Series [v3] HID: logitech: Add MX Master 3 Mouse | expand

Commit Message

Adrian Freund Oct. 25, 2019, 8:59 p.m. UTC
This patch adds support for the Logitech MX Master 3 Mouse using the
Logitech Unifying Receiver and Bluetooth LE.

Signed-off-by: Adrian Freund <adrian@freund.io>
---
v3:
  - rebased on top of https://patchwork.kernel.org/project/linux-input/list/?series=190445
  - Added bluetooth id

v2:
  - added Signed-off-by line
---
 drivers/hid/hid-logitech-hidpp.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Mazin Rezk Oct. 27, 2019, 5:51 p.m. UTC | #1
On Friday, October 25, 2019 4:59 PM, Adrian Freund <adrian@freund.io> wrote:

> This patch adds support for the Logitech MX Master 3 Mouse using the
> Logitech Unifying Receiver and Bluetooth LE.
>
> Signed-off-by: Adrian Freund adrian@freund.io
>
> v3:
>
> -   rebased on top of https://patchwork.kernel.org/project/linux-input/list/?series=190445

I have updated this series over here:
https://patchwork.kernel.org/project/linux-input/list/?series=194201

However, the update only squashed two commits within the series so nothing
needs to be done here.

Thanks,
Mazin

> -   Added bluetooth id
>
>     v2:
>
> -   added Signed-off-by line
>
> drivers/hid/hid-logitech-hidpp.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
> index 23baf9b09c48..74f2517d88d5 100644
> --- a/drivers/hid/hid-logitech-hidpp.c
> +++ b/drivers/hid/hid-logitech-hidpp.c
> @@ -3793,6 +3793,8 @@ static const struct hid_device_id hidpp_devices[] = {
> { LDJ_DEVICE(0x4071), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> { /* Mouse Logitech MX Master 2S */
> LDJ_DEVICE(0x4069), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
>
> -   { /* Mouse Logitech MX Master 3 */
> -       LDJ_DEVICE(0x4082), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
>
>
>     { /* Mouse Logitech Performance MX/
>     LDJ_DEVICE(0x101a), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_1P0 },
>     { / Keyboard logitech K400 */@@ -3854,6 +3856,9 @@ static const struct hid_device_id hidpp_devices[] = {
>     .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
>     { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e),
>     .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
>
> -   { /* MX Master 3 mouse over Bluetooth */
> -       HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb023),
>
>
> -       .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
>
>
>     {}
>     };
>
>     --
>     2.23.0
>
Benjamin Tissoires Dec. 18, 2019, 3:51 p.m. UTC | #2
On Sun, Oct 27, 2019 at 6:51 PM Mazin Rezk <mnrzk@protonmail.com> wrote:
>
> On Friday, October 25, 2019 4:59 PM, Adrian Freund <adrian@freund.io> wrote:
>
> > This patch adds support for the Logitech MX Master 3 Mouse using the
> > Logitech Unifying Receiver and Bluetooth LE.
> >
> > Signed-off-by: Adrian Freund adrian@freund.io
> >
> > v3:
> >
> > -   rebased on top of https://patchwork.kernel.org/project/linux-input/list/?series=190445
>
> I have updated this series over here:
> https://patchwork.kernel.org/project/linux-input/list/?series=194201
>
> However, the update only squashed two commits within the series so nothing
> needs to be done here.

Yep, thanks both of you.

Applied to for-5.6/logitech, sorry for the delay.

Cheers,
Benjamin

>
> Thanks,
> Mazin
>
> > -   Added bluetooth id
> >
> >     v2:
> >
> > -   added Signed-off-by line
> >
> > drivers/hid/hid-logitech-hidpp.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
> > index 23baf9b09c48..74f2517d88d5 100644
> > --- a/drivers/hid/hid-logitech-hidpp.c
> > +++ b/drivers/hid/hid-logitech-hidpp.c
> > @@ -3793,6 +3793,8 @@ static const struct hid_device_id hidpp_devices[] = {
> > { LDJ_DEVICE(0x4071), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> > { /* Mouse Logitech MX Master 2S */
> > LDJ_DEVICE(0x4069), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> >
> > -   { /* Mouse Logitech MX Master 3 */
> > -       LDJ_DEVICE(0x4082), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> >
> >
> >     { /* Mouse Logitech Performance MX/
> >     LDJ_DEVICE(0x101a), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_1P0 },
> >     { / Keyboard logitech K400 */@@ -3854,6 +3856,9 @@ static const struct hid_device_id hidpp_devices[] = {
> >     .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> >     { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e),
> >     .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> >
> > -   { /* MX Master 3 mouse over Bluetooth */
> > -       HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb023),
> >
> >
> > -       .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
> >
> >
> >     {}
> >     };
> >
> >     --
> >     2.23.0
> >
>
>
diff mbox series

Patch

diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 23baf9b09c48..74f2517d88d5 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -3793,6 +3793,8 @@  static const struct hid_device_id hidpp_devices[] = {
 	{ LDJ_DEVICE(0x4071), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
 	{ /* Mouse Logitech MX Master 2S */
 	  LDJ_DEVICE(0x4069), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
+	{ /* Mouse Logitech MX Master 3 */
+	  LDJ_DEVICE(0x4082), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
 	{ /* Mouse Logitech Performance MX */
 	  LDJ_DEVICE(0x101a), .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_1P0 },
 	{ /* Keyboard logitech K400 */
@@ -3854,6 +3856,9 @@  static const struct hid_device_id hidpp_devices[] = {
 	  .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
 	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb01e),
 	  .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
+	{ /* MX Master 3 mouse over Bluetooth */
+	  HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb023),
+	  .driver_data = HIDPP_QUIRK_HI_RES_SCROLL_X2121 },
 	{}
 };