[PATCH] Add support for HyperX cloud 2 wireless.

Idan Koblik posted 1 patch 1 month, 2 weeks ago
drivers/hid/hid-hp.c  | 2 ++
drivers/hid/hid-ids.h | 1 +
2 files changed, 3 insertions(+)
[PATCH] Add support for HyperX cloud 2 wireless.
Posted by Idan Koblik 1 month, 2 weeks ago
Add the device ID for HyperX cloud 2 wireless, which requires
the same handling as the devices support by this driver.

Tested with HyperX cloud 2 wireless.

(
I was about to submit a patch for my own driver for HyperX devices
(https://github.com/IdanKoblik/hid-hyperx), but I noticed that you had
already submitted support for the HyperX Cloud III Wireless last week :( 
Anyway, here's a small patch to add support for the HyperX Cloud II
Wireless to the existing driver.
)

Signed-off-by: Idan Koblik <me@idank.dev>
---
 drivers/hid/hid-hp.c  | 2 ++
 drivers/hid/hid-ids.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/drivers/hid/hid-hp.c b/drivers/hid/hid-hp.c
index fa53d5f6c..84ea358ea 100644
--- a/drivers/hid/hid-hp.c
+++ b/drivers/hid/hid-hp.c
@@ -381,6 +381,8 @@ static void hp_remove(struct hid_device *hdev)
 static const struct hid_device_id hp_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP,
 			 USB_DEVICE_ID_HP_HYPERX_CLOUD_III_WIRELESS) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_HP,
+			 USB_DEVICE_ID_HP_HYPERX_CLOUD_II_WIRELESS) },
 	{}
 };
 MODULE_DEVICE_TABLE(hid, hp_devices);
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index aa2c3a713..a8a37a936 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -697,6 +697,7 @@
 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641	0x0641
 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a	0x1f4a
 #define USB_DEVICE_ID_HP_HYPERX_CLOUD_III_WIRELESS 0x05b7
+#define USB_DEVICE_ID_HP_HYPERX_CLOUD_II_WIRELESS 0x0995
 
 #define USB_VENDOR_ID_HUION		0x256c
 #define USB_DEVICE_ID_HUION_TABLET	0x006e

base-commit: 3d6d817622b0a9721e3cc404df3469171582be13
prerequisite-patch-id: 8d99df67dab75c0c6cbc887b2ea6be90be288037
-- 
2.55.0
Re: [PATCH] Add support for HyperX cloud 2 wireless.
Posted by Sofia Schneider 1 month, 1 week ago
On Thu, Aug 13, 2026 at 12:53 PM Idan Koblik <me@idank.dev> wrote:
> Add the device ID for HyperX cloud 2 wireless, which requires
> the same handling as the devices support by this driver.
>
> Tested with HyperX cloud 2 wireless.
>
> Signed-off-by: Idan Koblik <me@idank.dev>

Hi Idan,

Thanks for the patch! The code looks good, but the commit subject and
message need a little editing to match kernel standards:

1. Please add "HID: hp: " as a prefix to the subject and remove the
trailing period:
HID: hp: Add support for HyperX Cloud II Wireless

2. The note in parentheses (about your GitHub repo) should be moved
below the "---" line so it doesn't appear in the permanent git log, or
removed.

With those fixed in v2:

Reviewed-by: Sofia Schneider <sofia@schn.dev>

Note for Jiri/Benjamin: This patch applies on top of my pending v4
driver patch ([PATCH v4] HID: hp: Add support for HyperX headset
devices)
[PATCH v2] HID: hp: Add support for HyperX Cloud II Wireless
Posted by Idan Koblik 1 month, 1 week ago
Add the device ID for HyperX cloud 2 wireless, which requires
the same handling as the devices support by this driver.

Tested with HyperX cloud 2 wireless.

Signed-off-by: Idan Koblik <me@idank.dev>
Reviewed-by: Sofia Schneider <sofia@schn.dev>
---
 drivers/hid/hid-hp.c  | 2 ++
 drivers/hid/hid-ids.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/drivers/hid/hid-hp.c b/drivers/hid/hid-hp.c
index fa53d5f6c..84ea358ea 100644
--- a/drivers/hid/hid-hp.c
+++ b/drivers/hid/hid-hp.c
@@ -381,6 +381,8 @@ static void hp_remove(struct hid_device *hdev)
 static const struct hid_device_id hp_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP,
 			 USB_DEVICE_ID_HP_HYPERX_CLOUD_III_WIRELESS) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_HP,
+			 USB_DEVICE_ID_HP_HYPERX_CLOUD_II_WIRELESS) },
 	{}
 };
 MODULE_DEVICE_TABLE(hid, hp_devices);
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index aa2c3a713..a8a37a936 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -697,6 +697,7 @@
 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641	0x0641
 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a	0x1f4a
 #define USB_DEVICE_ID_HP_HYPERX_CLOUD_III_WIRELESS 0x05b7
+#define USB_DEVICE_ID_HP_HYPERX_CLOUD_II_WIRELESS 0x0995
 
 #define USB_VENDOR_ID_HUION		0x256c
 #define USB_DEVICE_ID_HUION_TABLET	0x006e
-- 
2.55.0