You are not logged in.

#26 2020-09-07 06:54:10

Welt
Member
Registered: 2020-09-04
Posts: 66

Re: Fan Problem In Arch

Trilby wrote:

Yes, just edit it in any text editor and add asus_fan inside the quotes:

HWMON_MODULES="coretemp asus_fan"

This will result in the asus_fan module being loaded by the lm_sensors service file during boot.

Yeah that worked but still need to write those echo commands manually.
Let me clearify it. There is no doubt about loading asus_fan. It is starting correctly but i couldn't configure it. I didn't understand what's on the wiki. Can someone clearify them to me ? How to create Asus_Fan config is metioned like this in the wiki.

Last edited by Welt (2020-09-07 08:29:02)

Offline

#27 2020-09-07 12:38:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Fan Problem In Arch

What do you need clarified about that section?  Have you attempted it?  Were there error messages?  What's in the config it generated?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#28 2020-09-07 12:46:22

Welt
Member
Registered: 2020-09-04
Posts: 66

Re: Fan Problem In Arch

Trilby wrote:

What do you need clarified about that section?  Have you attempted it?  Were there error messages?  What's in the config it generated?

I mean asus_fan kernel module loads on every boot but i couldn't configured it. So that's my problem i didn't understand what's on the wiki can someone eleborate me those commands. Yes i attemted but it didn't worked. Probably i made something wrong that's why i need clearify.

Last edited by Welt (2020-09-07 12:47:01)

Offline

#29 2020-09-07 12:49:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Fan Problem In Arch

Welt wrote:

i attemted but it didn't worked.

That's not an error message.  What do you need clarified?  Did you open three terminals and run each of the first two commands in one of the terminals, and while they were still running did you run the third command in a third terminal?  If not, do so now.  If so, what config did it generate?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#30 2020-09-08 12:01:22

Welt
Member
Registered: 2020-09-04
Posts: 66

Re: Fan Problem In Arch

Trilby wrote:
Welt wrote:

i attemted but it didn't worked.

That's not an error message.  What do you need clarified?  Did you open three terminals and run each of the first two commands in one of the terminals, and while they were still running did you run the third command in a third terminal?  If not, do so now.  If so, what config did it generate?

/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1_enable 
sh: /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1_enable: No such file or directory 
/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2_enable 
sh: /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2_enable: No such file or directory 

This is what it generates for watch commands.

Last edited by Welt (2020-09-08 12:02:58)

Offline

#31 2020-09-08 12:11:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Fan Problem In Arch

What's the output of each of the following:

ls /sys/devices/platform/asus_fan/hwmon/hwmon*
ls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#32 2020-09-09 07:59:55

Welt
Member
Registered: 2020-09-04
Posts: 66

Re: Fan Problem In Arch

Trilby wrote:

What's the output of each of the following:

ls /sys/devices/platform/asus_fan/hwmon/hwmon*
ls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/

note: I modprobed asus_fan.

ls /sys/devices/platform/asus_fan/hwmon/hwmon*
device@     fan1_label  fan1_min   fan1_speed  fan2_label  fan2_min   fan2_speed  power/  pwm1_enable  pwm2_enable  temp1_crit   temp1_label
fan1_input  fan1_max    fan1_mode  fan2_input  fan2_max    fan2_mode  name        pwm1    pwm2         subsystem@   temp1_input  uevent
supflynn@aras ~> ls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/
fish: No matches for wildcard '/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/'. See `help expand`.
ls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/

Last edited by Welt (2020-09-09 08:00:28)

Offline

#33 2020-09-09 10:59:48

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,640
Website

Re: Fan Problem In Arch

Please also provide

ls -ld /sys/devices/platform/asus_fan/hwmon/hwmon*

There seems to be a problem with the globbing of the printable character class.

In any case you have pwm1_enable and pwm2_enable available.
Their parent folder just doesn't match the glob.

PS: Wtf. You're using fish?! This is most likely¹ the problem.
Use exotic shells, get exotic errors.

[1] Confirmed.

Last edited by schard (2020-09-09 11:06:33)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB