no PWM output with pwmconfig
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Niels,
Quoted 8 lines · Niels
I'm having trouble with my pwmconfig.
Code:
Found the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/pwm2
hwmon2/device/pwm3
There are no usable PWM outputs.
Which version of lm-sensors (or pwmconfig) is this?
I would like to see the full output of pwmconfig and not just the above summary.
Quoted 1 line
Though my sensors cleary reads out the fans
Many boards can monitor the fans but not control them. What board is it?
Quoted 31 lines
Code:
nelis@nelis-desktop:~$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +41.0°C (crit = +70.0°C) k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +36.0°C Core1 Temp: -49.0°C f71862fg-isa-0220 Adapter: ISA adapter in0: +1.70 V in1: +2.04 V in2: +1.20 V in3: +2.04 V in4: +1.34 V in5: +1.18 V in6: +1.18 V in7: +1.68 V in8: +1.66 V fan1: 2538 RPM fan2: 2222 RPM fan3: 0 RPM ALARM temp1: +41.0°C (high = +85.0°C, hyst = +81.0°C) (crit = +70.0°C, hyst = +66.0°C) sensor = transistor temp2: +89.0°C (high = +85.0°C, hyst = +81.0°C) ALARM (crit = +100.0°C, hyst = +96.0°C) sensor = transistor temp3: +44.0°C (high = +254.0°C, hyst = +252.0°C) (crit = +254.0°C, hyst = +252.0°C) sensor = transistor
Quoted 1 line
Anyone got an idea on how to deal with this ?
I would be interested in the output of the following commands:
grep -H . /sys/class/hwmon/hwmon*/device/name
grep -H . /sys/class/hwmon/hwmon*/device/pwm*
ls -l /sys/class/hwmon/hwmon*/device/pwm*
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 14 lines · Jean Delvare
Hi Niels,
Quoted 9 lines · Niels
I'm having trouble with my pwmconfig.
Code:
Found the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/pwm2
hwmon2/device/pwm3
There are no usable PWM outputs.
Quoted 6 lines
Which version of lm-sensors (or pwmconfig) is this?
I would like to see the full output of pwmconfig and not just the above summary.
nelis@nelis-desktop:~$ sensors -v sensors version 3.1.1+SVN with libsensors version 3.1.1+SVN
nelis@nelis-desktop:~$ pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fg
Found the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/pwm2
hwmon2/device/pwm3
There are no usable PWM outputs.
Quoted 6 lines
Quoted 2 lines
Though my sensors cleary reads out the fans
Many boards can monitor the fans but not control them. What board is it?
Jetway NC81-LF http://www.jetwaycomputer.com/NC81.html
Quoted 30 lines
Quoted 30 lines
Code:
nelis@nelis-desktop:~$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +41.0°C (crit = +70.0°C) k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +36.0°C Core1 Temp: -49.0°C f71862fg-isa-0220 Adapter: ISA adapter in0: +1.70 V in1: +2.04 V in2: +1.20 V in3: +2.04 V in4: +1.34 V in5: +1.18 V in6: +1.18 V in7: +1.68 V in8: +1.66 V fan1: 2538 RPM fan2: 2222 RPM fan3: 0 RPM ALARM temp1: +41.0°C (high = +85.0°C, hyst = +81.0°C) (crit = +70.0°C, hyst = +66.0°C) sensor = transistor temp2: +89.0°C (high = +85.0°C, hyst = +81.0°C) ALARM (crit = +100.0°C, hyst = +96.0°C) sensor = transistor temp3: +44.0°C (high = +254.0°C, hyst = +252.0°C) (crit = +254.0°C, hyst = +252.0°C) sensor = transistor
Quoted 10 lines
Quoted 2 lines
Anyone got an idea on how to deal with this ?
I would be interested in the output of the following commands:
grep -H .
/sys/class/hwmon/hwmon*/device/name
grep -H ./sys/class/hwmon/hwmon*/device/pwm*
ls -l/sys/class/hwmon/hwmon*/device/pwm*
nelis@nelis-desktop:~$ grep -H . /sys/class/hwmon/hwmon*/device/name /sys/class/hwmon/hwmon1/device/name:k8temp /sys/class/hwmon/hwmon2/device/name:f71862fg
nelis@nelis-desktop:~$ grep -H . /sys/class/hwmon/hwmon*/device/pwm* /sys/class/hwmon/hwmon2/device/pwm1:81 /sys/class/hwmon/hwmon2/device/pwm1_auto_channels_temp:1 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_pwm:90 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_pwm:80 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp:35000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp_hyst:31000 /sys/class/hwmon/hwmon2/device/pwm1_enable:2 /sys/class/hwmon/hwmon2/device/pwm1_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm2:255 /sys/class/hwmon/hwmon2/device/pwm2_auto_channels_temp:2 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp_hyst:26000 /sys/class/hwmon/hwmon2/device/pwm2_enable:2 /sys/class/hwmon/hwmon2/device/pwm2_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm3:155 /sys/class/hwmon/hwmon2/device/pwm3_auto_channels_temp:4 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp_hyst:58000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp_hyst:28000 /sys/class/hwmon/hwmon2/device/pwm3_enable:2 /sys/class/hwmon/hwmon2/device/pwm3_interpolate:1
nelis@nelis-desktop:~$ ls -l /sys/class/hwmon/hwmon*/device/pwm* -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1 -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_channels_temp -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_pwm -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp_hyst -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_pwm -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp -r--r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp_hyst -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_enable -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm1_interpolate -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2 -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_channels_temp -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_pwm -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp_hyst -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_pwm -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp -r--r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp_hyst -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_enable -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm2_interpolate -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3 -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_channels_temp -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_pwm -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp_hyst -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_pwm -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp -r--r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp_hyst -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_enable -rw-r--r-- 1 root root 4096 2009-07-03 15:44 /sys/class/hwmon/hwmon2/device/pwm3_interpolate
I hope this helps,
Thanks for looking in to this.
Niels
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Niels,
Quoted 28 lines · Niels
Quoted 4 lines · Jean Delvare
Which version of lm-sensors (or pwmconfig) is this?
I would like to see the full output of pwmconfig and not just the above summary.
nelis@nelis-desktop:~$ sensors -v sensors version 3.1.1+SVN with libsensors version 3.1.1+SVNnelis@nelis-desktop:~$ pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fg
Quoted 5 lines
Found the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/pwm2
hwmon2/device/pwm3
There are no usable PWM outputs.
Hmm, you are root, aren't you?
Quoted 23 lines
nelis@nelis-desktop:~$ grep -H . /sys/class/hwmon/hwmon*/device/pwm* /sys/class/hwmon/hwmon2/device/pwm1:81 /sys/class/hwmon/hwmon2/device/pwm1_auto_channels_temp:1 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_pwm:90 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_pwm:80 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp:35000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp_hyst:31000 /sys/class/hwmon/hwmon2/device/pwm1_enable:2 /sys/class/hwmon/hwmon2/device/pwm1_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm2:255 /sys/class/hwmon/hwmon2/device/pwm2_auto_channels_temp:2 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp_hyst:26000 /sys/class/hwmon/hwmon2/device/pwm2_enable:2 /sys/class/hwmon/hwmon2/device/pwm2_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm3:155 /sys/class/hwmon/hwmon2/device/pwm3_auto_channels_temp:4
Quoted 8 lines
/sys/class/hwmon/hwmon2/device/pwm3_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp_hyst:58000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp_hyst:28000 /sys/class/hwmon/hwmon2/device/pwm3_enable:2 /sys/class/hwmon/hwmon2/device/pwm3_interpolate:1
Note that all 3 fan controllers are in automatic mode (pwm#_enable > 1), which is less CPU-intensive than manual mode and usually gives better results. So you might now want to use pwmconfig and fancontrol anyway, but rather tweak the automatic mode settings by writing to the pwm#_auto_point# files above.
I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 2 lines · Jean Delvare
Hi Niels,
<snip>
Quoted 38 lines
Quoted 23 lines
nelis@nelis-desktop:~$ grep -H . /sys/class/hwmon/hwmon*/device/pwm* /sys/class/hwmon/hwmon2/device/pwm1:81 /sys/class/hwmon/hwmon2/device/pwm1_auto_channels_temp:1 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_pwm:90 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_pwm:80 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp:35000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp_hyst:31000 /sys/class/hwmon/hwmon2/device/pwm1_enable:2 /sys/class/hwmon/hwmon2/device/pwm1_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm2:255 /sys/class/hwmon/hwmon2/device/pwm2_auto_channels_temp:2 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp_hyst:26000 /sys/class/hwmon/hwmon2/device/pwm2_enable:2 /sys/class/hwmon/hwmon2/device/pwm2_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm3:155 /sys/class/hwmon/hwmon2/device/pwm3_auto_channels_temp:4Quoted 8 lines
/sys/class/hwmon/hwmon2/device/pwm3_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp_hyst:58000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp_hyst:28000 /sys/class/hwmon/hwmon2/device/pwm3_enable:2 /sys/class/hwmon/hwmon2/device/pwm3_interpolate:1Note that all 3 fan controllers are in automatic mode (pwm#_enable> 1), which is less CPU-intensive than manual mode and usually gives better results. So you might now want to use pwmconfig and fancontrol anyway, but rather tweak the automatic mode settings by writing to the pwm#_auto_point# files above.
Quoted 4 lines
I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
Yes, erm well the F718xx family has them in reverse order in hardware and I kept the hardware order for sysfs files. A bit strange I must admit.
In hindsight it might have been better to reverse the order in sysfs for consistency with other drivers.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 10 lines · Hans de Goede
Quoted 3 lines · Jean Delvare
I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
Yes, erm well the F718xx family has them in reverse order in hardware and I kept the hardware order for sysfs files. A bit strange I must admit.
In hindsight it might have been better to reverse the order in sysfs for consistency with other drivers.
I agree. It shouldn't be too difficult, and even though we can't easily get a fully consistent interface for automatic speed mode due to each chip being different in its own creative way, being as consistent as we can makes things easier for the users.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 33 lines · Jean Delvare
Hi Niels,
Quoted 29 lines · Niels
Quoted 5 lines · Jean Delvare
Which version of lm-sensors (or pwmconfig) is this?
I would like to see the full output of pwmconfig and not just the above summary.
nelis@nelis-desktop:~$ sensors -v sensors version 3.1.1+SVN with libsensors version 3.1.1+SVNnelis@nelis-desktop:~$ pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fg
Quoted 10 lines
Quoted 6 lines
Found the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/pwm2
hwmon2/device/pwm3
There are no usable PWM outputs.Hmm, you are root, aren't you?
nelis@nelis-desktop:/$ sudo pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fg
Found the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/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)
hwmon2/device/pwm2
hwmon2/device/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)
hwmon2/device/pwm3
hwmon2/device/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) There are no usable PWM outputs.
Quoted 39 lines
Quoted 23 lines
nelis@nelis-desktop:~$ grep -H . /sys/class/hwmon/hwmon*/device/pwm* /sys/class/hwmon/hwmon2/device/pwm1:81 /sys/class/hwmon/hwmon2/device/pwm1_auto_channels_temp:1 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_pwm:90 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_pwm:80 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp:35000 /sys/class/hwmon/hwmon2/device/pwm1_auto_point2_temp_hyst:31000 /sys/class/hwmon/hwmon2/device/pwm1_enable:2 /sys/class/hwmon/hwmon2/device/pwm1_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm2:255 /sys/class/hwmon/hwmon2/device/pwm2_auto_channels_temp:2 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point1_temp_hyst:56000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm2_auto_point2_temp_hyst:26000 /sys/class/hwmon/hwmon2/device/pwm2_enable:2 /sys/class/hwmon/hwmon2/device/pwm2_interpolate:1 /sys/class/hwmon/hwmon2/device/pwm3:155 /sys/class/hwmon/hwmon2/device/pwm3_auto_channels_temp:4Quoted 9 lines
/sys/class/hwmon/hwmon2/device/pwm3_auto_point1_pwm:217 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp:60000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point1_temp_hyst:58000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_pwm:128 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp:30000 /sys/class/hwmon/hwmon2/device/pwm3_auto_point2_temp_hyst:28000 /sys/class/hwmon/hwmon2/device/pwm3_enable:2 /sys/class/hwmon/hwmon2/device/pwm3_interpolate:1Note that all 3 fan controllers are in automatic mode (pwm#_enable > 1), which is less CPU-intensive than manual mode and usually gives better results. So you might now want to use pwmconfig and fancontrol anyway, but rather tweak the automatic mode settings by writing to the pwm#_auto_point# files above.
Quoted 5 lines
I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
I am unable to write to the files.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "0" > pwm1_enable -bash: pwm1_enable: Permission denied
So i guess temp3 is cpu temp and temp1 is motherboard temp. But can't change that either.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "3" > pwm1_auto_channels_temp -bash: pwm1_auto_channels_temp: Permission denied
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 32 lines · Niels
Quoted 3 lines · Jean Delvare
Quoted 1 line
There are no usable PWM outputs.
Hmm, you are root, aren't you?
nelis@nelis-desktop:/$ sudo pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fgFound the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/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)
hwmon2/device/pwm2
hwmon2/device/pwm2 is currently setup for automatic speed control. In general, automatic mode is preferred over manual mode, as
Quoted 8 lines
it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n)
hwmon2/device/pwm3
hwmon2/device/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) There are no usable PWM outputs.
OK, I'll change pwmconfig to complain if run as non-root.
Quoted 11 lines
Quoted 10 lines
(...)
Note that all 3 fan controllers are in automatic mode (pwm#_enable > 1), which is less CPU-intensive than manual mode and usually gives better results. So you might now want to use pwmconfig and fancontrol anyway, but rather tweak the automatic mode settings by writing to the pwm#_auto_point# files above.I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
Quoted 5 lines
I am unable to write to the files.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "0" > pwm1_enable -bash: pwm1_enable: Permission denied
Never mix sudo and shell redirection, it doesn't work. Redirection "happens first" so you try to write as non-root, and this isn't allowed.
Quoted 1 line
So i guess temp3 is cpu temp and temp1 is motherboard temp.
Or the other way around, it's hard to tell. Maybe looking at what the BIOS displays will provide valuable hints. I certainly hope temp2 isn't real...
Quoted 5 lines
But can't change that either.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "3" > pwm1_auto_channels_temp -bash: pwm1_auto_channels_temp: Permission denied
Same problem as above. Use su instead of sudo. Or maybe sudo sh -c ...
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 78 lines · Jean Delvare
Quoted 33 lines · Niels
Quoted 4 lines · Jean Delvare
Quoted 2 lines
There are no usable PWM outputs.
Hmm, you are root, aren't you?
nelis@nelis-desktop:/$ sudo pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fgFound the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/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)
hwmon2/device/pwm2
hwmon2/device/pwm2 is currently setup for automatic speed control. In general, automatic mode is preferred over manual mode, asQuoted 9 lines
it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n)
hwmon2/device/pwm3
hwmon2/device/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) There are no usable PWM outputs.OK, I'll change pwmconfig to complain if run as non-root.
Quoted 11 lines
Quoted 11 lines
(...)
Note that all 3 fan controllers are in automatic mode (pwm#_enable > 1), which is less CPU-intensive than manual mode and usually gives better results. So you might now want to use pwmconfig and fancontrol anyway, but rather tweak the automatic mode settings by writing to the pwm#_auto_point# files above.I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
Quoted 6 lines
I am unable to write to the files.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "0" > pwm1_enable -bash: pwm1_enable: Permission deniedNever mix sudo and shell redirection, it doesn't work. Redirection "happens first" so you try to write as non-root, and this isn't allowed.
Quoted 2 lines
So i guess temp3 is cpu temp and temp1 is motherboard temp.
Or the other way around, it's hard to tell. Maybe looking at what the BIOS displays will provide valuable hints. I certainly hope temp2 isn't real...
Quoted 10 lines
Quoted 6 lines
But can't change that either.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "3" > pwm1_auto_channels_temp -bash: pwm1_auto_channels_temp: Permission deniedSame problem as above. Use su instead of sudo. Or maybe sudo sh -c ...
root@nelis-desktop:/sys/class/hwmon/hwmon2/device# echo "0" > pwm1_enable bash: echo: write error: Invalid argument root@nelis-desktop:/sys/class/hwmon/hwmon2/device# echo "3" > pwm1_auto_channels_temp bash: echo: write error: Invalid argument
Trading permission for invalid arguments. Sounds like politics.
Thanks again for helping me out.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 70 lines · Niels
Quoted 69 lines · Jean Delvare
Quoted 30 lines · Niels
Quoted 2 lines · Jean Delvare
Quoted 1 line
There are no usable PWM outputs.
Hmm, you are root, aren't you?
nelis@nelis-desktop:/$ sudo pwmconfig # pwmconfig revision 5630 (2009-01-29) 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 acpitz
hwmon1/device is k8temp
hwmon2/device is f71862fgFound the following PWM controls:
hwmon2/device/pwm1
hwmon2/device/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) hwmon2/device/pwm2
hwmon2/device/pwm2 is currently setup for automatic speed control. In general, automatic mode is preferred over manual mode, asQuoted 8 lines
it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n) hwmon2/device/pwm3
hwmon2/device/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) There are no usable PWM outputs.OK, I'll change pwmconfig to complain if run as non-root.
Quoted 7 lines
Quoted 7 lines
(...)
Note that all 3 fan controllers are in automatic mode (pwm#_enable > 1), which is less CPU-intensive than manual mode and usually gives better results. So you might now want to use pwmconfig and fancontrol anyway, but rather tweak the automatic mode settings by writing to the pwm#_auto_point# files above.Quoted 8 lines
Quoted 3 lines
I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
I am unable to write to the files.
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "0" > pwm1_enable -bash: pwm1_enable: Permission deniedNever mix sudo and shell redirection, it doesn't work. Redirection "happens first" so you try to write as non-root, and this isn't allowed.
Quoted 1 line
So i guess temp3 is cpu temp and temp1 is motherboard temp.
Or the other way around, it's hard to tell. Maybe looking at what the BIOS displays will provide valuable hints. I certainly hope temp2 isn't real...
Quoted 2 lines
But can't change that either.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
nelis@nelis-desktop:/sys/class/hwmon/hwmon2/device$ sudo echo "3" > pwm1_auto_channels_temp -bash: pwm1_auto_channels_temp: Permission deniedSame problem as above. Use su instead of sudo. Or maybe sudo sh -c ...
root@nelis-desktop:/sys/class/hwmon/hwmon2/device# echo "0" > pwm1_enable bash: echo: write error: Invalid argument
Take a look at Documents/hwmon/f71882fg for which values are allowed, with your chip only 1 (manual mode) and 2 (auto mode) are supported, 0 = pwm disabled (fans full speed) is not supported.
Quoted 4 lines
root@nelis-desktop:/sys/class/hwmon/hwmon2/device# echo "3" > pwm1_auto_channels_temp bash: echo: write error: Invalid argument
The pwm#_auto_channels_temp attributes are a bitmap, you are now asking for both temp1 and temp2 to influence pwm1, the chip cannot handle this, you need to choose one.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 8 lines · Jean Delvare
Quoted 7 lines · Hans de Goede
Quoted 3 lines · Jean Delvare
I admit the current configuration is a little odd. Usually point2 has pwm and temperature values above point1, not below. I am not familiar with the Fintek F71862FG and its driver though. Hans?
Yes, erm well the F718xx family has them in reverse order in hardware and I kept the hardware order for sysfs files. A bit strange I must admit.
Quoted 8 lines
Quoted 2 lines
In hindsight it might have been better to reverse the order in sysfs for consistency with other drivers.
I agree. It shouldn't be too difficult, and even though we can't easily get a fully consistent interface for automatic speed mode due to each chip being different in its own creative way, being as consistent as we can makes things easier for the users.
Yes, but do we want to change this now, after the fact, that would basically come down to ABI breakage.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 10 lines · Hans de Goede
Hi,
Quoted 7 lines · Jean Delvare
Quoted 5 lines · Hans de Goede
Yes, erm well the F718xx family has them in reverse order in hardware and I kept the hardware order for sysfs files. A bit strange I must admit.
In hindsight it might have been better to reverse the order in sysfs for consistency with other drivers.
Quoted 7 lines
Quoted 4 lines
I agree. It shouldn't be too difficult, and even though we can't easily get a fully consistent interface for automatic speed mode due to each chip being different in its own creative way, being as consistent as we can makes things easier for the users.
Yes, but do we want to change this now, after the fact, that would basically come down to ABI breakage.
You can see it that way for sure. Or you can see it as fixing an interface which was improperly implemented originally. While our documentation doesn't explicitly say how trip points are ordered, the "incremental" approach is the most natural one and the one implemented by all other drivers too.
I don't care too much myself, so it's really up to you. You may also want to contribute a patch to the documentation to make things clearer.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors