Package Details: asus-fan-dkms-git v0.9.1.r54.gd9ccff8-1

Git Clone URL: https://aur.archlinux.org/asus-fan-dkms-git.git (read-only)
Package Base: asus-fan-dkms-git
Description: Kernel module allowing to control (both) fan inside various ASUS laptops
Upstream URL: http://github.com/daringer/asus-fan
Licenses: GPL
Conflicts: asus-fan-dkms
Submitter: qlonik
Maintainer: qlonik (dariball)
Last Packager: dariball
Votes: 3
Popularity: 0.223167
First Submitted: 2016-01-14 03:12
Last Updated: 2017-07-21 21:26

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

erkexzcx commented on 2017-09-10 11:16

Created https://wiki.archlinux.org/index.php/Fan_speed_control#Asus_laptops if anyone need any help.

erkexzcx commented on 2017-06-24 19:12

If it fails to modprobe asus_fan module - simply reboot and try modprobe again. It should work!

rpodgorny commented on 2017-01-29 11:55

systemd[1]: Configuration file /usr/lib/systemd/system/asus-fan.service is marked executable. Please remove executable permission bits. Proceeding anyway.

hexadecagram commented on 2016-11-15 21:06

Done and done. https://github.com/daringer/asus-fan/issues/38

qlonik commented on 2016-11-06 20:18

I bumped the version.

Again, I'm not a developer of the package. I just uploaded their PKGBUILD from their repo. If there is an issue with the code, you should create new issue with the description and let them fix it.

hexadecagram commented on 2016-11-06 19:55

This kernel module isn't being rebuilt with every LTS kernel upgrade. I have to manually run dkms autoinstall every time. I've included a successful zfs-dkms in the pacman output, to demonstrate that it seems to be a problem specifically with asus-fan-dkms-git:

:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms install -m asus_fan -v git -k 4.4.30-1-lts
Error! Bad return status for module build on kernel: 4.4.30-1-lts (x86_64)
Consult /var/lib/dkms/asus_fan/git/build/make.log for more information.
==> dkms install -m spl -v 0.6.5.8 -k 4.4.30-1-lts
==> dkms install -m zfs -v 0.6.5.8 -k 4.4.30-1-lts

Here's some additional stuff:

% sudo dkms autoinstall -k 4.4.30-1-lts

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make KERNELRELEASE=4.4.30-1-lts KVERSION=4.4.30-1-lts...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.4.30-1-lts (x86_64)
Consult /var/lib/dkms/asus_fan/git/build/make.log for more information.

% tail /var/lib/dkms/asus_fan/git/build/make.log
DKMS make.log for asus_fan-git for kernel 4.4.30-1-lts (x86_64)
Sun Nov 6 11:46:30 PST 2016
make -C /lib/modules/4.4.27-1-lts/build M=$PWD modules
make[1]: *** /lib/modules/4.4.27-1-lts/build: No such file or directory. Stop.
make: *** [Makefile:6: all] Error 2

% ls /lib/modules/
4.4.30-1-lts extramodules-4.4-lts

% uname -rs
Linux 4.4.27-1-lts

So it appears that make is trying to build with the old linux-headers-lts installation, which it should not be doing.

If I reboot and retry, I succeed:

% sudo dkms autoinstall

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make KERNELRELEASE=4.4.30-1-lts KVERSION=4.4.30-1-lts...
cleaning build area...
Kernel cleanup unnecessary for this kernel. Skipping...

DKMS: build completed.

asus_fan.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/4.4.30-1-lts/kernel/drivers/acpi/

depmod...

DKMS: install completed.

hexadecagram commented on 2016-11-06 18:22

I bug reported it and it looks like it's been resolved:

https://github.com/daringer/asus-fan/issues/36

qlonik commented on 2016-04-16 17:06

That file is coming from the package itself. So, the error should be reported to developer in his/her github repo https://github.com/daringer/asus-fan/. After its fixed there, I can bump the package version.

hexadecagram commented on 2016-04-15 20:49

In /usr/lib/systemd/system/asus-fan.service, the Before= line is supposed to be in the [Unit] section.