Hi, Yes, you are right. cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable returns 2 but it's too loud. I want to set a lower fan RPM value. 2400 - is too big for me. Can I set 2000 or lower? PS. When I set 0 into pwm1_enable. Fan speed is near 6000 RPM. On Wed, Nov 25, 2020 at 1:11 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > Hi, > > On 11/25/20 10:04 AM, Mamchyts Dmitry wrote: > > Hi, general problem with fan - fans run very loud > > > > root@ga401ih:/sys/devices/platform/asus-nb-wmi/hwmon/hwmon6# cat fan1_input > > 2400 > > > > But all sensors show temperatures 27-30 C. > > So, I want to set a lower fan speed manually. > > Current speed - 2400 > > > > root@ga401ih:/sys/devices/platform/asus-nb-wmi/hwmon/hwmon6# cat fan1_input > > 2400 > > > > Can I set lower fan speed? > > AFAIK the asus-wmi code sets the mode to auto at probe, you can check by doing: > > cat /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable > > That should return "2". If it does not try: > > echo 2 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon6/pwm1_enable > > Regards, > > Hans > > > > > > > > > > On Tue, Nov 24, 2020 at 4:28 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > >> > >> Hi, > >> > >> On 11/12/20 8:19 PM, Mamchyts Dmitry wrote: > >>> I got an Asus Zephyrus G14 GA401IH-HE003 with AMD Ryzen 7 4800HS and a > >>> NVIDIA GeForce GTX 1650. > >>> I am use 5.9.8-050908-generic kernel from > >>> (kernel.ubuntu.com/~kernel-ppa/mainline/v5.9.8/) > >>> > >>> dmamchyts@ga401ih:~$ cat /etc/os-release > >>> NAME="Ubuntu" > >>> VERSION="20.10 (Groovy Gorilla)" > >>> > >>> I have some problem with sound and fan: > >>> The first problem is a sound from notebook speakers: when I use > >>> headphones via 3.5 jack - all works fine. I can control sound level > >>> (from low to high). But when I try to listen to any sounds from > >>> notebook speakers - volume always has a high level (I think it's a max > >>> level of notebook speakers sound). I am using KDE, and I hear a sound > >>> level of 5% the same as 100%. > >> > >> Next time please try reporting 1 issue per bug report. The > >> platform-driver-x86@xxxxxxxxxxxxxxx mailinglist is the right address > >> for the fan issue, but for the sound issue you really should send > >> a separate bug report to the sound/alsa developers. > >> > >>> The second problem is a fan speed. > >> > >> What exactly is the problem with the fan speed ? > >> > >> <snip> > >> > >>> xxx@ga401ih:~/downloads$ ll /sys/class/hwmon/hwmon6/ > >>> total 0 > >>> drwxr-xr-x 3 root root 0 Nov 12 20:33 ./ > >>> drwxr-xr-x 3 root root 0 Nov 12 20:33 ../ > >>> lrwxrwxrwx 1 root root 0 Nov 12 20:34 device -> ../../../asus-nb-wmi/ > >>> -r--r--r-- 1 root root 4096 Nov 12 20:34 fan1_input > >>> -r--r--r-- 1 root root 4096 Nov 12 20:34 fan1_label > >>> -r--r--r-- 1 root root 4096 Nov 12 20:34 name > >>> drwxr-xr-x 2 root root 0 Nov 12 21:30 power/ > >>> -rw-r--r-- 1 root root 4096 Nov 12 21:30 pwm1_enable > >>> lrwxrwxrwx 1 root root 0 Nov 12 21:30 subsystem -> > >>> ../../../../../class/hwmon/ > >>> -rw-r--r-- 1 root root 4096 Nov 12 20:33 uevent > >> > >> Ok, so pwmconfig will not work here because there only is a > >> pwm1_enable file and not a pwm1 file for controlling the actual > >> fan-speed. > >> > >> This is normal on most newer Asus models you can sat the fan > >> to 1 of 2 modes: > >> > >> 1. fullspeed: > >> > >> echo 0 > /sys/class/hwmon/hwmon6/pwm1_enable > >> > >> 2. automatic speed control (the default) > >> > >> echo 2 > /sys/class/hwmon/hwmon6/pwm1_enable > >> > >> Regards, > >> > >> Hans > >> > > >