From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: Re: switch off cpu fan on lenovo g50-30 Date: Thu, 04 Jul 2019 11:13:08 +0000 Message-ID: References: <20190704072017.GD1085@macbook41> <7f567eec2c285aaf735ac4bc30f0fb39@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55379) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hizfw-00087e-M7 for help-guix@gnu.org; Thu, 04 Jul 2019 07:13:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hizfv-0003Em-AC for help-guix@gnu.org; Thu, 04 Jul 2019 07:13:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55096) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hizfu-0003Dl-II for help-guix@gnu.org; Thu, 04 Jul 2019 07:13:15 -0400 In-Reply-To: <20190704072017.GD1085@macbook41> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Efraim Flashner Cc: help-guix I see this now:=0A=0A# pwmconfig=0A# pwmconfig revision $Revision$ ($Date= $)=0AThis program will search your sensors for pulse width modulation (pw= m)=0Acontrols, and test each one to see if it controls a fan on=0Ayour mo= therboard. Note that many motherboards do not have pwm=0Acircuitry instal= led, even if your sensor chip supports pwm.=0A=0AWe will attempt to brief= ly stop each fan using the pwm controls.=0AThe program will attempt to re= store each fan to full speed=0Aafter testing. However, it is ** very impo= rtant ** that you=0Aphysically verify that the fans have been to full spe= ed=0Aafter the program has completed.=0A=0A/root/.guix-profile/sbin/pwmco= nfig: There are no pwm-capable sensor modules installed=0A=0A=0A=0A# fanc= ontrol=0ALoading configuration from /etc/fancontrol ...=0AError: Can't re= ad configuration file=0A=0A=0A=0AJuly 4, 2019 7:29 AM, "Efraim Flashner" = wrote:=0A=0A> On Thu, Jul 04, 2019 at 06:42:40AM = +0000, znavko@disroot.org wrote:=0A> =0A>> Hello! Sometimes I need my lap= top Lenovo G50-30 is silent, need to switch off CPU fan.=0A>> Basically t= his laptop had no cpu fan but only passive cooling system. I had inserted= cpu fan by my=0A>> hands and there were fan power joint on the motherboa= rd. This is nice. I hope Guix Linux-Libre has=0A>> necessary fan control = driver for my laptop.=0A>> =0A>> There is package 'thinkfan' in Guix repo= sitory. Would you advice me how to config it and is it=0A>> possible to s= witch off fan?=0A>> =0A>> # thinkfan=0A>> =0A>> ERROR: /etc/thinkfan.conf= : No such file or directory=0A> =0A> efraim@macbook41 ~/workspace/guix$= =0A> /./gnu/store/c8pmmbpx3q881baivkrcmi01lrj4si4j-thinkfan-1.0.2/sbin/th= inkfan --help=0A> ERROR: Invalid command line: Unknown option: --=0A> Usa= ge: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]= =0A> -h This help message=0A> -s Maximum cycle time in seconds (Integer. = Default: 5)=0A> -b Floating point number (-10 to 30) to control rising te= mperature=0A> exaggeration (see README). Default: 5.0=0A> -c Load differe= nt configuration file (default: /etc/thinkfan.conf)=0A> -q Be more quiet.= Can be specified up to three times so that only errors=0A> are logged.= =0A> -v Enable verbose logging (e.g. log temperatures continuously).=0A> = -p Use the pulsing-fan workaround (for worn out fans). Takes an optional= =0A> floating-point argument (0 ~ 10s) as depulsing duration. Default 0.5= s.=0A> -d Don't read S.M.A.R.T. temperature from sleeping disks=0A> -D DA= NGEROUS mode: Disable all sanity checks. May result in undefined=0A> beha= viour!=0A> =0A> Unless you want to write a system service for it, I'd fig= ure out where=0A> there's a thinkfan.conf file (we don't seem to have it = installed with=0A> the package) and run 'sudo -E thinkfan -c /path/to/thi= nkfan.conf'=0A> =0A> --=0A> Efraim Flashner =D7= =90=D7=A4=D7=A8=D7=99=D7=9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8=0A> GPG key = =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351=0A> Confidentiality= cannot be guaranteed on emails sent or received unencrypted