Giter Site home page Giter Site logo

asus-fan-control's Introduction

asus-fan-control (AFC)

CI status GitPack POSIX Shell Hits

In default, some ASUS devices running Linux control their system fans inappropriately. Typical symptoms include:

  • Running fans even when not under any load
  • Not running fans under load appropriately
  • Spinning up fans in short performance peaks

AFC solves the problems above and even more. Tested devices with links to their first testers:

ASUS VivoBook ASUS ZenBook ASUS ROG Others
N580VD UX310UA G751JY B9440UA
S530UA UX330UAK G752VL FX505GM
X507UF UX360UAK GL502VMK FX505GT
X510UA UX410UA GL502VSK FX553VD
X512FA UX410UQ GL553VD TP550LAB
X542UF UX430UA GL553VE X540LA
UX430UN GL702VSK

ProTip! Your device is not in the table? Take a look at contributing.md file and you can easily add it.

Compatibility notes:

  • Devices with AMD processors do not work with AFC.
  • Devices with the 7th gen Intel processors work well.
  • Other devices may vary.

Table of Contents

Install

Dependencies

  • systemd suite
  • acpi_call module (see below)

Using GitPack

AFC supports GitPack. Global installation/update:

sudo gitpack install github.com/dominiksalvet/asus-fan-control

If your system has APT, GitPack will install acpi_call automatically.

From AUR

We have an AUR package available. Global installation/update:

mkdir -p /tmp/asus-fan-control/ && cd /tmp/asus-fan-control/ &&
git clone https://aur.archlinux.org/asus-fan-control.git . &&
sudo makepkg -si

For AUR installations, enable running AFC automatically:

sudo systemctl enable afc

Usage

AFC does not run in the background (i.e., it is not a daemon process). It is executed automatically whenever necessary (e.g., on OS boots) to keep the effect of a permanent change. It is also possible to invoke it manually as shown below:

sudo asus-fan-control

It uses custom temperatures if previously set, otherwise the default temperatures are used.

Custom Temperatures

The fan speed policy is usually defined by 8 increasing numbers representing temperature boundaries in degrees Celsius between individual fan speed levels. E.g., UX430UA's default temperatures are 55 60 62 65 68 72 76 80 as shown:

Speed level Temperature (C°)
0 (off) 54 and less
1 55 to 59
2 60 to 61
3 62 to 64
4 65 to 67
5 68 to 71
6 72 to 75
7 76 to 79
8 (max) 80 and more

To use your custom temperatures, use the set-temps command. For example:

sudo asus-fan-control set-temps 45 50 55 60 65 70 75 80

GUI

Did you know that AFC has a graphical user interface extension? Visit afc-gui for more details.

Useful Resources

asus-fan-control's People

Contributors

a-johnston avatar agura-lex avatar anzepintar avatar dominiksalvet avatar import3r avatar lucamarini22 avatar vaibhav-hexa avatar zmtk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asus-fan-control's Issues

Getting Error while installing in Ubuntu 20.04

Environment
OS - Ubuntu (Kernal version 5.7.10)

Description
After running the installation command, I am getting this error -

$ sudo gitpack install github.com/dominiksalvet/asus-fan-control

[sudo] password for aman: 
E: Sub-process /usr/bin/dpkg returned an error code (1)
precp script failed with 100
<ERROR> install github.com/dominiksalvet/asus-fan-control

Replication
State steps to replicate the bug.

Additional context
Add expected behavior or solution and any other context.

Add support for ASUS TUF FX505DY

Environment
Version 3.8.0 from AUR
System: Arch Linux

Basic configuration

  • sudo asus-fan-control get-temps

0 0 0 0 0 0 0 0

  • sudo asus-fan-control model-info

name TUFGamingFX505DYTUF505
addresses 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Additional context
I have tried finding the right adresses with afc-scout but I haven't found anything, only zeros between adresses 0 and 5000.
#39 (comment)

Issue with GL503VD

Environment
State asus-fan-control version and OS information.
image

Linux chshbh 5.5.13-1-MANJARO #1 SMP PREEMPT Wed Mar 25 17:14:28 UTC 2020 x86_64 GNU/Linux

Description
Describe the bug.
Firstly, this model was not listed but I tried installing it to check if it works with 2 fans. I think my hardware consists of 2 fans but it never shows on sensors report. The one which it shows is always at 0 RPM. I thought this might fix it since service is enabled and its status is succeeded. But, as you can see rpm is still 0. I just wanted to know if this is because of my hardware model.

image

itachi@chshbh ~> sensors | grep fan
cpu_fan:        0 RPM

Result of sudo systemctl status asus-fan-control is:

● asus-fan-control.service - Fan control for ASUS devices running Linux.
     Loaded: loaded (/usr/lib/systemd/system/asus-fan-control.service; enabled; vendor preset: disabled)
     Active: inactive (dead) since Tue 2020-03-31 02:36:28 IST; 6min ago
   Main PID: 90948 (code=exited, status=0/SUCCESS)

Mar 31 02:36:28 chshbh systemd[1]: Starting Fan control for ASUS devices running Linux....
Mar 31 02:36:28 chshbh systemd[1]: asus-fan-control.service: Succeeded.
Mar 31 02:36:28 chshbh systemd[1]: Started Fan control for ASUS devices running Linux..

Replication
State steps to replicate the bug.
Installed it on GL503
sudo systemctl enable asus-fan-control
sudo systemctl start asus-fan-control
sudo systemctl status asus-fan-control

Support for Windows devices is possible?

Hi, I really appreciate the effort you put in developing this program. I wanted to know if support for Windows devices is possible, and if it is, I will be pleased if it is implemented eventually.

Thank you.

Add support for Asus ROG G53SW

Greetings everyone,
I would like to thank you for this wonderful opportunity and wonderful work, I'd love it if the fans in my notebook work as they should be, I've been dealing with this issue since i migrated from windows, and now with summer heat i get critical temperature shutdowns whenever i put extra load on my laptop.
Generally an Asus G53SW has 2 fans on the back, one for the CPU and the other is for the GPU
normally, the GPU fan can run to max, but I failed to run the CPU fan (roughly speaking) any higher than the speed of 1 (by the measures of your asus-fan-control)
so I hope we can work together through this to make G53SW supported
thanks again, here's the requested info :

Environment

OS: Arch Linux x86_64 
Host: G53SW 1.0 
Kernel: 5.5.7-arch1-1 
Shell: zsh 5.8 
CPU: Intel i7-2630QM (8) @ 2.900GHz 
GPU: NVIDIA GeForce GTX 460M 
Memory: 1357MiB / 7938MiB 
asus-fan-control version :  3.8.0-1
asus-fan-dkms-git version : v0.9.1.r89.g6d5f558-1
asus-wmi-sensors-dkms-git version :  55.320a68e-1

Basic configuration

  • sudo asus-fan-control get-temps output :
    0 0 0 0 0 0 0 0

  • sudo asus-fan-control model-info output :

name G53SW 
addresses 1335 
temperatures 55 60 62 65 68 72 76 80 
tested false 

Advanced configuration

  • sudo FALLBACK_ADDRS='<addrs>' FALLBACK_TEMPS='<temps>' asus-fan-control model-info output :
name G53SW 
addresses 1335 
temperatures 10 
tested false 

Additional context
afc-scout output :

------ base address 1335 ------ 
[1334] = 0 
[1335] = 0 <- possible start 
[1336] = 0 
[1337] = 0 
[1338] = 0 
[1339] = 0 
[1340] = 0 
[1341] = 0 
[1342] = 0 <- possible end 
[1343] = 0 
------ base address 1431 ------ 
[1430] = 0 
[1431] = 0 <- possible start 
[1432] = 0 
[1433] = 0 
[1434] = 0 
[1435] = 0 
[1436] = 0 
[1437] = 0 
[1438] = 0 <- possible end 
[1439] = 0 


Add support for Asus Rog Strix15 GL503GE

Environment
State asus-fan-control version and OS information. - 3.6.0(install via gitpack) and Ubuntu 19.10.

Basic configuration
If only temperatures were configured, add output of:

  • sudo asus-fan-control get-temps
    Above code give following error- /usr/local/bin/asus-fan-control: 400: Illegal number: Erro

  • sudo asus-fan-control model-info
    above code give following msg-
    name Strix15GL503GE
    address 1335
    temperatures 55 60 62 65 68 72 76 80
    tested false

Advanced configuration --(Not used any Advanced configuration)

Additional context
Also, additionally I tried fancontrol + lm-sensors but they too won't works.
Also, my temps are low but only fans are running continously, see images

Add systemd unit

Is your feature request related to a problem? Please describe.
systemd is almost a standard in mainstream distros like Fedora, Arch, Debian etc. and some of them are lacking /etc/rc.local support

Describe the solution you'd like
A systemd service file to start the script at boot

Add support for asus tuf fx505gm

Environment
State asus-fan-control version and OS information. pop os

Basic configuration
If only temperatures were configured, add output of:

  • sudo asus-fan-control get-temps
  • sudo asus-fan-control model-info

Advanced configuration
If advanced configuration was used, add output of:

  • sudo FALLBACK_ADDR=<addr> FALLBACK_TEMPS='<temps>' asus-fan-control model-info

Additional context
Add any additional context.

Fan speeds reset to defaul values after resuming from hibernate

Environment
asus-fan-control version: 2.11.0
model: X512UA
distro: Arch Linux

Describe the bug
After resuming from hibernate, asus-fan-control -get-temps reports default fan speed values. Not the bug in asus-fan-control itself since it doesn't provide any active control, but we can mitigate that, I guess.

To Reproduce
Steps to reproduce the behavior:

  1. Set temps via asus-fan-control
  2. Hibernate and resume
  3. Run asus-fan-control -get-temps
  4. Get your default from-the-factory fan speeds

Possible solution
Add systemd service which will run after hibernate.target. And that's what I'm gonna do.

Add support for ROG Strix SCAR II

Environment
asus-fan-control version: 2.8.1
OS: Linux Mint 19.2 Cinnamon
Linux Kernel: 4.15.0-58-generic
Processor: Intel© Core™ i7-8750H CPU @ 2.20GHz × 6
Graphics: Intel Corporation Device 3e9b, Intel driver: i915 v: kernel
GeForce RTX 2070/PCIe/SSE2 v: 4.6.0 NVIDIA 430.26n.

Temperature configuration
55 56 57 58 59 60 61 62

Notebook model name
Strix GL704GW_GL704GW

Hi dominiksalvet

First of all thanks a lot for development of this program!

Looks like asus-fan-control has no affect on my fans.
I have following output in console

yurii@yurii-laptop:$ sudo gitpack install github.com/dominiksalvet/asus-fan-control=master
[install] github.com/dominiksalvet/asus-fan-control d311ed4

yurii@yurii-laptop:$ sudo asus-fan-control -get-temps
55 56 57 58 59 60 61 62

yurii@yurii-laptop:$ sudo asus-fan-control -set-temps:'55 57 59 61 63 65 67 69'

yurii@yurii-laptop:$ sudo asus-fan-control -get-temps
55 56 57 58 59 60 61 62

As you may note applying -set-temps has no affect since -get-temps shows other (default) numbers. Also default numbers are not working as well, because (if I understand correctly) fans should be off when temperature is < 55, but I can totally hear fan noise even if temperature is < 50.

G752VL: change default temperature set

Environment
asus-fan-control 3.8.0
Fan control for ASUS devices running Linux.

Copyright 2017-2020 Dominik Salvet
github.com/dominiksalvet/asus-fan-control

Description
It seems when I first tried the program, I did wrong thing. I applied set-temps before I got get-temps. At that moment program seems didn't work correctly for my laptop. For now, I could obtain the next values if i not start service after reboot:

afc-scout


------ base address 1335 ------
[1334] = 0
[1335] = 49 <- possible start
[1336] = 58
[1337] = 66
[1338] = 72
[1339] = 78
[1340] = 86
[1341] = 94
[1342] = 97 <- possible end
[1343] = 98
------ base address 1431 ------
[1430] = 0
[1431] = 46 <- possible start
[1432] = 53
[1433] = 58
[1434] = 65
[1435] = 75
[1436] = 79
[1437] = 81
[1438] = 83 <- possible end
[1439] = 93

and i'm not sure what temperature set should be applied in this case.

Also,
afc-scout 1335 1350


[1335] = 49
[1336] = 58
[1337] = 66
[1338] = 72
[1339] = 78
[1340] = 86
[1341] = 94
[1342] = 97
[1343] = 98
[1344] = 3
[1345] = 3
[1346] = 3
[1347] = 3
[1348] = 3
[1349] = 3
[1350] = 3

root@ice-ubuntu:/home/ice# afc-scout 1431 1445


[1431] = 46
[1432] = 53
[1433] = 58
[1434] = 65
[1435] = 75
[1436] = 79
[1437] = 81
[1438] = 83
[1439] = 93
[1440] = 4
[1441] = 3
[1442] = 3
[1443] = 5
[1444] = 4
[1445] = 3

seems acpi has 9 presets instead of 8.

Additional context
#7

Add support for ROG GL502VSK

Environment
asus-fan-control Latest version 3.3.0
OS: Pop_OS! 19.10 (5.3.0-7629-generic)

Basic configuration
If only temperatures were configured, add output of:

Use your own configurations since in general there was no ventilation operation

  • sudo asus-fan-control get-temps
30 35 40 45 50 55 60 65
  • sudo asus-fan-control model-info
name GL502VSK
address 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Additional context
Before testing this contribution, temperatures ranged between 50-60 degrees with a minimum fan speed (passive), now you even notice that it has ventilation. the maximum fan speed is approximately 4500 RPM.

Maxima test configuration:

sudo asus-fan-control set-temps 10 15 20 25 30 35 40 45

Normal Configuration:

sudo asus-fan-control set-temps 30 35 40 45 50 55 60 65

Now temperatures range from 45-55 degrees with normal ventilation. The previously made settings are applied once the user logs in and are stable after a system restart

demicode

asus-fan-control doesn't automatically insert acpi_call module

Environment
Arch Linux

Describe the bug
After the update of acpi_call package, asus-fan-control stopped working. It seems that it relies on a distribution to load the module (which, in this case, it no longer does on boot), which, I think, is not a very robust solution.

Possible solutions
a) Add modprobe acpi_call to asus-fan-control
b) Add ExecStartPre=modprobe acpi_call to asus-fan-control.service to make sure it gets started on boot

Looking for an ASUS ZenBook UX430UN tester

Hello incomers! 👋

We are looking for someone who has an ASUS ZenBook UX430UN (UX430UNR) laptop and will be able to test asus-fan-control whether it works on that model. I personally have a very similar model, UX430UA, so chances are enormously high that it will work out of the box! 🥇 Also, additional information source hints the same.

Please, make yourself heard! 🚀

Add support for ASUS TUF A15 FA506IU-AL127T

Environment
asus-fan-control version: 3.8.0
OS: Ubuntu 20.04
Linux Kernel: 5.6.15-050615-generic
Processor: AMD Ryzen 7 – 4800H
GeForce Geforce GTX 1660Ti
acpi-call-dkms: version 1.1.0-6

Basic configuration

  • sudo asus-fan-control get-temps output:
/usr/local/bin/asus-fan-control: 411: Illegal number: Erro
  • sudo asus-fan-control model-info output:
name TUFGamingFA506IUFA506IU
addresses 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Additional context
The difference between TUF A15 FA506IU versions is the size of the battery and capability of insert 2.5" drive.

Because the higher version kernel, the acpi-call-dkms package download from https://packages.ubuntu.com/groovy/acpi-call-dkms

When I run afc-scout the ouput:

------ base address 1335 ------
/usr/local/bin/afc-scout: 48: Illegal number: Erro

and dmesg output this line: acpi_call: Cannot get handle: Error: AE_NOT_FOUND

The folder /proc/acpi only contains three folders: button, call, and wakeup.

when I manually write it to acpi call using following command (with ### is some number):

echo "\_SB.PCI0.LPCB.EC0.WRAM  ### " | sudo tee /proc/acpi/call > /dev/null && sudo cat /proc/acpi/call

The result is Error: AE_NOT_FOUND% and dmesg still output: acpi_call: Cannot get handle: Error: AE_NOT_FOUND

It seems like the acpi method \_SB.PCI0.LPCB.EC0.WRAM doesn't exist or it has been changed.

Because right now the fan didn't even bother to change speed when the CPU almost reaches 95 degrees. I really want to help to make this work but I still a newbie in this whole acpi things. Currently I'm stuck didn't know where to go. Can you answer a few questions below:

  1. If it has been changed, then how to find the right acpi string used to control the fan?
  2. Does this laptop model doesn't even support acpi fan control? If it doesn't, can we bring the method that windows control the fan into Linux?

Looking for an AUR package maintainer

Hello @agura-lex!

I am creating this issue in connection with #10 (and this comment) to keep the PR itself clearer as it started to be exhaustive. I would rather email this to you but I couldn't find your email address.

I will try to make new updates not to be very invasive and hence easy or with zero effort to update the AUR package. It would be great if you could update the AUR package once a while but I do not want to limit you somehow. So it is completely up to you.

Nevertheless, I would be very happy if can you join this project as a collaborator. You have added the systemd support to asus-fan-control (#10) and have created the AUR package (#9) for dear Arch users. It would be great if you can participate in the slow-paced development of this project and help me with systemd and AUR package maintenance as I do not understand them very well and you are the AUR package's maintainer anyway... 😄

If you are in, we can add the AUR installation method to README.md file for people to know and I won't be scared of AUR package-related issues from users.

What do you think? Are you interested? 🚀

Active status systemCTL

This is probably a noob question! But I justed wanted to know for sure.

● asus-fan-control.service - Fan control for ASUS devices running Linux.
   Loaded: loaded (/usr/lib/systemd/system/asus-fan-control.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Fri 2020-02-28 01:44:20 CET; 11min ago
  Process: 789 ExecStartPre=/sbin/modprobe acpi_call (code=exited, status=0/SUCCESS)
  Process: 799 ExecStart=/usr/bin/asus-fan-control (code=exited, status=0/SUCCESS)
 Main PID: 799 (code=exited, status=0/SUCCESS)

feb 28 01:44:20 Manjaro systemd[1]: Starting Fan control for ASUS devices running Linux....
feb 28 01:44:20 Manjaro systemd[1]: asus-fan-control.service: Succeeded.
feb 28 01:44:20 Manjaro systemd[1]: Started Fan control for ASUS devices running Linux..

Its says loaded, but active: inactive (dead)
Is this right? The fans are under 55 degrees, but would it be active when its goes up? I use the defaults temps!

Looking for an ASUS ZenBook Pro Duo UX581 tester

Hi all! 👋

Do you have an ASUS ZenBook Pro Duo UX581 running Linux and struggle with fan configuration? Do you want to contribute to open source software that is used by hundreds of ASUS laptop users? Then certainly let us know and we will help you get through the process! 🚀

There is a decent chance of asus-fan-control working on your device out of the box. Once you verify it, we can add the laptop model on the tested list in readme.md file with you as its first tester. It will help other people! ❤️ Please, see #53, which was originally covering an unrelated issue and later hints it may be working.


@romarmorales Please take a look at this issue as well and consider making asus-fan-control even better. ⭐ It will take only a few minutes. ⌚

Add command to run fan at a desired speed

Description
A command to run the fan at a desired speed regardless of the temp
like this command sets fan speed to 50% (level 4)
sudo asus-fan-control setspeed 4

a workaround could be like for 50% (level 4) you set temps below that level to very low and above that level to very high
example sudo asus-fan-control set-temps 20 20 20 20 20 100 100 100
it would be a great to have a command for that

Reason
Sometimes you need to adjust the speed without caring about the temps, like if you are about to start an intensive task just set the speed to 100% before starting, thus making temps rise slowly

Need help to get the program working.

I recently shifted to using Linux from Windows 10 which had ASUS's own software for fan control. In current setup fans are dead
OS:Ubuntu 20.04
Model :Asus ROG Strix GL503GE-EN270T Gaming Laptop

So I installed the program using git pack and following happened:

sudo gitpack install github.com/dominiksalvet/asus-fan-control
modprobe: ERROR: could not insert 'acpi_call': Operation not permitted
file /proc/acpi/call does not exist
failed to apply changes immediately
[install] github.com/dominiksalvet/asus-fan-control 3.8.0

I scoured the net for possible solutions, improvised some of them for this, but nothing seems to work. I keep getting this error :
file /proc/acpi/call does not exist

And I apologize for my informal style of asking for help in advance, I am a novice when it comes to using online forums for tech help.SORRY.

support for VivoBookASUSLaptopX409FAX409FA

Description
I tried adding this tool but i could see that the service is not in running status.

Reason
this feature will improve the battery life in linux

Additional context
logs:
++++++
➜ ~ sudo systemctl status asus-fan-control
● asus-fan-control.service - Fan control for ASUS devices running Linux.
Loaded: loaded (/etc/systemd/system/asus-fan-control.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2020-06-02 12:24:31 IST; 22min ago
Process: 71355 ExecStartPre=/sbin/modprobe acpi_call (code=exited, status=0/SUCCESS)
Process: 71362 ExecStart=/usr/local/bin/asus-fan-control (code=exited, status=0/SUCCESS)
Main PID: 71362 (code=exited, status=0/SUCCESS)

Jun 02 12:24:31 milans-vivobook systemd[1]: Starting Fan control for ASUS devices running Linux....
Jun 02 12:24:31 milans-vivobook systemd[1]: asus-fan-control.service: Succeeded.
Jun 02 12:24:31 milans-vivobook systemd[1]: Finished Fan control for ASUS devices running Linux..
++++++

it starts the command and exiting.
How it will work if it is not running it as a service?

Add support for ASUS VivoBook Pro 15 N580GD

Dear @dominiksalvet I also have the problem that my Ausu is heating too much and I'd like to control the fans.

Environment
Ubuntu 18.04
I did a git clone of the project and I'm directly running the script contained in source.
Hash b526a4f

Temperature configuration

sudo ./src/asus-fan-control -get-temps
55 56 57 58 59 60 61 62

Notebook model name

sudo dmidecode -s system-product-name
VivoBook_ASUSLaptop X580GD_N580GD

I tried to set temperatures with
sudo ./src/asus-fan-control -set-temps:"40 41 42 43 44 45 46 47"
which created
/etc/asus-fan-control/custom-temps
containing

sudo cat /etc/asus-fan-control/custom-temps 
40 41 42 43 44 45 46 47

but nothing changed

After that get temps still gives me the same temperatures:

sudo ./src/asus-fan-control -get-temps
55 56 57 58 59 60 61 62

Add support for ROG G752VL

Environment
[install] github.com/dominiksalvet/asus-fan-control 2.9.1
uname -a:
Linux *********** 5.3.0-25-generic #27-Ubuntu SMP Wed Dec 4 13:36:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Temperature configuration
45 50 55 60 65 70 75 80

Notebook model name
G752VL

Hi there.
I've already applied appropriate concerns into kernel org:
https://bugzilla.kernel.org/show_bug.cgi?id=153281
and waiting for new kernel releases. Meanwhile i want to apply right fan settings under my laptop. In attach you can find dmidecode and acpidump outputs

1.zip

Add support for ROG GL553VE

Environment
Latest version 3.4.0
System: Ubuntu 20.04

Basic configuration

  • sudo asus-fan-control get-temps
45 50 55 60 65 70 75 80
  • sudo asus-fan-control model-info
name GL553VE
address 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Additional context
Please note that GL553VE shares same motherboard with FX553VE (in fact GL553VE is ROG branded FX553VE) and same issue, as mentioned in #23, could appear with this model.

Also,
please let me know if any further actions and/or more information is necessary to complete the tests.

Thank you.

file /proc/acpi/call does not exist

Hello, Dominik! First off - kudos to you for this awesome project, I live in a very hot and damp region but also quite often have to work early mornings while my gf is sleeping in the same room. Now, that wouldn't be a problem if the fans weren't blasting like a space shuttle. Tried to look for a way to lower fan speed in BIOS - no luck. Story short - you're a real life saver! There's just a small issue that I'm not even sure is a bug 🪲 , but still wanted to take note.

Model: Asus rog strix g531gt

I'm using a newly installed Manjaro and trying to use afc, both terminal and gui. But when I try to adjust the temp using either of them, I get file /proc/acpi/call does not exist :(

On a side note: although it does seem to be working (fans are not as noisy), after a few seconds or minutes (or when I start doing something more intense) they start blasting again and I have to run the command once more.

On another side note: how do I completely stop the program, so that the laptop can act like a rocket again, when it won't bother anyone? 😅

Package 'acpi-call-dkms' has no installation candidate

Environment
Ubuntu 19.04

Describe the bug
When trying to install with
sudo gim install github.com/dominiksalvet/asus-fan-control

Get this error
E: Package 'acpi-call-dkms' has no installation candidate
make: *** [makefile:64: install-deps] Error 1
[install] github.com/dominiksalvet/asus-fan-control 2.4.1

When trying to install the package

ubuntu@ubuntu:/tmp/gim$ sudo apt install acpi-call-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package acpi-call-dkms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'acpi-call-dkms' has no installation candidate

I had to install it downloading it as .deb

Add support for ASUS ZenBook UX410UQ

Environment
asus-fan-control version: 3.1.0
OS: Ubuntu 18.04.4

Basic configuration

  • sudo asus-fan-control get-temps
50 55 60 62 65 68 72 75
  • sudo asus-fan-control model-info
name UX410UQK
address 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Additional context
Tested in room at approximately 24 °C.
When idle, laptop at approximately 42 °C.

Add support for ASUS ZenBook UX410UA

Environment
Ubuntu 19.04

Describe the bug
When running the script I get this error

ubuntu@ubuntu:/tmp/gim$ sudo asus-fan-control
/usr/local/bin/asus-fan-control: Missing temperatures for your notebook model or they are invalid. Falling back to the UX430UA temperatures.
POSSIBLE SOLUTIONS:

  • Uninstall asus-fan-control and install it again.
  • Contact an asus-fan-control developer.

To Reproduce
sudo asus-fan-control

Additional context
Although I get the error the script looks like is working since the fan stops after a while.

ubuntu@ubuntu:/tmp/gim$ sudo asus-fan-control -get-temps
55 60 62 65 68 72 76 80

ubuntu@ubuntu:/tmp/gim$ sudo dmidecode -s system-product-name
UX410UAK

Asus VivoBook Pro 17 (X705FD)

Hello ,
I have gone through pretty everything i can find on the internet trying to controll the fan's on this laptop.

I am running Windows 10. I have tried RWEverything but when i go to EC the whole EC register is 0x00.

i have addtionally tried to set

Hyper-Threading (on/off)
Intel Virtualization (on/off)
Intel AES-NI (on/off)
VT-D (on/off)
Memory Integrity (off/on)
Windows Test Mode (off/on)

But nothing seems to help i am opening this issue as to try and gather more information on how i can change the speeds of my fans.

Picture of RWEverything with EC open : https://i.imgur.com/r3ksmbL.png

Looking for an ASUS VivoBook Pro N552VX tester

Hello open source enthusiasts! 👋 :octocat:

Asus-fan-control is looking for someone with an ASUS VivoBook Pro N552VX laptop running Linux. 🐧 If you have one and you are struggling with fan configuration, please let us know. There is an assumption that asus-fan-control may work on that device out of the box (#28).

You will also help other people with the same device! ❤️ And do not worry – we will help you get through the process.


@artscoop Please consider improving asus-fan-control by testing your device.

Cannot set temps for Zenbook UX480F

Environment
Ubuntu 20

$ asus-fan-control model-info
name ZenBookUX450FDXUX480FD
addresses 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Description
I cannot set temps, here my terminal :

$ sudo asus-fan-control set-temps 40 42 45 48 50 52 55 58
$ sudo asus-fan-control get-temps 
55 56 57 58 59 60 61 62
$ sudo asus-fan-control set-temps 45 50 55 60 65 70 75 80
$ sudo asus-fan-control get-temps 
55 56 57 58 59 60 61 62

Additional context
I don't know if I misunderstood something... But temps don't want to change on my laptop
If you need additional info ask me ! I'll answer you quick as possible :)

Add support for ROG Strix SCAR III

┌─[azamet@localhost]─[/tmp/gitpack]
└──╼ $sudo gitpack install github.com/dominiksalvet/asus-fan-control
/usr/local/bin/asus-fan-control: Missing temperatures for your notebook model or they are invalid. Falling back to UX430UA temperatures.
[install] github.com/dominiksalvet/asus-fan-control 2.9.1
┌─[azamet@localhost]─[/tmp/gitpack]
└──╼ $asus-fan-control
/usr/local/bin/asus-fan-control: Please run as root.
┌─[✗]─[azamet@localhost]─[/tmp/gitpack]
└──╼ $sudo asus-fan-control
/usr/local/bin/asus-fan-control: Missing temperatures for your notebook model or they are invalid. Falling back to UX430UA temperatures.

have the laptop model g731gv

Looking for an ASUS VivoBook S15 S530UA tester

Hello open source contributors! 👋

Asus-fan-control may be able to extend the tested devices list! If you come to have an ASUS VivoBook S15 S530UA (X530UA) laptop, please let us know! 🚀

We were waiting for @nigelwarning to add this device (#22) as it looks that this user has that laptop up and running with asus-fan-control. That means there should be no problems at all with running asus-fan-control on the mentioned device!

Have a wonderful day guys! 😄

How temperatures are changed

Additional context
I was looking at the source code but since my understanding of bash is not good I couldn't figure it out: how are the temperatures set? And which system variable is used to read the temperature of the computer and select the correct fan speed?
This is for a thing that I would like to add on the GUI.
Thanks

Add support for ASUSPRO B9440UA

Environment
Debian Sid (Debian 5.4.6-1 (2019-12-27) x86_64 GNU/Linux)
asus-fan-control 2.11.0 (4be140b)

Temperature configuration
60 65 68 70 72 74 76 80

Notebook model name
B9440UA

Finally! Thanks for this work. I'm no fan/thermal expert, so I looked at default values for the default laptop and adjusted from gut feeling.

This model for me is notorious for spinning up its fans for every (short) action you take - loading a new tab in Firefox, opening applications etc.. So my main purpose was just to raise the lower threshold a bit so I could do daily work in a more peaceful environment.

It feels like the fans kick in a little earlier than their thresholds set when I compare to what I read out of /sys/class/thermal/thermal_zone0/temp. But that may be due to the accuracy and interval I read out these values.

file /proc/acpi/call does not exist

Hi, i recently updated to Pop_OS! 20.04, and while trying to working on the GUI, i noticed that it can't found that file, I have already reinstalled asus-fan-control using gitpack but nothing. What can be the issue?

Looking for an ASUS FX553VE tester

As mentioned in #25 the FX553VE is a base for ROG Strix GL553VE and as they are sharing the same motherboards and instrumentation - they should have same temperature and fan sensors. As asus-fan-control runs out of the box on GL553VE it should be sufficient, for the upcoming tester, to use following steps on FX553VE as well:

file /proc/acpi/call does not exist

Environment
State asus-fan-control version last, on Ubuntu 20.04
Asus model: TUF Gaming FX505DU
Description
When try sudo asus-fan-control I get file /proc/acpi/call does not exist

Replication
State steps to replicate above
Additional context
The installation was done using gitpack.

Add info in the wiki

Since the program is meant for laptops, if someone does not see improvement, like me, write in the wiki to clear the laptop fan (see this post)

Add support for B9450

Environment
asus-fan-control 3.6.0-1
System: Arch 5.6.6

Basic configuration
If only temperatures were configured, add output of:

  • sudo asus-fan-control get-temps
55 56 57 58 59 60 61 62

I have no idea what configuring temperatures means in this context, but these look not-legit if I had to guess.

  • sudo asus-fan-control model-info
name ASUSEXPERTBOOKB9450FAB9450FA
address 1335
temperatures 55 60 62 65 68 72 76 80
tested false

Additional context
I've not had any luck using lm_sensors to get these to turn on. When I first installed the OS I was able to hear the fans turn on for brief moments. I'd not done anything computationally extensive enough until recently to notice they don't turn on at all after adding a few power configurations. Contemplating a reinstall to see if they turn on by themselves again or if I mis-heard it. Hopefully you can help!

Let me know if you have any questions/requests.

error precp script failed with 100 on Ubuntu 20.04

Receiving the following message during installation:

$ sudo gitpack install github.com/dominiksalvet/asus-fan-control
E: Sub-process /usr/bin/dpkg returned an error code (1)
precp script failed with 100
<ERROR> install github.com/dominiksalvet/asus-fan-control

On Ubuntu 20.04:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal
uname -a
Linux dbzen 5.6.0-1019-oem #19-Ubuntu SMP Wed Jul 1 14:34:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

acpi_call is already installed:

acpi-call-dkms/focal,focal,now 1.1.0-5 all [installed]
  Kernel module that enables you to call ACPI methods

Add support for Asus TUF FX504

Environment
State asus-fan-control version and OS information.

Basic configuration
If only temperatures were configured, add output of:

  • sudo asus-fan-control get-temps
  • sudo asus-fan-control model-info

Advanced configuration
If advanced configuration was used, add output of:

  • sudo FALLBACK_ADDRS='<addrs>' FALLBACK_TEMPS='<temps>' asus-fan-control model-info

Additional context
Add any additional context.

Unable to install

Hi,

I am trying to install this package on my ASUS TUF Fx504 GE model. I am fairly new to Linux and have installed Ubuntu 20.04 recently by removing my windows 10. After installing i noticed that the "Fn" key + F5 which used to control the fan speeds earlier on windows is not working.

So, I tried installing this package but I am facing some problems.

running this command on the terminal : sudo gitpack install github.com/dominiksalvet/asus-fan-control
returns this error: sudo: gitpack: command not found

How can I solve this and install this on my system.

Thanks in advance

Add support for ASUS FX553VD

Environment
Latest version 3.3.0
System: Pop_OS! 19.10

Basic configuration
If only temperatures were configured, add output of:

  • sudo asus-fan-control get-temps
45 50 55 60 65 70 75 80
  • sudo asus-fan-control model-info
name GL553VD
address 1335
temperatures 65 70 72 75 78 82 86 90
tested true

Additional context
It says GL553VD, which is supported, but on the back of the computer is written FX553VD, it is a single fan and i notice that even at 80+ degree it isn't as fast and loud as windows (the maximum fan speed should be more or less 6000 rpm)

GUI

I was thinking of adding a GUI, to submit temperatures, etc, to help users who aren't familiar with the terminal. (see this post)

Add support for VivoBook Pro 15 X580VD

Environment

OS: Ubuntu 19.10
asus-fan-control version: 3.6.0

Basic configuration

sudo asus-fan-control get-temps
45 50 55 60 65 70 75 80
sudo asus-fan-control model-info
name X580VD
address 1335
temperatures 45 50 55 60 65 70 75 80
tested false

Additional context

Firstly, thank you for this tool because after a lot of searching, it was the only one to be working with this laptop.
I have a note to make for this laptop:
This model has 2 fans. While the tool worked without any advanced configuration for one of the fans (acpi address 1335), the second fan's behavior was not affected. So, I found (with your other tool "afc-scout") that the acpi address of the 2nd fan is 1431.
Thus, I made a modification to your bash script "asus-fan-control": Where the "set_acpi_temps"
function is called, I added a line to call it for a 2nd time passing as address "1431". As a result, whenever the asus-fan-control service runs, it affects both of the laptop's fans.
As a suggestion, it would be nice to support dual-fan laptops in the future. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.