From nobody Sun Jan 28 11:19:15 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TN88j4Kjcz58NZK for ; Sun, 28 Jan 2024 11:19:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-54.consmr.mail.gq1.yahoo.com (sonic308-54.consmr.mail.gq1.yahoo.com [98.137.68.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TN88h1hZ9z4hT1 for ; Sun, 28 Jan 2024 11:19:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=jVJOVDZM; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.30 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706440770; bh=ib6t2doffObPWZ/Ma87ExOfj2CvpWC9WUVJGh9o/Fj0=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=jVJOVDZMX3OnYtK8i+jZhgkDYl0+8dvXlntHAk2vLOVQWvjM5lAEFdNoFpZNUufUK+PIWIYCcDLYgWD8jPQ8Ls1IAIbqkw84Xozqk5XqErh8noDKsu129PIVWSkkIK4OljjZVw64qIiupiwYFXULRRMfRJFAE4j5cqmWljrITIhpS/YkbENVev+jPnAMt4fkFZm+gZZcrSJiLdrblIIsSarrPYlrDDDRIogLF+qnrOzOaOtHIIyjgcEe7QycfOgJ5KqXgOAuCEt3siI5WB5B8l1nZMnwpgEt33ubn4J+IA5PHMXVX955psfiLYNV6WETDTaywK11IE/Op5cKcoqTSg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706440770; bh=zu0NVJcfUbHPDFtEyJT8P8mABPbDBwKT5+FrzeBvOgv=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=HD1RwyzHL1R/KFMHjxwYG2QvM6O7jaGfpGBP5i37v3PD/+d5ZJsmMGBUTv4GLp+YK4sSUoU4z9BUks/5EqU7j83g+0+tZMquqbDp9U/BU+wRRArF22QFEDPQNpR/nh5PpqxCW6Y1scjHTJbM6L2MtzHx1c1yahTyZgF6n8+9Iff7e/gUxq7EuPQQsXevsMM5YUUQ4V5wLdCw4pJofdvNORDFLFn2iDSRNZpjX5uNb8EFownUfMNkXksA7xAa2PI+MdCk514g9M02flhqASv/WCRcxNGkkSfDPLCWWdELyFQ3m0TXvSXpD2ho9ebdyCLZDeEBBYT2uD3X07SG3EW+JA== X-YMail-OSG: P0A1M8UVM1kSET_OhwbTwXQEsOGHS.n3wi868aVHPcXlHVnQdMyyhmKq_ECQ585 ZdUId3nOVNuZ5HBKgWE_Te1uEgFMfqbnZQj.HKcbUFkqpINCkVY66uk296w.8Og5PphYZF1ZF44V Zf962N2qLQGj59fSytjFPGOdbPWzFvWrt2Xgqp_9tYNBXSOvjD.EC3C2EhTPLXaJIJSzwJbEGxAU F7ovr_opzmg601B.zzT8cvL09O0HeXYJsWBOCh3xOFAltJnuUncoZ6abCyvre7hZnh1RxKezNZ1D Uo3s_0tipvnVNnwwhcJrBbfIYtxFlKdrG9pyOZpRxhWx4xoZJPT._ojcexI04cKJl5hLJXccSR0w cMf.lLZGy1.dYTPrg_besIwH15GljeYChyp1cuav30dttIBVkUXMTl6_muIVi9S9bTMzyVIrqk8h DgWshsDlgPrKF8KNyTV..aUuUvCvz4xKVLtqF3H4h5nhpwxjWJxu8xdO6BEkB1dhoENkrw6kxt4n ed.HVGyYo7SEVgV.lQuwIUedNFf2l2YH8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oFUbUpTf4O37M2K1WgdfDW9U7FY_sgg4jX5g44FR.TR CwPADXmGhWcHGsLT_ALyyqfPjaMXKXAKZo.lvZB4jx1z82KwTjrpLl_BUDZpxVapghgn1MfhWo76 WNSMs9GLNpcv82W3uUpRW9lXVb1uAazQcMx6oewjo6PkysshdiuTcwTe32CxgWCRKiTRNFz4nJxJ mea61eTcr3XqZDhUiDk_0ImkWTzV1J5qiZfgwVLERjL1xWAjiku0JQPahEaRu1S85AXBK.kxhKhl oaKBkuSKlQDbr3xXmhUAyNEN3HGWZI9PjuFHADjD8_ubZ_K5Dz68Vpr3_GJrk62jKbufdk5FoIld xkd0VnCuTvl2NfLcU9t87aSwsq1.kzseXhWSjnvApurJ1jQ613OB1I0upMJPcavrN13zgPsXdTar vuo5GwZGJJLKSlxkjd8TGJ8imZWWowQwcst41HQk9XZAc7PYfYbHOrA48w_Co0aGvtRfjpPa7ppz 0tV0oBL4E9dUns4sMUnVkqkNB_mbBuELeuYVXk0fR0sV9eBUBcctVGPJWvXi4lHIgg7Fty1SHn.S 8W6aNphhatCO7pw6wBnhlegL3jpb21wETV3YBanxmxIaI3Afzmnax79FdK1NwFJsaiNEkLncKwZR RkPoIYXVUOxPfRejodYYka.RXkKPxXK4sPFS7goplv09GveHjsMVFsXJeFsk- X-Sonic-MF: X-Sonic-ID: b29c8ea0-0a44-482b-8b54-203add9765ba Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Jan 2024 11:19:30 +0000 Received: by hermes--production-gq1-5c57879fdf-9nrfh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0d0f254a6fcf880ff5c0bb8a4c3f787e; Sun, 28 Jan 2024 11:19:26 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: A way to enable the HoneyComb's ACPI thermally controlled two speed fan control via JUST /etc/rc.conf Date: Sun, 28 Jan 2024 03:19:15 -0800 References: <84C5A6E4-752D-4D51-ABE8-81F6509A7830@yahoo.com> To: FreeBSD ARM List In-Reply-To: <84C5A6E4-752D-4D51-ABE8-81F6509A7830@yahoo.com> Message-Id: <4070B6B8-D2B9-4A8E-B71B-86097E981863@yahoo.com> X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.30:from]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.30:from] X-Rspamd-Queue-Id: 4TN88h1hZ9z4hT1 This is an alternate hack that only needs one file to execute. (I've used /etc/rc.conf here for illustration.) I instead added to /etc/rc.conf : # # Enable the HoneyComb 2-speed fan control that is based # on temerature. sysctl hw.acpi.thermal.tz0.passive_cooling=3D0 > /dev/null while [ "`sysctl -n hw.acpi.thermal.tz0.active`" !=3D "0" ] ; do sysctl = hw.acpi.thermal.tz0.active=3D0 > /dev/null; done while [ "`sysctl -n hw.acpi.thermal.tz0.active`" !=3D "1" ] ; do sysctl = hw.acpi.thermal.tz0.active=3D1 > /dev/null; done =3D=3D=3D Mark Millard marklmi at yahoo.com