All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksandr Mezin <mezin.alexander@gmail.com>
To: linux-hwmon@vger.kernel.org
Cc: Aleksandr Mezin <mezin.alexander@gmail.com>,
	stable@vger.kernel.org, Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>
Subject: [PATCH v2] hwmon: (nzxt-smart2) Add support for device 1e71:2020
Date: Fri, 24 May 2024 03:39:58 +0300	[thread overview]
Message-ID: <20240524004040.121044-1-mezin.alexander@gmail.com> (raw)
In-Reply-To: <cd58922f-711e-4125-8214-57e1f83f6777@roeck-us.net>

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(+)

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) */
 	{},
 };
 
-- 
2.45.1


  parent reply	other threads:[~2024-05-24  0:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23 20:31 [PATCH] hwmon: (nzxt-smart2) add another USB ID Aleksandr Mezin
2024-05-23 21:47 ` Guenter Roeck
2024-05-23 23:34   ` Aleksandr Mezin
2024-05-24  0:11     ` Guenter Roeck
2024-05-24  0:39   ` Aleksandr Mezin [this message]
2024-05-29 22:41     ` [PATCH v2] hwmon: (nzxt-smart2) Add support for device 1e71:2020 Guenter Roeck

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=20240524004040.121044-1-mezin.alexander@gmail.com \
    --to=mezin.alexander@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=stable@vger.kernel.org \
    /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.