From e71b89917cf4a3997b68f461bb085158afa8f21e Mon Sep 17 00:00:00 2001 From: Armindo Silva Date: Thu, 6 Jun 2024 15:25:01 +0100 Subject: [PATCH 1/2] add product id --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2e7f5c2..ff41290 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ use thistermination::TerminationFull; // Possible vendor IDs [hyperx , HP] const VENDOR_IDS: [u16; 2] = [0x0951, 0x03F0]; // Possible Cloud II Wireless product IDs -const PRODUCT_IDS: [u16; 3] = [0x1718, 0x018B, 0x0D93]; +const PRODUCT_IDS: [u16; 4] = [0x1718, 0x018B, 0x0D93, 0x0696]; const BATTERY_LEVEL_INDEX: usize = 7; const CHARGING_PREAMBLE: [u8; 5] = [6, 255, 187, 2, 0]; @@ -145,4 +145,4 @@ impl Device { self.muted = None; self.mic_connected = None; } -} \ No newline at end of file +} From 5bb91016e3b83efeeab1291f635d61a26282da43 Mon Sep 17 00:00:00 2001 From: Armindo Silva Date: Thu, 6 Jun 2024 15:27:07 +0100 Subject: [PATCH 2/2] README.md: add product id --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d4285d9..44f418c 100644 --- a/README.md +++ b/README.md @@ -52,11 +52,13 @@ Create a new file in /etc/udev/rules.d/99-hyperx-cloud-II.rules with the followi ``` SUBSYSTEMS=="usb", ATTRS{idProduct}=="018b", ATTRS{idVendor}=="03f0", MODE="0666" +SUBSYSTEMS=="usb", ATTRS{idProduct}=="0696", ATTRS{idVendor}=="03f0", MODE="0666" SUBSYSTEMS=="usb", ATTRS{idProduct}=="1718", ATTRS{idVendor}=="0951", MODE="0666" SUBSYSTEMS=="usb", ATTRS{idProduct}=="0d93", ATTRS{idVendor}=="03f0", MODE="0666" KERNEL=="hidraw*", ATTRS{idProduct}=="0d93", ATTRS{idVendor}=="03f0", MODE="0666" KERNEL=="hidraw*", ATTRS{idProduct}=="018b", ATTRS{idVendor}=="03f0", MODE="0666" +KERNEL=="hidraw*", ATTRS{idProduct}=="0696", ATTRS{idVendor}=="03f0", MODE="0666" KERNEL=="hidraw*", ATTRS{idProduct}=="1718", ATTRS{idVendor}=="0951", MODE="0666" ``` @@ -100,4 +102,4 @@ Once you have set the filters, you can perform various actions and review the pa ## Other Projects -This project was inspired by [hyperx-cloud-flight](https://github.com/kondinskis/hyperx-cloud-flight). \ No newline at end of file +This project was inspired by [hyperx-cloud-flight](https://github.com/kondinskis/hyperx-cloud-flight).