hwmon: (nzxt-kraken3) Add support for NZXT Kraken 2024 Elite
PATCH 1/1 hwmon: (nzxt-kraken3) Add support for NZXT Kraken 2024 Elite
The Kraken 2024 Elite (USB ID 1e71:3012) is protocol-compatible with the existing Kraken 2023 devices and works with the current Z53 code paths. Add its USB product ID and map it to the KRAKEN2023 kind.
Tested on hardware: liquid temperature and pump/fan speeds read correctly (cross-checked against liquidctl), and PWM control of both the pump and fan channels works as expected.
---
Note: the Kconfig prompt and help text currently list only the X/Z-series and do not mention the already-supported Kraken 2023 (standard and Elite) models. I've left Kconfig unchanged here to keep this patch to a single device addition. If preferred, I'm happy to send a separate patch updating the Kconfig text for the 2023 and 2024 models together.
Documentation/hwmon/nzxt-kraken3.rst | 1 + drivers/hwmon/nzxt-kraken3.c | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-)
Documentation/hwmon/nzxt-kraken3.rst +1 -0
@@ -13,6 +13,7 @@ Supported devices: * NZXT Kraken Z73 * NZXT Kraken 2023 * NZXT Kraken 2023 Elite +* NZXT Kraken 2024 Elite Author: Jonas Malaco, Aleksa Savic
drivers/hwmon/nzxt-kraken3.c +8 -1
@@ -1,6 +1,7 @@// SPDX-License-Identifier: GPL-2.0+ /* -* hwmon driver for NZXT Kraken X53/X63/X73, Z53/Z63/Z73 and 2023/2023 Elite all in one coolers. +* hwmon driver for NZXT Kraken X53/X63/X73, Z53/Z63/Z73, 2023/2023 Elite, and +* 2024 Elite all in one coolers. * X53 and Z53 in code refer to all models in their respective series (shortened for brevity). * 2023 models use the Z53 code paths. *
@@ -25,6 +26,7 @@#define USB_PRODUCT_ID_Z53 0x3008#define USB_PRODUCT_ID_KRAKEN2023 0x300E#define USB_PRODUCT_ID_KRAKEN2023_ELITE 0x300C +#define USB_PRODUCT_ID_KRAKEN2024_ELITE 0x3012enum kinds {X53 ,Z53 ,KRAKEN2023 } __packed;enum pwm_enable { off, manual, curve } __packed;
@@ -927,6 +929,10 @@ static int kraken3_probe(struct hid_device *hdev, const struct hid_device_id *id priv->kind =KRAKEN2023 ; device_name ="kraken2023elite" ;break ; +case USB_PRODUCT_ID_KRAKEN2024_ELITE : + priv->kind =KRAKEN2023 ; + device_name ="kraken2024elite" ; +break ;default : ret = -ENODEV ; goto fail_and_close;
@@ -994,6 +1000,7 @@ static const struct hid_device_id kraken3_table[] = { { HID_USB_DEVICE(USB_VENDOR_ID_NZXT, USB_PRODUCT_ID_Z53) }, { HID_USB_DEVICE(USB_VENDOR_ID_NZXT, USB_PRODUCT_ID_KRAKEN2023) }, { HID_USB_DEVICE(USB_VENDOR_ID_NZXT, USB_PRODUCT_ID_KRAKEN2023_ELITE) }, + { HID_USB_DEVICE(USB_VENDOR_ID_NZXT, USB_PRODUCT_ID_KRAKEN2024_ELITE) }, { } };
base-commit: 858071a1ca5f9a3330b4559dab41565086ab4862
Signature · 1 line
2.55.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines
The Kraken 2024 Elite (USB ID 1e71:3012) is protocol-compatible with the existing Kraken 2023 devices and works with the current Z53 code paths. Add its USB product ID and map it to the KRAKEN2023 kind.
Tested on hardware: liquid temperature and pump/fan speeds read correctly (cross-checked against liquidctl), and PWM control of both the pump and fan channels works as expected.
Signed-off-by Sean Lyon <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 9 lines · Sean Lyon
The Kraken 2024 Elite (USB ID 1e71:3012) is protocol-compatible with the existing Kraken 2023 devices and works with the current Z53 code paths. Add its USB product ID and map it to the KRAKEN2023 kind.
Tested on hardware: liquid temperature and pump/fan speeds read correctly (cross-checked against liquidctl), and PWM control of both the pump and fan channels works as expected.
Signed-off-by Sean Lyon <[email protected]>
Applied.
Thanks,
Guenter