Hi Alexander, > I'm not in the kernel mailing list and I assume that you are the > w83627ehf maintainer. I am one of them. I have CC'ed your email to the lm-sensors mailing list. Can you kindly include the CC in your future replies? That is the correct mailing list to post this discussion on. > I have a Asus P5B Deluxe running a fresh Ubuntu 7.10 with kernel > 2.6.22-14-generic and all latest software. lm-sensors is at version > 2.10.4, pwmconfig at v0.8. > > I run sensors-detect and can read all values without any problem. > sensors: > > ---------------------------------------------------------------- > w83627dhg-isa-0290 > Adapter: ISA adapter > VCore: +1.57 V (min = +0.00 V, max = +1.74 V) > in1: +12.14 V (min = +0.00 V, max = +0.00 V) ALARM > AVCC: +3.33 V (min = +0.26 V, max = +2.58 V) ALARM > 3VCC: +3.33 V (min = +0.51 V, max = +1.41 V) ALARM > in4: +1.34 V (min = +0.00 V, max = +0.10 V) ALARM > in5: +1.59 V (min = +0.13 V, max = +0.13 V) ALARM > in6: +4.15 V (min = +0.61 V, max = +0.00 V) ALARM > VSB: +3.31 V (min = +0.00 V, max = +0.13 V) ALARM > VBAT: +1.28 V (min = +0.30 V, max = +2.37 V) > Case Fan: 0 RPM (min = 10546 RPM, div = 128) ALARM > CPU Fan: 0 RPM (min = 104 RPM, div = 128) ALARM > Aux Fan: 1318 RPM (min = 10546 RPM, div = 8) ALARM > fan4: 0 RPM (min = 10546 RPM, div = 128) ALARM > fan5: 2934 RPM (min = 3515 RPM, div = 2) ALARM > Sys Temp: +38?C (high = +2?C, hyst = +68?C) > CPU Temp: +33.5?C (high = +80.0?C, hyst = +75.0?C) > AUX Temp: +127.0?C (high = +80.0?C, hyst = +75.0?C) ALARM > > coretemp-isa-0000 > Adapter: ISA adapter > Core 0: +30?C (high = +85?C) > > coretemp-isa-0001 > Adapter: ISA adapter > Core 1: +31?C (high = +85?C) > --------------------------------------------------------------------------- > > But if I run pwmconfig, I get the following: > > ---------------------------------------------------------------------------- > 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/device is w83627dhg > hwmon1/device is coretemp > hwmon2/device is coretemp > > Found the following PWM controls: > hwmon0/device/pwm1 > hwmon0/device/pwm1_enable stuck to 1 > Failed to set pwmhwmon0/device/pwm1 to full speed > Something's wrong, check your fans! > -------------------------------------------------------------------------- > > Direct sys access: > > ------------------------------------------------------------------------- > akiel at alex:~$ ll /sys/bus/i2c/devices/9191-0290/pwm1* > -rw-r--r-- 1 root root 0 2007-11-14 > 17:00 /sys/bus/i2c/devices/9191-0290/pwm1 > -rw-r--r-- 1 root root 0 2007-11-14 > 17:00 /sys/bus/i2c/devices/9191-0290/pwm1_enable > -rw-r--r-- 1 root root 4096 2007-11-14 > 17:03 /sys/bus/i2c/devices/9191-0290/pwm1_min_output > -rw-r--r-- 1 root root 4096 2007-11-14 > 17:03 /sys/bus/i2c/devices/9191-0290/pwm1_mode > -rw-r--r-- 1 root root 4096 2007-11-14 > 17:03 /sys/bus/i2c/devices/9191-0290/pwm1_stop_time > -rw-r--r-- 1 root root 4096 2007-11-14 > 17:03 /sys/bus/i2c/devices/9191-0290/pwm1_target > -rw-r--r-- 1 root root 4096 2007-11-14 > 17:03 /sys/bus/i2c/devices/9191-0290/pwm1_tolerance > akiel at alex:~$ cat /sys/bus/i2c/devices/9191-0290/pwm1* > 0 > 1 > 1 > 0 > 24000 > 0 > 0 > akiel at alex:~$ sudo echo 100 > /sys/bus/i2c/devices/9191-0290/pwm1 > bash: /sys/bus/i2c/devices/9191-0290/pwm1: Permission denied > --------------------------------------------------------------------- > > Asus Q-Fan Control was off. I switched it on but does not make any > difference. > > Best Regards > Alexander Kiel > http://alexk.homeip.net I recall seeing this problem before. The list archives have a similar problem for an MSI 975x board: http://lists.lm-sensors.org/pipermail/lm-sensors/2007-April/019545.html http://lists.lm-sensors.org/pipermail/lm-sensors/2007-April/019566.html For that board, the solution was that the Intel ICH7 chip controlled the fan using a GPIO pin. But he wasn't getting a "Permission denied" error. Can you please double-check that you have permission to write to the files? I'm not going to quiz you on your setup (SELinux? or a problem in /etc/sudoers?) -- but I'll take your word for it that it's a driver error and not a sysfs permissions error. I'm going to check through the driver code and look for a possible reason. I'll get back to you. Cheers, David P.S. Don't forget to CC the lm-sensors list, as I have done.