From: "Kateřina Medvědová" <k8ie@mcld.eu>
To: erikhakan@gmail.com
Cc: bentiss@kernel.org, hadess@hadess.net, jikos@kernel.org,
lains@riseup.net, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] HID: logitech: add Bolt receiver support for Logitech HID++ devices
Date: Sun, 12 Jul 2026 20:03:54 +0200 [thread overview]
Message-ID: <345f7347-30a8-4568-a7a6-c70f54a52a8d@mcld.eu> (raw)
In-Reply-To: <20260712003051.338194-2-erikhakan@gmail.com>
Hello Erik,
I tested your patch on my hardware and found two issues:
1. Both keyboard and mouse inputs stop working correctly. The mouse
becomes very sensitive and creates events that shouldn't happen
(sometimes scrolls on its own) and the keyboard's keys are scrambled. I
verified on my hardware that if you pass the first two of Bolt's
interfaces (0 boot keyboard and 1 boot mouse) to the generic HID driver
and only handle interface 2 in the DJ driver, you can keep the extra
functionality (like battery reporting) without affecting inputs. The
existing bInterfaceNumber >= no_dj_interfaces check never triggers for
Bolt. no_dj_interfaces = 3, but the receiver's highest interface number
is 2, so interfaces 0 and 1 fall through to the DJ path. Here's what
fixed it:
if (id->driver_data == recvr_type_bolt && intf &&
intf->altsetting->desc.bInterfaceNumber !=
LOGITECH_DJ_INTERFACE_NUMBER) {
hdev->quirks |= HID_QUIRK_INPUT_PER_APP;
return hid_hw_start(hdev, HID_CONNECT_DEFAULT);
}
2. Bolt devices stay behind after unpairing in userspace (using Solaar).
The existing driver code doesn't handle Bolt's unpair events so devices
stay visible after unpairing. Here's how I handled it:
if (djrcv_dev->type == recvr_type_bolt &&
hidpp_report->report_id == REPORT_ID_HIDPP_SHORT &&
hidpp_report->sub_id == REPORT_TYPE_NOTIF_DEVICE_UNPAIRED) {
struct dj_workitem workitem = {
.device_index = device_index,
.type = WORKITEM_TYPE_UNPAIRED,
};
kfifo_in(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem));
schedule_work(&djrcv_dev->work);
spin_unlock_irqrestore(&djrcv_dev->lock, flags);
return false;
}
Hardware tested:
- Logi Bolt receiver (046d:c548)
- Logi POP Icon Keys
- Logi Lift Vertical
- Logi K650
Happy to do more testing.
Regards,
Kateřina Medvědová
prev parent reply other threads:[~2026-07-12 18:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 0:30 [PATCH 0/1] HID: logitech: add Bolt receiver support for Logitech HID++ devices Erik Håkansson
2026-07-12 0:30 ` [PATCH 1/1] " Erik Håkansson
2026-07-12 18:03 ` Kateřina Medvědová [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=345f7347-30a8-4568-a7a6-c70f54a52a8d@mcld.eu \
--to=k8ie@mcld.eu \
--cc=bentiss@kernel.org \
--cc=erikhakan@gmail.com \
--cc=hadess@hadess.net \
--cc=jikos@kernel.org \
--cc=lains@riseup.net \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox