diff mbox series

[v2] hwmon: (nzxt-smart2) Add support for device 1e71:2020

Message ID 20240524004040.121044-1-mezin.alexander@gmail.com (mailing list archive)
State Accepted
Headers show
Series [v2] hwmon: (nzxt-smart2) Add support for device 1e71:2020 | expand

Commit Message

Aleksandr Mezin May 24, 2024, 12:39 a.m. UTC
Add support for device with USB ID 1e71:2020.

Fan speed control reported to be working with existing userspace (hidraw)
software, so I assume it's compatible. Fan channel count is the same.
No known differences from already supported devices, at least regarding
fan speed control and initialization.

Discovered in liquidctl project:

https://github.com/liquidctl/liquidctl/pull/702

Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
Cc: stable@vger.kernel.org  # v6.1+
---
v2: Improved the description, changed the subject to include device id
(previous subject was "hwmon: (nzxt-smart2) add another USB ID").

 drivers/hwmon/nzxt-smart2.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck May 29, 2024, 10:41 p.m. UTC | #1
On Fri, May 24, 2024 at 03:39:58AM +0300, Aleksandr Mezin wrote:
> Add support for device with USB ID 1e71:2020.
> 
> Fan speed control reported to be working with existing userspace (hidraw)
> software, so I assume it's compatible. Fan channel count is the same.
> No known differences from already supported devices, at least regarding
> fan speed control and initialization.
> 
> Discovered in liquidctl project:
> 
> https://github.com/liquidctl/liquidctl/pull/702
> 
> Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
> Cc: stable@vger.kernel.org  # v6.1+

Applied, after adjusting subject and desacription a bit.

Guenter
diff mbox series

Patch

diff --git a/drivers/hwmon/nzxt-smart2.c b/drivers/hwmon/nzxt-smart2.c
index 7aa586eb74be..df6fa72a6b59 100644
--- a/drivers/hwmon/nzxt-smart2.c
+++ b/drivers/hwmon/nzxt-smart2.c
@@ -799,6 +799,7 @@  static const struct hid_device_id nzxt_smart2_hid_id_table[] = {
 	{ HID_USB_DEVICE(0x1e71, 0x2010) }, /* NZXT RGB & Fan Controller */
 	{ HID_USB_DEVICE(0x1e71, 0x2011) }, /* NZXT RGB & Fan Controller (6 RGB) */
 	{ HID_USB_DEVICE(0x1e71, 0x2019) }, /* NZXT RGB & Fan Controller (6 RGB) */
+	{ HID_USB_DEVICE(0x1e71, 0x2020) }, /* NZXT RGB & Fan Controller (6 RGB) */
 	{},
 };