You are not logged in.

#1 2026-02-22 04:22:30

levgold33
Member
Registered: 2026-02-22
Posts: 3

pwmconfig hwmon "Permission denied"

I am a new Arch user trying to set up lm_sensors and fancontrol. I ran sensors-detect and selected the defaults. When I try to run pwmconfig, I get the following:

 sudo pwmconfig
# pwmconfig version 3.6.2
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

Found the following devices:
   hwmon0 is nvme
   hwmon1 is nvme
   hwmon2 is amdgpu
   hwmon3 is amdgpu
   hwmon4 is k10temp
   hwmon5 is spd5118
   hwmon6 is spd5118
   hwmon7 is nct6687
   hwmon8 is r8169_0_e00:00
   hwmon9 is mt7921_phy0

Found the following PWM controls:
   hwmon2/pwm1           current value: 0
/usr/bin/pwmconfig: line 181: hwmon2/pwm1: Permission denied
   hwmon7/pwm1           current value: 109
/usr/bin/pwmconfig: line 181: hwmon7/pwm1: Permission denied
   hwmon7/pwm2           current value: 255
/usr/bin/pwmconfig: line 181: hwmon7/pwm2: Permission denied
   hwmon7/pwm3           current value: 153
/usr/bin/pwmconfig: line 181: hwmon7/pwm3: Permission denied
   hwmon7/pwm4           current value: 153
/usr/bin/pwmconfig: line 181: hwmon7/pwm4: Permission denied
   hwmon7/pwm5           current value: 153
/usr/bin/pwmconfig: line 181: hwmon7/pwm5: Permission denied
   hwmon7/pwm6           current value: 153
/usr/bin/pwmconfig: line 181: hwmon7/pwm6: Permission denied
   hwmon7/pwm7           current value: 153
/usr/bin/pwmconfig: line 181: hwmon7/pwm7: Permission denied
   hwmon7/pwm8           current value: 153
/usr/bin/pwmconfig: line 181: hwmon7/pwm8: Permission denied

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon2/fan1_input     current speed: 0 ... skipping!
   hwmon7/fan1_input     current speed: 916 RPM
   hwmon7/fan2_input     current speed: 0 ... skipping!
   hwmon7/fan3_input     current speed: 1648 RPM
   hwmon7/fan4_input     current speed: 0 ... skipping!
   hwmon7/fan5_input     current speed: 0 ... skipping!
   hwmon7/fan6_input     current speed: 0 ... skipping!
   hwmon7/fan7_input     current speed: 0 ... skipping!
   hwmon7/fan8_input     current speed: 0 ... skipping!
   hwmon7/fan9_input     current speed: 0 ... skipping!

Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue: 

Hitting return does not increase the fan speed, and I get another error: "Manual control mode not supported"

 Testing pwm control hwmon2/pwm1 ...
/usr/bin/pwmconfig: line 218: hwmon2/pwm1_enable: Permission denied
cat: hwmon2/pwm1_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon2/pwm1: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm1 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm1_enable: Permission denied
cat: hwmon7/pwm1_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm1: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm2 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm2_enable: Permission denied
cat: hwmon7/pwm2_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm2: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm3 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm3_enable: Permission denied
cat: hwmon7/pwm3_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm3: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm4 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm4_enable: Permission denied
cat: hwmon7/pwm4_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm4: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm5 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm5_enable: Permission denied
cat: hwmon7/pwm5_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm5: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm6 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm6_enable: Permission denied
cat: hwmon7/pwm6_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm6: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm7 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm7_enable: Permission denied
cat: hwmon7/pwm7_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm7: Permission denied
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm8 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm8_enable: Permission denied
cat: hwmon7/pwm8_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: hwmon7/pwm8: Permission denied
Manual control mode not supported, skipping.
Testing is complete.
Please verify that all fans have returned to their normal speed.

The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)? 

Then, the configuration does not safe to the config file:

 Do you want to set up its configuration file now (y)? y
What should be the path to your fancontrol config file (/etc/fancontrol)? /etc/fancontrol
Loading configuration from /etc/fancontrol ...

Select fan output to configure, or other action:
1) Change INTERVAL
2) Just quit
3) Save and quit
4) Show configuration
select (1-n): 4

Common Settings:
INTERVAL=10 

If I save and quit and try to run fancontrol:

 fancontrol
Loading configuration from /etc/fancontrol ...
Some mandatory settings missing, please check your config file! 

I have already tried editing permissions and ownership for /usr/bin/pwmconfig and manually installing the nct6687d kernel module from GitHub.

My hardware:
MSI MAG B650 Tomahawk Wifi
AMD Ryzen 5 9600x
Scythe Fuma 3 (dual tower cooler with two fans daisy chained and plugged into CPU fan header)
AMD Radeon 9060XT
Antec Flux case (three front fans, one rear fan, and one bottom fan connected to a fan hub which is plugged into a PWM fan header on the motherboard)
2x16GB (32GB) RAM
2 NVMe drives

This is my sensors output:

 sensors
r8169_0_e00:00-mdio-0
Adapter: MDIO adapter
temp1:        +36.0°C  (high = +120.0°C)

spd5118-i2c-15-53
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1:        +25.5°C  (low  =  +0.0°C, high = +55.0°C)
                       (crit low =  +0.0°C, crit = +85.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +44.0°C  
Tccd1:        +29.1°C  

amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:      212.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 6000 RPM)
edge:         +28.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:     +29.0°C  (crit = +110.0°C, hyst = -273.1°C)
                       (emerg = +115.0°C)
mem:          +30.0°C  (crit = +105.0°C, hyst = -273.1°C)
                       (emerg = +110.0°C)
PPT:          17.00 W  (cap = 170.00 W)
pwm1:              0%
sclk:          38 MHz 
mclk:           1 GHz 

nvme-pci-0400
Adapter: PCI adapter
Composite:    +32.9°C  (low  = -40.1°C, high = +83.8°C)
                       (crit = +87.8°C)
Sensor 1:     +52.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +29.9°C  (low  = -273.1°C, high = +65261.8°C)

mt7921_phy0-pci-0f00
Adapter: PCI adapter
temp1:        +38.0°C  

nct6687-isa-0a20
Adapter: ISA adapter
VIN0:               1.01 V  (min =  +0.00 V, max =  +0.00 V)
VIN1:             992.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN2:               1.20 V  (min =  +0.00 V, max =  +0.00 V)
VIN3:             672.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN4:               1.10 V  (min =  +0.00 V, max =  +0.00 V)
VIN5:             208.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN6:             960.00 mV (min =  +0.00 V, max =  +0.00 V)
VIN7:               1.50 V  (min =  +0.00 V, max =  +0.00 V)
VCC:                3.33 V  (min =  +0.00 V, max =  +0.00 V)
VSB:                3.34 V  (min =  +0.00 V, max =  +0.00 V)
AVSB:               3.33 V  (min =  +0.00 V, max =  +0.00 V)
VTT:                2.03 V  (min =  +0.00 V, max =  +0.00 V)
VBAT:               3.07 V  (min =  +0.00 V, max =  +0.00 V)
fan1:              794 RPM  (min =    0 RPM)
fan2:                0 RPM  (min =    0 RPM)
fan3:             1659 RPM  (min =    0 RPM)
fan4:                0 RPM  (min =    0 RPM)
fan5:                0 RPM  (min =    0 RPM)
fan6:                0 RPM  (min =    0 RPM)
fan7:                0 RPM  (min =    0 RPM)
fan8:                0 RPM  (min =    0 RPM)
fan9:                0 RPM  (min =    0 RPM)
fan10:               0 RPM  (min =    0 RPM)
AMD TSI Addr 98h:  +44.0°C  (low  =  +0.0°C)
                            (high =  +0.0°C, hyst =  +0.0°C)
                            (crit =  +0.0°C)  sensor = AMD AMDSI
Diode 0 (curr):    +31.0°C  (low  =  +0.0°C)
                            (high =  +0.0°C, hyst =  +0.0°C)
                            (crit =  +0.0°C)  sensor = thermal diode
Thermistor 15:     +32.0°C  (low  =  +0.0°C)
                            (high =  +0.0°C, hyst =  +0.0°C)
                            (crit =  +0.0°C)  sensor = thermistor
Thermistor 1:      +28.0°C  (low  =  +0.0°C)
                            (high =  +0.0°C, hyst =  +0.0°C)
                            (crit =  +0.0°C)  sensor = thermistor
Thermistor 16:     +28.0°C  (low  =  +0.0°C)
                            (high =  +0.0°C, hyst =  +0.0°C)
                            (crit =  +0.0°C)  sensor = thermistor
Thermistor 0:      +84.0°C  (low  =  +0.0°C)
                            (high =  +0.0°C, hyst =  +0.0°C)
                            (crit =  +0.0°C)  sensor = thermistor
Thermistor 15:     +28.0°C  (low  =  +0.0°C)
                            (high = +125.0°C, hyst = +35.0°C)
                            (crit =  +0.0°C)  sensor = thermistor
pwm1:                  44%
pwm2:                 128%
pwm3:                  76%
pwm4:                  76%
pwm5:                  76%
pwm6:                  76%
pwm7:                  76%
pwm8:                  76%
intrusion0:       ALARM
beep_enable:      disabled

spd5118-i2c-15-51
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1:        +26.5°C  (low  =  +0.0°C, high = +55.0°C)
                       (crit low =  +0.0°C, crit = +85.0°C)

amdgpu-pci-1300
Adapter: PCI adapter
vddgfx:        1.25 V  
vddnb:         1.20 V  
edge:         +37.0°C  
PPT:           6.00 mW 
sclk:         600 MHz 

nvme-pci-1200
Adapter: PCI adapter
Composite:    +23.9°C  (low  = -40.1°C, high = +83.8°C)
                       (crit = +87.8°C)
Sensor 1:     +39.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +23.9°C  (low  = -273.1°C, high = +65261.8°C) 

Any advice is appreciated! I am on the linux-zen kernel if that is relevant.

Offline

#2 2026-02-25 08:01:17

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,206

Re: pwmconfig hwmon "Permission denied"

Are the PWM files even writable for root?

ls -l /sys/class/hwmon/hwmon*/pwm*

I'd expect them not to be, judging that you also use the `nct6687` kernel module which does not support it on my MSI 550 board.
Have a look at the module options here:
https://github.com/Fred78290/nct6687d?t … parameters
Your board isn't officially supported, interestingly, neither is any 650 chipset board.
Concluding that, you might have more luck blacklisting the `nct6687` module and loading the `nct6683` module instead, it supports at least one 550/650 chipset.
https://docs.kernel.org/hwmon/nct6683.html

edit: Just tried the nct6687 module on my B550 board, I can write the PWM values now, so probably ignore my nct6683 talk above ^^
edit2: Apparently both the nct6683 and nct6687 module name their hwmon directory nct6687. So try the `nct6687d-dkms-git` module from the AUR, might help.

Last edited by jl2 (2026-02-25 16:22:16)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#3 2026-02-28 05:25:36

levgold33
Member
Registered: 2026-02-22
Posts: 3

Re: pwmconfig hwmon "Permission denied"

Thanks so much for replying. I did not have write permissions for /sys/class/hwmon/hwmon*/pwm* so I fixed that. I then installed the nct6687d-dkms-git module. I am getting different results, but there are still errors. My sudo pwmconfig output:

 # pwmconfig version 3.6.2
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

Found the following devices:
   hwmon0 is nvme
   hwmon1 is nvme
   hwmon10 is nct6687
   hwmon2 is amdgpu
   hwmon3 is amdgpu
   hwmon4 is k10temp
   hwmon5 is spd5118
   hwmon6 is spd5118
   hwmon7 is nct6687
   hwmon8 is r8169_0_e00:00
   hwmon9 is mt7921_phy0

Found the following PWM controls:
   hwmon10/pwm1           current value: 87
hwmon10/pwm1 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) Y
hwmon10/pwm1_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm1.
   hwmon10/pwm2           current value: 255
hwmon10/pwm2 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm2_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm2.
   hwmon10/pwm3           current value: 153
hwmon10/pwm3 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm3_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm3.
   hwmon10/pwm4           current value: 153
hwmon10/pwm4 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm4_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm4.
   hwmon10/pwm5           current value: 153
hwmon10/pwm5 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm5_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm5.
   hwmon10/pwm6           current value: 153
hwmon10/pwm6 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm6_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm6.
   hwmon10/pwm7           current value: 153
hwmon10/pwm7 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm7_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm7.
   hwmon10/pwm8           current value: 128
hwmon10/pwm8 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon10/pwm8_enable stuck to 99
Manual control mode not supported, skipping hwmon10/pwm8.
   hwmon2/pwm1           current value: 0
/usr/bin/pwmconfig: line 181: echo: write error: Operation not supported
   hwmon7/pwm1           current value: 0
   hwmon7/pwm2           current value: 0
   hwmon7/pwm3           current value: 255
   hwmon7/pwm4           current value: 255
   hwmon7/pwm5           current value: 0
   hwmon7/pwm6           current value: 255
   hwmon7/pwm7           current value: 255
   hwmon7/pwm8           current value: 128

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon10/fan1_input     current speed: 358 RPM
   hwmon10/fan2_input     current speed: 0 ... skipping!
   hwmon10/fan3_input     current speed: 1662 RPM
   hwmon10/fan4_input     current speed: 0 ... skipping!
   hwmon10/fan5_input     current speed: 0 ... skipping!
   hwmon10/fan6_input     current speed: 0 ... skipping!
   hwmon10/fan7_input     current speed: 0 ... skipping!
   hwmon10/fan8_input     current speed: 0 ... skipping!
   hwmon2/fan1_input     current speed: 0 ... skipping!
   hwmon7/fan1_input     current speed: 358 RPM
   hwmon7/fan2_input     current speed: 0 ... skipping!
   hwmon7/fan3_input     current speed: 1662 RPM
   hwmon7/fan4_input     current speed: 0 ... skipping!
   hwmon7/fan5_input     current speed: 0 ... skipping!
   hwmon7/fan6_input     current speed: 0 ... skipping!
   hwmon7/fan7_input     current speed: 0 ... skipping!
   hwmon7/fan8_input     current speed: 0 ... skipping!
   hwmon7/fan9_input     current speed: 0 ... skipping!

Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue: 

Testing pwm control hwmon2/pwm1 ...
/usr/bin/pwmconfig: line 218: hwmon2/pwm1_enable: Permission denied
cat: hwmon2/pwm1_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
/usr/bin/pwmconfig: line 224: echo: write error: Operation not supported
Manual control mode not supported, skipping.
Testing pwm control hwmon7/pwm1 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm1_enable: Permission denied
cat: hwmon7/pwm1_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 357
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1650
    no correlation
  hwmon7/fan1_input ... speed was 358 now 359
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1666
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm1,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm2 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm2_enable: Permission denied
cat: hwmon7/pwm2_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1560
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1671
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1560
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1662
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm2,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm3 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm3_enable: Permission denied
cat: hwmon7/pwm3_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1550
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1666
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1552
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1657
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm3,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm4 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm4_enable: Permission denied
cat: hwmon7/pwm4_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1595
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1662
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1595
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1662
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm4,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm5 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm5_enable: Permission denied
cat: hwmon7/pwm5_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1550
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1662
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1550
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1662
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm5,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm6 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm6_enable: Permission denied
cat: hwmon7/pwm6_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1552
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1662
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1552
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1668
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm6,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm7 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm7_enable: Permission denied
cat: hwmon7/pwm7_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1600
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1666
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1595
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1666
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm7,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing pwm control hwmon7/pwm8 ...
/usr/bin/pwmconfig: line 218: hwmon7/pwm8_enable: Permission denied
cat: hwmon7/pwm8_enable: No such file or directory
/usr/bin/pwmconfig: line 219: [: : integer expected
  hwmon10/fan1_input ... speed was 358 now 1550
    no correlation
  hwmon10/fan3_input ... speed was 1662 now 1662
    no correlation
  hwmon7/fan1_input ... speed was 358 now 1550
    no correlation
  hwmon7/fan3_input ... speed was 1662 now 1662
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon7/pwm8,
or the connected fan has no rpm-signal connected to one of
the tested fan sensors. (Note: not all motherboards have
the pwm outputs connected to the fan connectors,
check out the hardware database on http://www.almico.com/forumindex.php)

Did you see/hear a fan stopping during the above test (n)? n

Testing is complete.
Please verify that all fans have returned to their normal speed.

The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)? y
What should be the path to your fancontrol config file (/etc/fancontrol)? 
Loading configuration from /etc/fancontrol ...

Select fan output to configure, or other action:
1) Change INTERVAL
2) Just quit
3) Save and quit
4) Show configuration
select (1-n): 4

Common Settings:
INTERVAL=10 

I did not hear or see any difference in fan speeds during the test. TLDR "Operation not supported", "no correlations detected", "pwm_enable stuck to 99", and "pwm_enable: no such file or directory" are the new issues. Definitely made progress, though!

Offline

#4 2026-03-01 10:38:40

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,206

Re: pwmconfig hwmon "Permission denied"

I then installed the nct6687d-dkms-git module

Try unloading the nct6683 module first, I see you have two nct6687 hwmon directories. I wouldn't expect using both to be a good idea.

https://github.com/Fred78290/nct6687d/issues/53 - This issue mentions it's supported, but the OP doesn't mention anything regarding PWM control working.


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#5 Today 04:55:46

levgold33
Member
Registered: 2026-02-22
Posts: 3

Re: pwmconfig hwmon "Permission denied"

Unloaded nct6683. Running pwmconfig gave me this:

 sudo pwmconfig
# pwmconfig version 3.6.2
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

Found the following devices:
   hwmon0 is nvme
   hwmon1 is nvme
   hwmon2 is amdgpu
   hwmon3 is amdgpu
   hwmon4 is k10temp
   hwmon5 is spd5118
   hwmon6 is spd5118
   hwmon8 is r8169_0_e00:00
   hwmon9 is mt7921_phy0

Found the following PWM controls:
   hwmon2/pwm1           current value: 0
/usr/bin/pwmconfig: line 181: hwmon2/pwm1: Permission denied

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon2/fan1_input     current speed: 0 ... skipping!

There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.
See doc/fan-divisors for more information. 

I'm not sure that was the right thing to do. Now it is not detecting any fan sensors and nct6687d is not listed once.

EDIT: I unloaded nct6683 then reinstalled nct6687d and it is detecting fan sensors and no longer listing nct6687 twice. Unfortunately, it is otherwise identical to the output in the last post.

Last edited by levgold33 (Today 05:02:36)

Offline

Board footer

Powered by FluxBB