From nobody Sat Feb 25 17:33:34 2023 X-Original-To: freebsd-acpi@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 4PPDPs5Sc5z3tg1l for ; Sat, 25 Feb 2023 17:33:37 +0000 (UTC) (envelope-from georg.lindenberg@web.de) Received: from mout.web.de (mout.web.de [212.227.15.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.web.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PPDPs1T6Pz3sqh for ; Sat, 25 Feb 2023 17:33:37 +0000 (UTC) (envelope-from georg.lindenberg@web.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1677346414; i=georg.lindenberg@web.de; bh=Y1lNl0x0UYJJoh1SlxE8sPSNY5y4KFn4a6AZI85zPnk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=NPV31lnuFwuDZlFjLgCqIYLEUihV8ByBkeShzhskxTIjf+j94pnef3/5vAIIJch83 71774e8vzPIj4HInqoxL4r35HVvqdN0MxeZPFKo4HKDIKc8ncR4jBiPbaea8kMVdOX kKrACNRtOtrHcGDx6Xx/QtiUUYiy8tRyfaM8UqNAJPvVMqc3wH+8FFiqEHLvSC3imA pznS4IzMhgeS7oZP/PFUgRo5BsTGwIxnZJdNYLzxQAhXGc4MMSL85+3vG2xo9+bwOT 7kQGSX3J47eFblSxDU6yzakRF7EGZ509/UZGitQu8Vk/rtB8HuMtilWrBAd5T9HlzB ebPHVwj5qUhNQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [217.72.213.59] ([217.72.213.59]) by web-mail.web.de (3c-app-webde-bs10.server.lan [172.19.170.10]) (via HTTP); Sat, 25 Feb 2023 18:33:34 +0100 List-Id: ACPI and power management development List-Archive: https://lists.freebsd.org/archives/freebsd-acpi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-acpi@freebsd.org MIME-Version: 1.0 Message-ID: From: Georg Lindenberg To: Raz Cc: "freebsd-acpi@FreeBSD.org" Subject: Aw: Fan control in Gigabyte Aero Laptop. Content-Type: text/html; charset=UTF-8 Date: Sat, 25 Feb 2023 18:33:34 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:onmZCUlOyP6Sben9zppEpnbe1HGhgKbNhpgfuTwo443BpHCl1su0XZEFMmOzdCVbPu8s+ YhrJnV7Btd4BmAF2IZup1fxbL5vgFX4y5x+ZBX5+gV9tEpjmeQkXZSNagA6r7plIAWBqSfQ/BOIn NLMCm2YylvJZfvzZbVZHadRylacrqbpAjePrgJsuR80nWBQv/QCYRfbIk8Rs5rV7mE0CVJ2E7t2T xEAp9/DG3bPbQE+Kuye4oREXFBcQDP2ZbyQWbO9iM33wUMxYX5mZBgA19d1xkn8EO83YePswJKny 1Y= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:SAT9CMQH5W8=;SvoV9SDx017CTlPlBzO3IfVHofq MCLECWHd16AdqxA4HokVuJOfRm8xWfkUnI+a9cae2h4qYkQ3WEaNj1OkENs2hq9A90+1QwXRi lKsmrAfdhmMWYEiXKGPHWZFQ5Bx5GxAmGS7Z2YJMedU2edbPTJdBGBZUAEr+PnbXMVI4AcjZd WOxXm8WgMDNObbFNVYX3aPY+pVN1h9gNeKSkrr900+X5sQxHDqMQ+URHD/6HRXfJtQARxE4mD GliLgICvvLd2LDPuftsdEF0+mvweFzUycRtW311oVQ1nHy7WZXIFCf52aae4tpf5qrAan0YC8 cZs7tAOMBKhFuS/Nbnn/RgrEt+8qVYqbW8t/0b23U46SUX4Ek60nRzfYZ5m+hPfp/UnyLecYl 9OrlL49zXTO2vYn9YuknQmt9zFIuETRDN+w8VhrgZodg4x9jYsYJFxudLBM65a6XreeUgFXTu /mb0h9gmiJ7k3HOSaGF0iddjFNd2BR9kGEzX+JMvHUufL/f155yqiCsKHrbJsn0l8AUZ+svZY qLnA5Amd3XQW902cwwz1QlmoyePPshUu6Yz4Gxb8iowA6K7ONFVGZ+cxMWvRgjLtebIfm8I/r tZKWibzPFCPlYe/qk2bnBdlrU/PS+1GJe1/i+vdmFjSlh7+mxjITDAHQSHtk52TtV1Y/lMus1 X/ExrOE8NHew0nHwH1DQS2IBWyyfWysNJgPfHjai+JXtRq1+16Y7u1/alX8UOYFQLSk1Fok03 Fz7zQJgGsqpwaWLbkLNa51UjD20NBBvgNt9t5tcMn5TUlSoGMSwA4wyLFGy7W1QeXNLi/yccd nSR4Ya6KbZfqqAN+lwTligVg== X-Rspamd-Queue-Id: 4PPDPs1T6Pz3sqh X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N
Hey Raz,
 
I don't think freebsd has a generic acpi fan device driver. At least there is none in freebsd-src/sys/dev/acpica/
 
acpi_ibm(4) has support for fans, but it is supposed to be a thinkpad driver. I dunno why they included it there, since
fan control is vendor independent. Either the OEM exposes the fan to the operating system, or not.
 
I would write a fan driver, but none of my laptops have a "PNP0C0B" device. :-(
One would need at least an acpi 4.0 compatible fan.
 
Maybe try acpi_ibm anyways.
 
There is a port, sysutils/acpica-tools, with which it might be possible to write to the fan device (..methods) directly. But it requires some understanding
of how to call acpi methods.
 
Your email is never hidden in mailing lists. ;D
 
 
Regards
George
Gesendet: Samstag, 25. Februar 2023 um 10:22 Uhr
Von: "Raz" <razsarkar@protonmail.com>
An: "freebsd-acpi@FreeBSD.org" <freebsd-acpi@FreeBSD.org>
Betreff: Fan control in Gigabyte Aero Laptop.
Hi,
 
I am a new user trying to make FreeBSD my daily driver. Apparently, the only thing is now stopping me to use it, as daily driver is unable to control the fan. I am using Gigabyte Aero 10th Gen Intel Core i7 with NVIDIA GTX 1660Ti card. I was surprised when everything was working fine out of the box. Currently, I am also using Fedora where I control fans through writing bits on EC using c program uses ec_sys of Linux. My laptop gets pretty hot. I don't want to set a limit on the CPU frequency. I came to the conclusion that my laptop's fans cannot be controlled through ACPI (or I am not capable of). Not only that, but I explored and tried all possible solution such as Arch's documentation or any other code regarding fan control. I hope I will not be disappointment in this forum.
 
I would like to also request you hide the email address if this is posted publicly. Thank you for the time and consideration.
 
Regards
Raz
 
 
Sent with Proton Mail secure email.