daringer / asus-fan

Kernel module to get/set (both) fan speed(s) on ASUS Zenbooks
GNU General Public License v2.0
95 stars 26 forks source link

[UNSUPPORTED HARDWARE VivoStick TS10] module load fails #84

Open luisgflores opened 4 months ago

luisgflores commented 4 months ago

Hello! First of all thanks for all your work! I have a "stick" PC which, when Linux is installed, never stops spinning the fan. I previously tried with https://github.com/dominiksalvet/asus-fan-control but as it turns out, the end message is the same: AE_NOT_FOUND

This is the output from dmesg:

root@vivo:/home/luis# dmesg | grep asus-fan
[   10.463018] asus-fan (init) - dmi sys info: 'ASUSTeK COMPUTER INC.'
[   10.463045] asus-fan (init) - dmi product: 'TS10'
[   10.463083] asus-fan (init) - fan-id: 1 | failed to get rpm
[   10.463102] asus-fan (init) - fan-id: 2 | failed to get rpm
[   10.463112] asus-fan (init) - temp-id: 1 | success getting temp
[   10.463129] asus-fan (set_max_speed) - set max fan speed(s) failed (no reset) errcode: AE_NOT_FOUND
[   10.463143] asus-fan (init) - set max speed to: '255' failed! errcode: AE_NOT_FOUND
root@vivo:/home/luis# 

I also tried a manual build, and then I noticed that not all symlinks are successfully created:

root@vivo:/home/luis# ls -la /tmp/asus-test-dir/
total 8
drwxr-xr-x  2 root root 4096 May  6 17:31 .
drwxrwxrwt 13 root root 4096 May  6 17:31 ..
lrwxrwxrwx  1 root root   57 May  6 17:31 core1_temp -> /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp2_input
lrwxrwxrwx  1 root root   57 May  6 17:31 core2_temp -> /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input
lrwxrwxrwx  1 root root   45 May  6 17:31 tz1_temp -> '/sys/devices/virtual/hwmon/hwmon*/temp1_input'
lrwxrwxrwx  1 root root   58 May  6 17:31 tz2_temp -> '/sys/devices/platform/asus-nb-wmi/hwmon/hwmon*/temp1_input'
root@vivo:/home/luis# 

And a manual check reveals not all endpoints exist:

root@vivo:/home/luis# hwmon_dev=$(dmesg | grep asus-fan | grep hwmon | tail -n 1 | cut -d ":" -f 2 | sed -e 's/ //g')
root@vivo:/home/luis# hwmon_dir="/sys/devices/platform/asus_fan/hwmon/${hwmon_dev}"
root@vivo:/home/luis# echo $hwmon_dir/
/sys/devices/platform/asus_fan/hwmon/hwmon5/
root@vivo:/home/luis# ls -la $hwmon_dir
total 0
drwxr-xr-x 3 root root    0 May  6 17:27 .
drwxr-xr-x 3 root root    0 May  6 17:27 ..
lrwxrwxrwx 1 root root    0 May  6 17:29 device -> ../../../asus_fan
-r--r--r-- 1 root root 4096 May  6 17:29 name
drwxr-xr-x 2 root root    0 May  6 17:41 power
lrwxrwxrwx 1 root root    0 May  6 17:41 subsystem -> ../../../../../class/hwmon
-rw-r--r-- 1 root root 4096 May  6 17:27 uevent
root@vivo:/home/luis# 

Do you think there is still hope of getting fan control?

Best regards!