YoyPa / isw

Ice-Sealed Wyvern
GNU General Public License v3.0
385 stars 78 forks source link

A better wiki, with clearer install instruction #252

Open Twix53791 opened 2 years ago

Twix53791 commented 2 years ago

Hi YoyPa, first of all, thanks a lot for your program ! I could not go without the such pleasant silent it provides now ! In a sense, it's a shame such a 'basic' feature (control the fans) is not implemented by default on every linux kernel... It is because it is an 'elementary' need (just a computer which not being crazily noisy all the time!) I think this program has to be the more accessible possible. Bringing to everyone the best linux experience is a very important thing, I think, to push forward the spread of linux users in the world and, I hope, one day, overthrow the domination of windows and mac on the popular computing. Anyway, an obvious thing for an experienced linux user can stuck for hours a newbie (I did...), it is important to be very directive, especially to give practical examples. Isw, in fact, is not difficult to install, even I am not sure to have understand the full process. Actually, I expected the -w option to automatically create a new section in the isw.conf from the output of isw -cp MSI_ADDRESS_DEFAULT, but it seems it is not the case. I solve the problem by writing myself a new section, with the name of my motherboard, and THEN run isw -w.

Stumbling blocks on which a common user can have trouble with:

So, I propose to add the following practical example in the wiki:

Activate isw for a MSI GS60 not supported by default

[16H7EMS1]
#GS60_6QE
#16H7EMS1.117
# myconfig!
address_profile = MSI_ADDRESS_DEFAULT
fan_mode = 140 
battery_charging_threshold = 100
# CPU
cpu_temp_0 = 50
cpu_temp_1 = 60
cpu_temp_2 = 68
cpu_temp_3 = 73
cpu_temp_4 = 78
cpu_temp_5 = 83
cpu_fan_speed_0 = 0
cpu_fan_speed_1 = 30
cpu_fan_speed_2 = 60
cpu_fan_speed_3 = 65
cpu_fan_speed_4 = 70
cpu_fan_speed_5 = 80
cpu_fan_speed_6 = 85```
# GPU
gpu_temp_0 = 53
gpu_temp_1 = 58
gpu_temp_2 = 63
gpu_temp_3 = 68
gpu_temp_4 = 73
gpu_temp_5 = 83
gpu_fan_speed_0 = 0
gpu_fan_speed_1 = 55
gpu_fan_speed_2 = 65
gpu_fan_speed_3 = 70
gpu_fan_speed_4 = 80
gpu_fan_speed_5 = 85
gpu_fan_speed_6 = 90
thomas21120 commented 2 years ago

Thanks @Twix53791 for this extra bit of information. I almost given up on manjaro for my laptop due to lack of fan control, there is a package for ubuntu that is easy to use and works with a gui app, but I hated using ubuntu, but thanks to you and @YoyPa I got fan control working on my ge66raider-10UG.

It is also important to note that i had to run:

sudo modprobe -r ec_sys sudo modprobe ec_sys write_support=1

to get this to work. without i kept getting: No such file or directory: '/sys/kernel/debug/ec/ec0/io

Twix53791 commented 2 years ago

Thanks @thomas21120, actually I add these two commands to the "wiki" above, as it is true than it resolves this "No such file or directory: '/sys/kernel/debug/ec/ec0/io" error. Today, as I reinstall my arch I had to install isw again. I installed it from AUR and I got this error: No option 'battery_charging_threshold_address' in section: 'MSI_ADDRESS_DEFAULT'. It was the isw.conf file where the line "battery_charging_threshold_address = 0xef" was missing. I replace the file with the one from the git repo and everything works now.

So, I recommand to install isw from git, not from AUR. Where to put the files? On arch, the AUR package writes the files: /etc/modprobe.d/isw-ec_sys.conf /etc/modules-load.d/isw-ec_sys.conf /usr/lib/systemd/system/isw@.service /usr/bin/isw /etc/isw.conf

ulrickpsp commented 1 year ago

Very useful guide. Thanks a lot.