* [PATCH 1/2] HID: logitech-dj: Differentiate "invalid device index" error
2026-01-25 12:12 [PATCH 0/2] HID: logitech-hidpp: Add support for Logitech K980 Bastien Nocera
@ 2026-01-25 12:12 ` Bastien Nocera
2026-01-25 12:12 ` [PATCH 2/2] HID: logitech-hidpp: Add support for Logitech K980 Bastien Nocera
2026-02-02 12:48 ` [PATCH 0/2] " Jiri Kosina
2 siblings, 0 replies; 4+ messages in thread
From: Bastien Nocera @ 2026-01-25 12:12 UTC (permalink / raw)
To: linux-input
Cc: linux-kernel, Jiri Kosina, Benjamin Tissoires,
Peter F . Patel-Schneider, Filipe Laíns, Nestor Lopez Casado,
Bastien Nocera
We had 2 codepaths throwing the "invalid device index" error, but one of
them was about the index not matching the receiver, so change the error
to "invalid receiver index".
Signed-off-by: Bastien Nocera <hadess@hadess.net>
---
drivers/hid/hid-logitech-dj.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index 44b716697510..e728f00f5bdc 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -1664,7 +1664,7 @@ static int logi_dj_dj_event(struct hid_device *hdev,
* so ignore those reports too.
*/
if (dj_report->device_index != DJ_RECEIVER_INDEX)
- hid_err(hdev, "%s: invalid device index:%d\n",
+ hid_err(hdev, "%s: invalid receiver index:%d\n",
__func__, dj_report->device_index);
return false;
}
--
2.52.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] HID: logitech-hidpp: Add support for Logitech K980
2026-01-25 12:12 [PATCH 0/2] HID: logitech-hidpp: Add support for Logitech K980 Bastien Nocera
2026-01-25 12:12 ` [PATCH 1/2] HID: logitech-dj: Differentiate "invalid device index" error Bastien Nocera
@ 2026-01-25 12:12 ` Bastien Nocera
2026-02-02 12:48 ` [PATCH 0/2] " Jiri Kosina
2 siblings, 0 replies; 4+ messages in thread
From: Bastien Nocera @ 2026-01-25 12:12 UTC (permalink / raw)
To: linux-input
Cc: linux-kernel, Jiri Kosina, Benjamin Tissoires,
Peter F . Patel-Schneider, Filipe Laíns, Nestor Lopez Casado,
Bastien Nocera
Add support for the solar-charging Logitech K980 keyboard, over
Bluetooth. Bolt traffic doesn't get routed through logitech-dj, so
this code isn't triggered when Bolt is used.
Signed-off-by: Bastien Nocera <hadess@hadess.net>
---
drivers/hid/hid-logitech-hidpp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index e871f1729d4b..ca96102121b8 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -4666,6 +4666,8 @@ static const struct hid_device_id hidpp_devices[] = {
HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb037) },
{ /* MX Anywhere 3SB mouse over Bluetooth */
HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb038) },
+ { /* Slim Solar+ K980 Keyboard over Bluetooth */
+ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, 0xb391) },
{}
};
--
2.52.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 0/2] HID: logitech-hidpp: Add support for Logitech K980
2026-01-25 12:12 [PATCH 0/2] HID: logitech-hidpp: Add support for Logitech K980 Bastien Nocera
2026-01-25 12:12 ` [PATCH 1/2] HID: logitech-dj: Differentiate "invalid device index" error Bastien Nocera
2026-01-25 12:12 ` [PATCH 2/2] HID: logitech-hidpp: Add support for Logitech K980 Bastien Nocera
@ 2026-02-02 12:48 ` Jiri Kosina
2 siblings, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2026-02-02 12:48 UTC (permalink / raw)
To: Bastien Nocera
Cc: linux-input, linux-kernel, Benjamin Tissoires,
Peter F . Patel-Schneider, Filipe Laíns, Nestor Lopez Casado
On Sun, 25 Jan 2026, Bastien Nocera wrote:
> Tested over Bluetooth.
>
> Bastien Nocera (2):
> HID: logitech-dj: Differentiate "invalid device index" error
> HID: logitech-hidpp: Add support for Logitech K980
Applied, thanks a lot Bastien.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread