From: utzcoz <utzcoz@gmail.com>
To: Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <bentiss@kernel.org>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
utzcoz <utzcoz@gmail.com>
Subject: [PATCH] HID: apple: Add Niz keyboard dongle to non-apple keyboards list
Date: Sat, 4 Apr 2026 00:18:06 +0800 [thread overview]
Message-ID: <20260403161806.31908-1-utzcoz@gmail.com> (raw)
Niz X99 uses a 2.4GHz wireless dongle (Milsky LL Dongle) that
reports Apple's vendor and product IDs (05ac:0220), causing
hid-apple to apply Apple function key translation. Since the
dongle has no Apple Fn key, F1-F12 become unreachable when fnmode
defaults to media-first behavior.
Add the Milsky LL Dongle to the non_apple_keyboards list so that
fnmode=3 (auto) correctly resolves to fnmode=2, making F1-F12 work
as standard function keys.
Signed-off-by: utzcoz <utzcoz@gmail.com>
---
drivers/hid/hid-apple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index fc5897a6bb53..c29834cfa468 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -368,6 +368,7 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
{ "TH87" }, /* EPOMAKER TH87 BT mode */
{ "HFD Epomaker TH87" }, /* EPOMAKER TH87 USB mode */
{ "2.4G Wireless Receiver" }, /* EPOMAKER TH87 dongle */
+ { "Milsky LL Dongle" }, /* Niz keyboard dongle */
};
static bool apple_is_non_apple_keyboard(struct hid_device *hdev)
--
2.51.0
reply other threads:[~2026-04-03 16:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260403161806.31908-1-utzcoz@gmail.com \
--to=utzcoz@gmail.com \
--cc=bentiss@kernel.org \
--cc=jikos@kernel.org \
--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