[lm-sensors] D201GLY2 Ubuntu 7.10 fan control

Mini Stac mmstac at gmail.com
Sat Apr 12 19:57:22 CEST 2008


pwmconfig was being run with sudo.
echo to pwm1_enable and pwm2_enable results in:
      bash: /sys/class/hwmon/hwmon0/device/pwm1_enable: Permission denied
pwm1_enable is set at 2, pwm2_enable 1

I guess this means its a driver issue? Sensors detect identifies:
    Driver `w83627ehf' (should be inserted):
      Detects correctly:
      * ISA bus, address 0x290
        Chip `Winbond W83627DHG Super IO Sensors' (confidence: 9)

On Thu, Apr 10, 2008 at 7:46 PM, Jean Delvare <khali at linux-fr.org> wrote:

> On Thu, 10 Apr 2008 05:00:22 +0800, Mini Stac wrote:
> > Kernel version is 2.6.22-14
> >
> > The 3.0.1 script gets further but comes up with the same result (full
> output
> > below):
> > hwmon0/device/pwm1_enable stuck to 2
> >
> > I know that the fan speed can be controlled manually under Windows.
> > Thanks if there is anything else to try.
> >
> >
> > Found the following devices:
> >    hwmon0/device is w83627dhg
> >
> > Found the following PWM controls:
> >    hwmon0/device/pwm1
> > hwmon0/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) y
> > 0
> > 1
> > hwmon0/device/pwm1_enable stuck to 2
> > Manual control mode not supported, skipping hwmon0/device/pwm1.
> >    hwmon0/device/pwm2
> > hwmon0/device/pwm2 stuck to 0
> > Manual control mode not supported, skipping hwmon0/device/pwm2.
> >    hwmon0/device/pwm3
> > hwmon0/device/pwm3 stuck to 0
> > Manual control mode not supported, skipping hwmon0/device/pwm3.
> >    hwmon0/device/pwm4
> > hwmon0/device/pwm4 stuck to 0
> > Manual control mode not supported, skipping hwmon0/device/pwm4.
> > There are no usable PWM outputs.
>
> Just to make sure: you're running pwmconfig as root, aren't you? Only
> root can change the chip's settings.
>
> Can you try setting the PWM output to manual mode manually?
>
> echo 1 > /sys/class/hwmon/hwmon0/device/pwm1_enable
> cat /sys/class/hwmon/hwmon0/device/pwm1_enable
> echo 1 > /sys/class/hwmon/hwmon0/device/pwm2_enable
> cat /sys/class/hwmon/hwmon0/device/pwm2_enable
>
> If it works then the problem is in the pwmconfig script (or bash). If
> it doesn't then the problem would be in the w83627ehf driver.
>
> --
> Jean Delvare
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080413/b3bf4919/attachment.html>


More information about the lm-sensors mailing list