Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2023 19:33:13 +0000
From:      Raz <razsarkar@protonmail.com>
To:        georg.lindenberg@web.de
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: Aw: Fan control in Gigabyte Aero Laptop.
Message-ID:  <8Qw26zfpC1E8aEKpCkVN63pfdqqZcay54BMR20yBC1CRzNpF8ap2hXjEsFtYvEEmPNmf6AvD9jWHsaW5abncH71g8HmCPu4QdLlZJNCK7O0=@protonmail.com>
In-Reply-To: <trinity-e425c875-0fb2-45e0-ad2e-73b50a9a8ef5-1677346414120@3c-app-webde-bs10>
References:  <n95eD22DvsxgyiSOP-DHKcKIlR9j1TyGRErGDLVCln33z4iRg-YKbo3kJ2hrcz9shixidEpSZy4PLFDQ-rSdCcULv2SHPD8wVxm-Gk2sKDU=@protonmail.com> <trinity-e425c875-0fb2-45e0-ad2e-73b50a9a8ef5-1677346414120@3c-app-webde-bs10>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi George,
Thanks for the reply. I am unable to make it work with anything related to acpi. I don't have the skill to reverse engineer. Gigabyte has never contributed to any open source as far as I know. The only thing that worked through changing or writing bits on the Embedded controller. I just needed to know how can I write it. I posted this for asking help on the forum and one person has suggested sending an email here. I am sorry if I am asking in the wrong place.

By the way, how do you stay safe from being spammed if every email address is publicly visible here?

Regards
Raz

Sent from Proton Mail mobile

-------- Original Message --------
On 25 Feb 2023, 11:33 pm, Georg Lindenberg wrote:

> 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](https://github.com/jertel/p37-ec) 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](https://proton.me/) secure email.
[-- Attachment #2 --]
Hi George,<br>Thanks for the reply. I am unable to make it work with anything related to acpi. I don't have the skill to reverse engineer. Gigabyte has never contributed to any open source as far as I know. The only thing that worked through changing or writing bits on the Embedded controller. I just needed to know how can I write it. I posted this for asking help on the forum and one person has suggested sending an email here. I am sorry if I am asking in the wrong place.<br><br>By the way, how do you stay safe from being spammed if every email address is publicly visible here?<br><br>Regards<br>Raz<br><br><br>Sent from Proton Mail mobile<br><br><br><br>-------- Original Message --------<br>On 25 Feb 2023, 11:33 pm, Georg Lindenberg < georg.lindenberg@web.de> wrote:<blockquote class="protonmail_quote"><br><html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hey Raz,</div>

<div>&nbsp;</div>

<div>
<div>I don&#39;t think freebsd has a generic acpi fan device driver. At least there is none in freebsd-src/sys/dev/acpica/</div>

<div>&nbsp;</div>

<div class="flex-1 mx-2 flex-self-center f4">
<div class="d-none d-sm-block">acpi_ibm(4) has support for fans, but it is supposed to be a thinkpad driver. I dunno why they included it there, since</div>

<div class="d-none d-sm-block">fan control is vendor independent. Either the OEM exposes the fan to the operating system, or not.</div>

<div class="d-none d-sm-block">&nbsp;</div>

<div class="d-none d-sm-block">I would write a fan driver, but none of my laptops have a &quot;PNP0C0B&quot; device. :-(</div>

<div class="d-none d-sm-block">One would need at least an acpi 4.0 compatible fan.</div>

<div class="d-none d-sm-block">&nbsp;</div>

<div class="d-none d-sm-block">Maybe try acpi_ibm anyways.</div>

<div class="d-none d-sm-block">&nbsp;</div>

<div class="d-none d-sm-block">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</div>

<div class="d-none d-sm-block">of how to call acpi methods.</div>
</div>
</div>

<div>&nbsp;
<div>
<div>Your email is never hidden in mailing lists. ;D</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>Regards</div>

<div>George</div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Samstag, 25. Februar 2023 um 10:22 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Raz&quot; &lt;razsarkar@protonmail.com&gt;<br/>
<b>An:</b>&nbsp;&quot;freebsd-acpi@FreeBSD.org&quot; &lt;freebsd-acpi@FreeBSD.org&gt;<br/>
<b>Betreff:</b>&nbsp;Fan control in Gigabyte Aero Laptop.</div>

<div name="quoted-content">
<div style="font-family: Arial , sans-serif;font-size: 14.0px;"><span>Hi,</span>

<div>&nbsp;</div>

<div>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 <a href="https://github.com/jertel/p37-ec" target="_blank">c program</a> uses ec_sys of Linux. My laptop gets pretty hot. I don&#39;t want to set a limit on the CPU frequency. I came to the conclusion that my laptop&#39;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&#39;s documentation or any other code regarding fan control. I hope I will not be disappointment in this forum.</div>

<div>&nbsp;</div>

<div>I would like to also request you hide the email address if this is posted publicly. Thank you for the time and consideration.</div>

<div>&nbsp;</div>

<div>Regards</div>
<span>Raz</span></div>

<div style="font-family: Arial , sans-serif;font-size: 14.0px;">&nbsp;</div>

<div class="protonmail_signature_block" style="font-family: Arial , sans-serif;font-size: 14.0px;">
<div class="protonmail_signature_block-user protonmail_signature_block-empty">&nbsp;</div>

<div class="protonmail_signature_block-proton">Sent with <a href="https://proton.me/" target="_blank">Proton Mail</a> secure email.</div>
</div>
</div>
</div>
</div>
</div></div></body></html>
</div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8Qw26zfpC1E8aEKpCkVN63pfdqqZcay54BMR20yBC1CRzNpF8ap2hXjEsFtYvEEmPNmf6AvD9jWHsaW5abncH71g8HmCPu4QdLlZJNCK7O0=>