Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (helo) smtp.helo=mga12.intel.com (client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=james.feist@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45y4SR39QTzDqJq for ; Tue, 30 Jul 2019 02:11:33 +1000 (AEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2019 09:11:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,323,1559545200"; d="scan'208";a="255302862" Received: from skyhawk.jf.intel.com (HELO [10.54.51.81]) ([10.54.51.81]) by orsmga001.jf.intel.com with ESMTP; 29 Jul 2019 09:11:29 -0700 Subject: Re: [External] Re: Questions regarding of phosphor-pid-control To: Patrick Venture , Derek Lin23 Cc: Duke KH Du , Andrew MS1 Peng , OpenBMC Maillist , Harry Sung1 , Xiaohan XH6 Xu , Haitao HT11 Wang , Yonghui YH21 Liu , Lisa YJ19 Liu References: <5a7988638ddf428cb8267d7e339cdbcf@lenovo.com> <2b4006da-752e-fa9b-8500-431c5b42d00f@linux.intel.com> From: James Feist Message-ID: Date: Mon, 29 Jul 2019 09:11:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2019 16:11:36 -0000 On 7/29/19 8:30 AM, Patrick Venture wrote: > On Fri, Jul 26, 2019 at 2:18 AM Derek Lin23 wrote: >> >> Hi Patrick & James: >> >> Would you please identify when'll this feature being completed? >> Or do you have a plan for this feature? >> >> https://github.com/openbmc/phosphor-pid-control/issues/2 > > I currently don't have it on my calendar. James, do you? No I don't. The dbus-configured system reloads itself when new sensors are discovered, and all sensors are passive.. so I'm not sure it is relatable. > > for a non-dbus-configured system, we end up using waits in the service > file for the various sensors upon which we depend to show up on dbus. > IIRC< the goal of the feature would be to no longer need that, but > rather create the dbus sensors even if nobody owns them, and just try > on read or every few reads to actually register the listening for > updates... And just return a bad sensor reading until that happens -- > but, what is a bad sensor reading, universally? > >> >> Thanks, >> >> Derek >> >> -----Original Message----- >> From: James Feist >> Sent: Friday, July 19, 2019 1:57 AM >> To: Derek Lin23 ; Patrick Venture >> Cc: Yonghui YH21 Liu ; Harry Sung1 ; OpenBMC Maillist ; Andrew MS1 Peng ; Lisa YJ19 Liu ; Haitao HT11 Wang ; Xiaohan XH6 Xu >> Subject: Re: [External] Re: Questions regarding of phosphor-pid-control >> >> On 7/17/19 7:40 PM, Derek Lin23 wrote: >>> Hi Patrick: >>> >>> The open-loop in this context is more likely to set duty of >>> PWM manually. >>> >>> For example, when reading a sensor above or below a certain >>> pre-defined temperature, then the duty of a PWM is revved up or lower >>> to the desired fan-speed. >> >> You could use stepwise configurations to get this response. Here's an example of a lower clipping curve that when the reading of the sensor is 20, outputs 50%, and when it reads 30 outputs 60%. >> >> https://github.com/openbmc/entity-manager/blob/9813279b57359bd1602da236ff7d38bcc9a2fba4/configurations/R2000%20Chassis.json#L428 >> >> This is also configurable from the json I believe. >> >> >>> >>> More likely, PWM is set simply by the reading of a >>> temperature sensor. A map of temperature readings and PWM values can >>> be represented as an example. >>> >>> Thank you, >>> >>> Derek >>> >>> *From:*Patrick Venture >>> *Sent:* Tuesday, July 16, 2019 1:02 AM >>> *To:* Derek Lin23 ; James Feist >>> >>> *Cc:* Yonghui YH21 Liu ; Harry Sung1 >>> ; OpenBMC Maillist >>> *Subject:* [External] Re: Questions regarding of phosphor-pid-control >>> >>> On Tue, Jul 9, 2019 at 2:03 AM Derek Lin23 >> > wrote: >>> >>> Hi Patrick: >>> >>> Adding the openbmc mailing list. Please always include this mailing >>> list in your emails for archiving and later reference as well as >>> opening up the question to others. >>> >>> Also adding James Feist as he co-maintains this codebase. >>> >>> This is Derek from Lenovo BMC team. >>> >>> We have some questions regarding ofphosphos-pid-control >>> , and we hope you >>> can provide some advice of the component. >>> >>> Currently, we would like to import phosphor-pid-control >>> as our thermal fan control module. After a brief study, we would >>> like to know if phosphor-pid-control can support open-loop and >>> event-triggered events? >>> >>> I don't really know what open-loop means in this context. Registering >>> for events, like? >>> >>> Thank you for your feedbacks, >>> >>> Derek >>> >>> >>> ---------------------------------------------------------------------- >>> -- >>> >>> *Derek Lin* >>> Sr. BMC Engineer >>> 8F,66, San Chong Rd., Nankang Software Park, Taipei. >>> Lenovo Taiwan >>> >>> >>> >>> Phone+886281707411 >>> Emaildlin23@lenovo.com >>> >>> >>> >>> Lenovo.com >>> Twitter | Instagram >>> | Facebook >>> | Linkedin >>> | YouTube >>> | Privacy >>> >>> >>> >>> >>> ImageLogo-DCG-Honeycomb >>> >>> >>>