Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1392374pxb; Fri, 20 Aug 2021 04:42:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx72C4hGG8eIgCbhJU8YrGQMvmJwPtdw4V54v3fvNfveTsDDquZwAuihWK8vOVt1hJMwi/w X-Received: by 2002:aa7:cb0f:: with SMTP id s15mr21925053edt.190.1629459773397; Fri, 20 Aug 2021 04:42:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629459773; cv=none; d=google.com; s=arc-20160816; b=xmSC//Etnv6Q6L0Otky3ZZALEwmdcTxOQ1JpoQkSMY+EqXKCav1SNU2E4wO1nCwrju 19Pdk5T/JvcycxVa/14HvY3RWHg0hEo+HyLq3SNA6cY6tjbo67DRRkYWPaZHprETZi5v TPYpUUN+sM2ANvZvU0Lf7WiDfbARb5XwbKt6PbzPECmr/s0+/vgsu5V/jWm6s6CTMHQF n9O806OxYPTe6m2tAnFMkfQoygIL0868hG6AcOJg/PHaiq7fHLCM+dmvwgKT9S3Q+sNT HNU+H9eGKAMbtexoukGomlaBaVz/fuPc0ClpsULY+cCPx5Rhln8LYnuBLm1jDt3qqLnR xh/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Bg2UroNuZYd2kKdz+aKLgjmUA0QJ9yjG+5vJLsrF6nU=; b=H1uceTRFG61Xiloqv++n8afr+ChCt7XPIxQ+r14Jy37qy0kFgRcbxptzIClWd+1zEO j6Jy1MJfMt/oCzL1o1twf3XCHtDGSuhH62Z7PoMbqiJT3K5IpQwJl5mdd9fBVyzWEB9H VLBkw0IR/sresCx+E73JfspftlNrXfSaDQNG1484Rk9pevpQ2S8UyIUg+V281K1v98B7 c4jc5j/FqxHq4oZJPaTaJdOK/BP0259rU35UAWjZ9MIYZ3GSYeV6hiZfi2QDKsdquJtE 0jRBfK75Rq0orLY8yY5bPQBu1e+hOsyiGMSe/WJWlfR6PZER5kjDMzOLsw76hvjQ8Sek pI1A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by8si6227765edb.111.2021.08.20.04.42.14; Fri, 20 Aug 2021 04:42:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239629AbhHTLjm (ORCPT + 99 others); Fri, 20 Aug 2021 07:39:42 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:40001 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239566AbhHTLjm (ORCPT ); Fri, 20 Aug 2021 07:39:42 -0400 Received: (Authenticated sender: hadess@hadess.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 098BD1BF208; Fri, 20 Aug 2021 11:39:02 +0000 (UTC) Message-ID: Subject: Re: [PATCH v4 1/1] asus-wmi: Add support for custom fan curves From: Bastien Nocera To: Luke Jones Cc: linux-kernel@vger.kernel.org, hdegoede@redhat.com, platform-driver-x86@vger.kernel.org Date: Fri, 20 Aug 2021 13:39:02 +0200 In-Reply-To: References: <20210820095726.14131-1-luke@ljones.dev> <20210820095726.14131-2-luke@ljones.dev> <321afe1a293be3a623a9be53feea3a008e044b31.camel@hadess.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.3 (3.40.3-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2021-08-20 at 23:00 +1200, Luke Jones wrote: > > > On Fri, Aug 20 2021 at 12:51:08 +0200, Bastien Nocera > wrote: > > On Fri, 2021-08-20 at 12:43 +0200, Bastien Nocera wrote: > > >  On Fri, 2021-08-20 at 22:33 +1200, Luke Jones wrote: > > >  > > Am I going to get bug reports from Asus users that will > > > complain > > >  > > that > > >  > > power-profiles-daemon doesn't work correctly, where I will > > > have > > >  > > to > > >  > > wearily ask if they're using an Asus Rog laptop? > > >  > > > >  > No. Definitely not. The changes to fan curves per-profile need > > > to > > >  > be > > >  > explicitly enabled and set. So a new user will be unaware that > > > this > > >  > control exists (until they look for it) and their laptop will > > >  > behave > > >  > exactly as default. > > > > > >  "The user will need to change the fan curves manually so will > > >  definitely remember to mention it in bug reports" is a very > > > different > > >  thing to "the user can't change the fan curves to be nonsensical > > > and > > >  mean opposite things". > > > > > >  I can assure you that I will eventually get bug reports from > > > "power > > >  users" who break their setup and wonder why things don't work > > >  properly, > > >  without ever mentioning the changes they made changes to the fan > > >  curves, or anything else they might have changed. > > > > A way to taint the settings that power-profiles-daemon could catch > > would be fine by me. I absolutely don't want to have to support > > somebody's tweaks until they undo them. > > Definitely understood. Do you have something in mind? A sysfs attribute with boolean data that shows whether custom fan curves are used would be enough. I could then check whether that file exists on startup, and throw a warning if custom curves are used, or become used, so that it shows up in power-profiles-daemon's logs.