From: Natalia Laskowska <nat@nekopon.pl>
To: "linux-input@vger.kernel.org" <linux-input@vger.kernel.org>
Cc: Nikolas Koesling <nikolas@koesling.info>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] HID: pulsar: add ATK A9 Mini+ and Compx 8K dongle support
Date: Tue, 1 Dec 2026 15:24:46 +0100 (CET) [thread overview]
Message-ID: <P7lzaZL--F-9@nekopon.pl> (raw)
Add the ATK A9 Mini+ (373b:128e) and the Compx 8K wireless dongle
(373b:1278) to the device table, using the ATK device type already
handled for the VXE R1 SE+ dongle (373b:1085). Both IDs share the
0x373b VID, which hid-ids.h already names after each brand for the
shared 0x3554 VID, so the dongle gets its own USB_VENDOR_ID_COMPX.
Both devices are protocol compatible with TYPE_ATK: the vendor interface
exposes report id 0x08 as a 16-byte input and a 16-byte output report on
usage page 0xff02, so they pass the report layout checks in
pulsar_probe() unchanged. The command framing matches as well: a 17-byte
request with report id 0x08 and the 0x04 battery query, checksummed so
that the first 16 bytes sum to 0x4d, and a reply that carries the level
in byte 6, the charging flag in byte 7 and the voltage in big-endian
bytes 8-9.
Tested with an A9 Mini+ over both its wired connection and the 8K
dongle: battery, charging state and voltage are reported correctly, and
the charging flag follows the cable.
Signed-off-by: Natalia Laskowska <nat@nekopon.pl>
Tested-by: Natalia Laskowska <nat@nekopon.pl>
---
drivers/hid/Kconfig | 3 ++-
drivers/hid/hid-ids.h | 4 ++++
drivers/hid/hid-pulsar.c | 7 +++++++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index d17d960ab..f1628ac48 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1391,7 +1391,8 @@ config HID_PULSAR
Provides battery level, voltage, and charging status
monitoring via the power supply framework.
- Additional supported devices: Kysona M600, ATK VXE R1 SE+
+ Additional supported devices: Kysona M600, ATK VXE R1 SE+,
+ ATK A9 Mini+, Compx 8K wireless dongle
config HID_WACOM
tristate "Wacom Intuos/Graphire tablet support (USB)"
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index c40d81841..8f2c1fbb6 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -265,6 +265,7 @@
#define USB_VENDOR_ID_ATK_ALT 0x373B
#define USB_DEVICE_ID_ATK_VXE_R1_SE_DONGLE 0x1085
+#define USB_DEVICE_ID_ATK_A9_MINI_WIRED 0x128e
#define USB_VENDOR_ID_AUREAL 0x0755
#define USB_DEVICE_ID_AUREAL_W01RN 0x2626
@@ -370,6 +371,9 @@
#define USB_DEVICE_ID_CODEMERCS_IOW_FIRST 0x1500
#define USB_DEVICE_ID_CODEMERCS_IOW_LAST 0x15ff
+#define USB_VENDOR_ID_COMPX 0x373b
+#define USB_DEVICE_ID_COMPX_8K_DONGLE 0x1278
+
#define USB_VENDOR_ID_COOLER_MASTER 0x2516
#define USB_DEVICE_ID_COOLER_MASTER_MICE_DONGLE 0x01b7
diff --git a/drivers/hid/hid-pulsar.c b/drivers/hid/hid-pulsar.c
index a1f0dcda9..d5814a394 100644
--- a/drivers/hid/hid-pulsar.c
+++ b/drivers/hid/hid-pulsar.c
@@ -12,6 +12,9 @@
* -M600
* - ATK
* - VXE R1 SE+
+ * - A9 Mini+
+ * - Compx
+ * - 8K wireless dongle
* - VXE
* - Dragonfly R1 Pro
*
@@ -744,6 +747,10 @@ static const struct hid_device_id pulsar_table[] = {
.driver_data = TYPE_ATK },
{ HID_USB_DEVICE(USB_VENDOR_ID_ATK_ALT, USB_DEVICE_ID_ATK_VXE_R1_SE_DONGLE),
.driver_data = TYPE_ATK },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ATK_ALT, USB_DEVICE_ID_ATK_A9_MINI_WIRED),
+ .driver_data = TYPE_ATK },
+ { HID_USB_DEVICE(USB_VENDOR_ID_COMPX, USB_DEVICE_ID_COMPX_8K_DONGLE),
+ .driver_data = TYPE_ATK },
{ HID_USB_DEVICE(USB_VENDOR_ID_VXE, USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_DONGLE),
.driver_data = TYPE_VXE },
{ HID_USB_DEVICE(USB_VENDOR_ID_VXE, USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_WIRED),
--
2.56.1
reply other threads:[~2026-12-01 14: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=P7lzaZL--F-9@nekopon.pl \
--to=nat@nekopon.pl \
--cc=bentiss@kernel.org \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikolas@koesling.info \
/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 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.