Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2095334pxf; Sat, 20 Mar 2021 04:26:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4Um01waTrMHMWbK/DJ35gstgK+bKWRZ5KCdYoCzsPkhbqLZqPJ5CT6G8hyKBcuwZqAfSS X-Received: by 2002:aa7:d5c9:: with SMTP id d9mr15572143eds.102.1616239607936; Sat, 20 Mar 2021 04:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616239607; cv=none; d=google.com; s=arc-20160816; b=BASTVi1f0qy8nblc4fCFl9NfmWHlmhI7QWIOjhtwHt3qGlFvFTgWvnDPG0u261oQmW 4y1k7hNczVqLJmmtd9Rsb5BgkvnwJylXu/oOJt6QgY5RX5yt6pv8Wc5aYoTODn8nJSiI J3zSh8E1F0b35VrQhn63UwAQfD1oTggolu0QvvhTo3V92SgTdUJx1LHPMhzvQ7AIhQ3c DhchfOei9SAOlRO5MOZjsOQVB3OY+CM7Yd7ws7vQeP8b+xyxqo9rlsb2oGlhg0/lFklv /895jEIfPbIzjiSVzxlpNMWjcWEfTqj0ZHEu0CBck5tTbsANLEXOYZndSex7djt+5ZGn 9eyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iQYzfriQFS4iM4QGzjdYe/EwNKnei3uiMSlE8+pjoTw=; b=SBTEWMsZ8CdA9Qnoz8lPww4luTLW/iL/g07whhT4hQHJWAfC0Su+9ujBZ37K3odiL4 R5RKuUhsOqVefXRlkv50+vncLxuDnYRKHB+oc3wsjIv1oH91olw36ovIf+58bOr+X73m enaBoknKGzjxMaiIQJavV2Kp2VPhfLWDp4drM+fETFl2pPmzSyv5cahfQRE6YyMypocv u9Bu2xVJWV6tv0lqw90E8fMUwyF2pR/pM0EiVgyRm1pz6mh+AAbYnfIy43M/NJepTT7I vHwlvXAML4jzLMzdK2X5rozSkn/NGQk3OnUXJcbUAE92YuBWMh/LFe6oSBNIWfeGUlHz jxVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protocubo.io header.s=google header.b=RZJmA14Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protocubo.io Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si6950610edb.68.2021.03.20.04.26.25; Sat, 20 Mar 2021 04:26:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protocubo.io header.s=google header.b=RZJmA14Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protocubo.io Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbhCTLYx (ORCPT + 99 others); Sat, 20 Mar 2021 07:24:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbhCTLYd (ORCPT ); Sat, 20 Mar 2021 07:24:33 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AB6CC0613B0 for ; Sat, 20 Mar 2021 03:44:48 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id m7so8761010qtq.11 for ; Sat, 20 Mar 2021 03:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protocubo.io; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iQYzfriQFS4iM4QGzjdYe/EwNKnei3uiMSlE8+pjoTw=; b=RZJmA14Qn4LiKY6BI3f/uMh2na5/N/aCRPh1Pxn74IU5wK+LTAkUoMJs3JRXIujULC uEYz54pHgXGD/0PRED95NZMQ1GKGfWgI6T8xdCn9GjVbs+r0aZ8wzyxobxh9Y/v5+b0U DSNKHWZ3G0CXB8uvCQhEQz7A9Hawt7nmVwXYg0Vmix+1AKLcgUdAncZbNAOc3mY2Q0DO XHky0fR4qSnNI2jxx+cWWRBdl8C+vaoNs4iS9fFjAGW5hpNDOSE/VHOku8Pqh3GXwAlq xE5h4kZKOaDAiNtB7Q52OuYwI3u8kqLf9blWptjuIqRkfNNuu/AOxl0i6BPoTUuCD9So NFOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iQYzfriQFS4iM4QGzjdYe/EwNKnei3uiMSlE8+pjoTw=; b=Y0hww0EvO/j0Np2hMbKNr+eE8tQ4aSTF2eyJLLMxwW6p28jAkRYZU1bX1GaF4ZC4TG ykOGMavVrVqSR+/lrJ+1EPOJ2UzObNg/7k8L71IXiK5h07JVsgxpZbZmiWUuloIEIvCJ vuvLFZBNkSyxgHInEu+mvQR3nFfCErBzWHhO8aoCc9JDA0NV4Q9tie0Y8ISwtBYrb9T2 Nk9GZpVSA1PRSnU7ypXuv5A31RvUVjVaybJ0Ml7Zgr04Pi3Q/t2B36NpLlgPTx/JkXS6 9XKrq9BGoSritga02NGasQAIiEeJi8jukCRn79zx+mqrokNOFryfROyWc2aHUM2ucwVw 5eDw== X-Gm-Message-State: AOAM532TZwboCPSa9Wg7J84qjl+CzxEkvHhztB1R/q1RKrljXilrgQAR TXNFwuBF8RSIpqwEuXuTm/62CpqhkLaRM+pr X-Received: by 2002:aed:2ce3:: with SMTP id g90mr1873788qtd.308.1616221794679; Fri, 19 Mar 2021 23:29:54 -0700 (PDT) Received: from calvin.localdomain ([2804:14d:5c5a:802e:bdc9:ded9:cc08:a4e9]) by smtp.gmail.com with ESMTPSA id p7sm6221092qkc.75.2021.03.19.23.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 23:29:54 -0700 (PDT) Date: Sat, 20 Mar 2021 03:29:49 -0300 From: Jonas Malaco To: Guenter Roeck Cc: linux-hwmon@vger.kernel.org, Jean Delvare , linux-input@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] hwmon: add driver for NZXT Kraken X42/X52/X62/X72 Message-ID: <20210320062949.h2ggfmzq7lyn3zsi@calvin.localdomain> References: <20210319045544.416138-1-jonas@protocubo.io> <20210319212640.GA23767@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210319212640.GA23767@roeck-us.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 02:26:40PM -0700, Guenter Roeck wrote: > On Fri, Mar 19, 2021 at 01:55:44AM -0300, Jonas Malaco wrote: > > These are "all-in-one" CPU liquid coolers that can be monitored and > > controlled through a proprietary USB HID protocol. > > > > While the models have differently sized radiators and come with varying > > numbers of fans, they are all indistinguishable at the software level. > > > > The driver exposes fan/pump speeds and coolant temperature through the > > standard hwmon sysfs interface. > > > > Fan and pump control, while supported by the devices, are not currently > > exposed. The firmware accepts up to 61 trip points per channel > > (fan/pump), but the same set of trip temperatures has to be maintained > > for both; with pwmX_auto_point_Y_temp attributes, users would need to > > maintain this invariant themselves. > > > > Instead, fan and pump control, as well as LED control (which the device > > also supports for 9 addressable RGB LEDs on the CPU water block) are > > left for existing and already mature user-space tools, which can still > > be used alongside the driver, thanks to hidraw. A link to one, which I > > also maintain, is provided in the documentation. > > > > The implementation is based on USB traffic analysis. It has been > > runtime tested on x86_64, both as a built-in driver and as a module. > > > > Signed-off-by: Jonas Malaco > > Applied (after removing the now unnecessary spinlock.h include). Thanks for catching/fixing that. Jonas > > Thanks, > Guenter