ITADN

works well but does not load fan curve after restart

#26Openbitterhalt 创建于 2023-08-08
B
bitterhaltcommented
I have a small issue or I just do something very wrong. When I set my fan curve and start and enable systemd service everything works as expected. Fan curve stays after login out and suspend but when I restarr my fan uses stock profile. My confic: ``` `# [<Temp in C>,<Fanspeed in %>] speed_matrix: - [38, 31] - [50, 32] - [56, 50] - [75, 60] - [85, 68] # Current Min supported value is 4 due to driver bug # # Optional configuration options # # Allows for some leeway +/- temp, as to not constantly change fan speed # threshold: 4 # # Frequency will change how often we probe for the temp # frequency: 5 # # While frequency and threshold are optional, I highly recommend finding # settings that work for you. I've included the defaults I use above. # # cards: # can be any card returned from `ls /sys/class/drm | grep "^card[[:digit:]]$"` ``` Is there something with my curve? I used same values in corectrl? I am using archlinux I enabled systemd service like this: ``` systemctl enable amdfan.service systemctl start amdfan.service ``` config is in /etc/amdfan.yml service status before reboot: ``` amdfan.service - amdfan controller Loaded: loaded (/usr/lib/systemd/system/amdfan.service; enabled; preset: disabled) Active: active (running) since Tue 2023-08-08 16:23:15 EEST; 1s ago Main PID: 7128 (amdfan) Tasks: 1 (limit: 38359) Memory: 25.2M CPU: 103ms CGroup: /system.slice/amdfan.service └─7128 /usr/bin/python /usr/bin/amdfan --daemon ``` service statatus after restart: ```systemctl status amdfan.service ○ amdfan.service - amdfan controller Loaded: loaded (/usr/lib/systemd/system/amdfan.service; enabled; preset: disabled) Active: inactive (dead) ```
5 条评论