Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fans speed up as soon as i close the GUI #175

Open
markthwain1797 opened this issue Nov 21, 2024 · 3 comments
Open

Fans speed up as soon as i close the GUI #175

markthwain1797 opened this issue Nov 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@markthwain1797
Copy link

markthwain1797 commented Nov 21, 2024

Bug Description

As in title the fans speed up if I close the GUI and slow down again to the configured setting if I open the GUI again

Expected Result

I guess the fans should stay at the configured speed

Steps to Reproduce

Open and close the application

Additional Information

Operating system

Zorin OS 17.2 Core

fan-control version

24.8.23 from flathub

Logs

[ERROR hardware::linux] can't set auto to a pwm sensor when quitting: sensors_set_value() failed: [9] Can't write
[ERROR hardware::linux] can't set auto to a pwm sensor when quitting: sensors_set_value() failed: [9] Can't write
[ERROR hardware::linux] can't set auto to a pwm sensor when quitting: sensors_set_value() failed: [9] Can't write
[ERROR hardware::linux] can't set auto to a pwm sensor when quitting: sensors_set_value() failed: [9] Can't write
@markthwain1797 markthwain1797 added the bug Something isn't working label Nov 21, 2024
@wiiznokes
Copy link
Owner

Hum, i saw this kind of error on my PC as well. It's weird that the app can modify the fan speed if we can't write in the first place.

Could you post the output of ll /sys/class/hwmon/hwmon7/pwm* ? (the number 7 can varies between motherboard)

Also, when you haven't yet use fan-control, was the fans sped up ? It's expected that when the app is closed, the fan speed go back to their initial state (i plan to implement a tray icon for running in background).

@markthwain1797
Copy link
Author

Here's my output from ll /sys/class/hwmon/hwmon3/pwm*

-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm1
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_channels_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_point1_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_point1_temp_hyst
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_point2_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_point3_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_slope
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_auto_start
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm1_enable
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm1_freq
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm2
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_channels_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_point1_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_point1_temp_hyst
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_point2_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_point3_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_slope
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_auto_start
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm2_enable
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm2_freq
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm3
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_channels_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_point1_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_point1_temp_hyst
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_point2_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_point3_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_slope
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_auto_start
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm3_enable
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm3_freq
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm4
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_auto_channels_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_auto_point1_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_auto_point1_temp_hyst
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_auto_point2_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_auto_point3_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_auto_slope
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm4_enable
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm4_freq
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_auto_channels_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_auto_point1_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_auto_point1_temp_hyst
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_auto_point2_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_auto_point3_temp
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_auto_slope
-rw-rw-rw- 1 root root 4096 Nov 25 18:21 /sys/class/hwmon/hwmon3/pwm5_enable
-rw-rw-rw- 1 root root 4096 Nov 25 18:17 /sys/class/hwmon/hwmon3/pwm5_freq

After boot (before opening fancontrol for the first time or if I don't open fancontrol at all) the fans use the temperature-curve configured in UEFI.

@wiiznokes
Copy link
Owner

The permissions seems fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants