Re: Aw: Fan control in Gigabyte Aero Laptop.

From: Raz <razsarkar_at_protonmail.com>
Date: Sat, 25 Feb 2023 19:33:13 UTC
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.