All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
@ 2008-04-07  0:37 Mini Stac
  2008-04-09 17:54 ` Jean Delvare
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Mini Stac @ 2008-04-07  0:37 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 724 bytes --]

I would like to get fan control working, but when running pwmconfig, I get
the following message:

Found the following devices:
   hwmon0/device is w83627dhg

Found the following PWM controls:
   hwmon0/device/pwm1
hwmon0/device/pwm1_enable stuck to 2
Failed to set pwmhwmon0/device/pwm1 to full speed
Something's wrong, check your fans!


There is no fan control options that can be set in BIOS, however using
Speefan under Windows I was able to control the Case fan speed although CPU
fan speed is fixed.
I installed lm-sensors v2.10.4 using Synaptic. Sensors shows fan speeds for
both case and cpu. I tried reloading the driver with modprobe using
reset/init but seems these parameters are not supported for this driver.

[-- Attachment #1.2: Type: text/html, Size: 797 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
@ 2008-04-09 17:54 ` Jean Delvare
  2008-04-09 21:00 ` Mini Stac
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Jean Delvare @ 2008-04-09 17:54 UTC (permalink / raw)
  To: lm-sensors

On Mon, 7 Apr 2008 08:37:44 +0800, Mini Stac wrote:
> I would like to get fan control working, but when running pwmconfig, I get
> the following message:
> 
> Found the following devices:
>    hwmon0/device is w83627dhg
> 
> Found the following PWM controls:
>    hwmon0/device/pwm1
> hwmon0/device/pwm1_enable stuck to 2
> Failed to set pwmhwmon0/device/pwm1 to full speed
> Something's wrong, check your fans!
> 
> 
> There is no fan control options that can be set in BIOS, however using
> Speefan under Windows I was able to control the Case fan speed although CPU
> fan speed is fixed.
> I installed lm-sensors v2.10.4 using Synaptic. Sensors shows fan speeds for
> both case and cpu. I tried reloading the driver with modprobe using
> reset/init but seems these parameters are not supported for this driver.

Which kernel version are you using?

Note that pwmconfig was improved a lot in lm-sensors 2.10.6, so you
could try this and see if it helps. This is a standalone script, so you
don't have to install anything to test it, just grab the lm-sensors
2.10.6 (or 3.0.1) source package [1], unpack it and run pwmconfig in
place.

[1] http://dl.lm-sensors.org/lm-sensors/releases/

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
  2008-04-09 17:54 ` Jean Delvare
@ 2008-04-09 21:00 ` Mini Stac
  2008-04-10 11:46 ` Jean Delvare
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Mini Stac @ 2008-04-09 21:00 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 2457 bytes --]

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.


On Thu, Apr 10, 2008 at 1:54 AM, Jean Delvare <khali@linux-fr.org> wrote:

> On Mon, 7 Apr 2008 08:37:44 +0800, Mini Stac wrote:
> > I would like to get fan control working, but when running pwmconfig, I
> get
> > the following message:
> >
> > Found the following devices:
> >    hwmon0/device is w83627dhg
> >
> > Found the following PWM controls:
> >    hwmon0/device/pwm1
> > hwmon0/device/pwm1_enable stuck to 2
> > Failed to set pwmhwmon0/device/pwm1 to full speed
> > Something's wrong, check your fans!
> >
> >
> > There is no fan control options that can be set in BIOS, however using
> > Speefan under Windows I was able to control the Case fan speed although
> CPU
> > fan speed is fixed.
> > I installed lm-sensors v2.10.4 using Synaptic. Sensors shows fan speeds
> for
> > both case and cpu. I tried reloading the driver with modprobe using
> > reset/init but seems these parameters are not supported for this driver.
>
> Which kernel version are you using?
>
> Note that pwmconfig was improved a lot in lm-sensors 2.10.6, so you
> could try this and see if it helps. This is a standalone script, so you
> don't have to install anything to test it, just grab the lm-sensors
> 2.10.6 (or 3.0.1) source package [1], unpack it and run pwmconfig in
> place.
>
> [1] http://dl.lm-sensors.org/lm-sensors/releases/
>
> --
> Jean Delvare
>

[-- Attachment #1.2: Type: text/html, Size: 3143 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
  2008-04-09 17:54 ` Jean Delvare
  2008-04-09 21:00 ` Mini Stac
@ 2008-04-10 11:46 ` Jean Delvare
  2008-04-12 17:57 ` Mini Stac
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Jean Delvare @ 2008-04-10 11:46 UTC (permalink / raw)
  To: lm-sensors

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

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (2 preceding siblings ...)
  2008-04-10 11:46 ` Jean Delvare
@ 2008-04-12 17:57 ` Mini Stac
  2008-04-12 20:41 ` Jean Delvare
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Mini Stac @ 2008-04-12 17:57 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 2347 bytes --]

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@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
>

[-- Attachment #1.2: Type: text/html, Size: 3091 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (3 preceding siblings ...)
  2008-04-12 17:57 ` Mini Stac
@ 2008-04-12 20:41 ` Jean Delvare
  2008-04-14 15:17 ` Mini Stac
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Jean Delvare @ 2008-04-12 20:41 UTC (permalink / raw)
  To: lm-sensors

On Sun, 13 Apr 2008 01:57:22 +0800, Mini Stac wrote:
> 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

Beware of sudo, it doesn't play well with shell output redirection.
Please try again (both pwmconfig and the echo tests) without sudo.

> 
> 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)

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (4 preceding siblings ...)
  2008-04-12 20:41 ` Jean Delvare
@ 2008-04-14 15:17 ` Mini Stac
  2008-04-14 15:28 ` Jean Delvare
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Mini Stac @ 2008-04-14 15:17 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1570 bytes --]

Ok good progress. Using su I am able to echo in values to pwm1_enable and
successfully control fanspeed with echo to pwm1!! However I am still unable
to get pwmconfig to work, it seems it still cannot set any values (if I set
pwm1_enable to 1 before running, pwmconfig will stop the fan, but still
reports pwm1 stuck to 0, manual control mode not supported...).

As I am completely new to linux, I am not sure now if I am running pwmconfig
correctly. I downloaded the 3.1.01 package and extracted pwmconfig; renamed
it pwmconf3101 and ran it under su by typing in /path/pwmconf3101

I tried creating a fancontrol config file manually and it seems to be
working ok so far (running with sudo), I guess I can try to tune the
settings manually if I can't get pwmconfig to work.

Thanks so much for your assistance with this!

On 4/12/08, Jean Delvare <khali@linux-fr.org> wrote:
>
> On Sun, 13 Apr 2008 01:57:22 +0800, Mini Stac wrote:
> > 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
>
> Beware of sudo, it doesn't play well with shell output redirection.
> Please try again (both pwmconfig and the echo tests) without sudo.
>
> >
> > 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)
>
> --
> Jean Delvare
>

[-- Attachment #1.2: Type: text/html, Size: 2160 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (5 preceding siblings ...)
  2008-04-14 15:17 ` Mini Stac
@ 2008-04-14 15:28 ` Jean Delvare
  2008-04-14 15:51 ` Mini Stac
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Jean Delvare @ 2008-04-14 15:28 UTC (permalink / raw)
  To: lm-sensors

On Mon, 14 Apr 2008 07:17:16 -0800, Mini Stac wrote:
> Ok good progress. Using su I am able to echo in values to pwm1_enable and
> successfully control fanspeed with echo to pwm1!! However I am still unable
> to get pwmconfig to work, it seems it still cannot set any values (if I set
> pwm1_enable to 1 before running, pwmconfig will stop the fan, but still
> reports pwm1 stuck to 0, manual control mode not supported...).

OK... If you can change the values manually then it means that the
w83627ehf driver is OK (as I expected) and the problem is with the
pwmconfig script, or with bash. Same problem as ticket #2305:
http://www.lm-sensors.org/ticket/2305

Which version of bash are you running? It would be great if you could
try a different version, for example a self-built bash 2.05b, which is
known to behave properly. No need to install it, just build it locally,
and use it to run pwmconfig:
/path/bash /path/pwmconfig

> As I am completely new to linux, I am not sure now if I am running pwmconfig
> correctly. I downloaded the 3.1.01 package and extracted pwmconfig; renamed
> it pwmconf3101 and ran it under su by typing in /path/pwmconf3101

That's fine.

> I tried creating a fancontrol config file manually and it seems to be
> working ok so far (running with sudo), I guess I can try to tune the
> settings manually if I can't get pwmconfig to work.

Indeed tuning the configuration file manually is easy. IMHO it's even
easier than with pwmconfig once you know the syntax.

> Thanks so much for your assistance with this!

You're welcome.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (6 preceding siblings ...)
  2008-04-14 15:28 ` Jean Delvare
@ 2008-04-14 15:51 ` Mini Stac
  2008-04-15 12:58 ` Jean Delvare
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Mini Stac @ 2008-04-14 15:51 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1917 bytes --]

GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)

I am afraid I am not familiar with build, but if you can give me some steps
or links to a tutorial I would be happy to try it out.

On Mon, Apr 14, 2008 at 11:28 PM, Jean Delvare <khali@linux-fr.org> wrote:

> On Mon, 14 Apr 2008 07:17:16 -0800, Mini Stac wrote:
> > Ok good progress. Using su I am able to echo in values to pwm1_enable
> and
> > successfully control fanspeed with echo to pwm1!! However I am still
> unable
> > to get pwmconfig to work, it seems it still cannot set any values (if I
> set
> > pwm1_enable to 1 before running, pwmconfig will stop the fan, but still
> > reports pwm1 stuck to 0, manual control mode not supported...).
>
> OK... If you can change the values manually then it means that the
> w83627ehf driver is OK (as I expected) and the problem is with the
> pwmconfig script, or with bash. Same problem as ticket #2305:
> http://www.lm-sensors.org/ticket/2305
>
> Which version of bash are you running? It would be great if you could
> try a different version, for example a self-built bash 2.05b, which is
> known to behave properly. No need to install it, just build it locally,
> and use it to run pwmconfig:
> /path/bash /path/pwmconfig
>
> > As I am completely new to linux, I am not sure now if I am running
> pwmconfig
> > correctly. I downloaded the 3.1.01 package and extracted pwmconfig;
> renamed
> > it pwmconf3101 and ran it under su by typing in /path/pwmconf3101
>
> That's fine.
>
> > I tried creating a fancontrol config file manually and it seems to be
> > working ok so far (running with sudo), I guess I can try to tune the
> > settings manually if I can't get pwmconfig to work.
>
> Indeed tuning the configuration file manually is easy. IMHO it's even
> easier than with pwmconfig once you know the syntax.
>
> > Thanks so much for your assistance with this!
>
> You're welcome.
>
> --
> Jean Delvare
>

[-- Attachment #1.2: Type: text/html, Size: 2481 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (7 preceding siblings ...)
  2008-04-14 15:51 ` Mini Stac
@ 2008-04-15 12:58 ` Jean Delvare
  2008-04-16 12:38 ` Forest Bond
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Jean Delvare @ 2008-04-15 12:58 UTC (permalink / raw)
  To: lm-sensors

On Mon, 14 Apr 2008 23:51:03 +0800, Mini Stac wrote:
> GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)
> 
> I am afraid I am not familiar with build, but if you can give me some steps
> or links to a tutorial I would be happy to try it out.

If you're not used to building tools from source code, most packages you
need (make, gcc, etc.) are probably not installed on your system so you
won't be able to build bash yourself.

On my end, I tried building bash 3.2 including all the patches ubuntu
is using, but I was still not able to reproduce the bug you reported:
pwmconfig worked OK for me. So I just don't know what is going on.

You may want to try reporting the bug to the Ubuntu bash package
maintainer (if there's anything like that) and see if he/she has an
idea.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (8 preceding siblings ...)
  2008-04-15 12:58 ` Jean Delvare
@ 2008-04-16 12:38 ` Forest Bond
  2008-04-16 13:09 ` Jean Delvare
  2008-04-16 13:23 ` Forest Bond
  11 siblings, 0 replies; 13+ messages in thread
From: Forest Bond @ 2008-04-16 12:38 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1314 bytes --]

Hi,

On Tue, Apr 15, 2008 at 02:58:58PM +0200, Jean Delvare wrote:
> On Mon, 14 Apr 2008 23:51:03 +0800, Mini Stac wrote:
> > GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)
> > 
> > I am afraid I am not familiar with build, but if you can give me some steps
> > or links to a tutorial I would be happy to try it out.
> 
> If you're not used to building tools from source code, most packages you
> need (make, gcc, etc.) are probably not installed on your system so you
> won't be able to build bash yourself.
> 
> On my end, I tried building bash 3.2 including all the patches ubuntu
> is using, but I was still not able to reproduce the bug you reported:
> pwmconfig worked OK for me. So I just don't know what is going on.
> 
> You may want to try reporting the bug to the Ubuntu bash package
> maintainer (if there's anything like that) and see if he/she has an
> idea.

You may want to check the shebang line on the script.  If it is /bin/sh, it is
actually being run by dash, not bash, as that is /bin/sh by default on Ubuntu.
If that is the case, the shebang line should be changed to /bin/bash

You could also try running the script directly with bash like
`bash /usr/sbin/pwmconfig'.

-Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (9 preceding siblings ...)
  2008-04-16 12:38 ` Forest Bond
@ 2008-04-16 13:09 ` Jean Delvare
  2008-04-16 13:23 ` Forest Bond
  11 siblings, 0 replies; 13+ messages in thread
From: Jean Delvare @ 2008-04-16 13:09 UTC (permalink / raw)
  To: lm-sensors

On Wed, 16 Apr 2008 08:38:11 -0400, Forest Bond wrote:
> Hi,
> 
> On Tue, Apr 15, 2008 at 02:58:58PM +0200, Jean Delvare wrote:
> > On Mon, 14 Apr 2008 23:51:03 +0800, Mini Stac wrote:
> > > GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)
> > > 
> > > I am afraid I am not familiar with build, but if you can give me some steps
> > > or links to a tutorial I would be happy to try it out.
> > 
> > If you're not used to building tools from source code, most packages you
> > need (make, gcc, etc.) are probably not installed on your system so you
> > won't be able to build bash yourself.
> > 
> > On my end, I tried building bash 3.2 including all the patches ubuntu
> > is using, but I was still not able to reproduce the bug you reported:
> > pwmconfig worked OK for me. So I just don't know what is going on.
> > 
> > You may want to try reporting the bug to the Ubuntu bash package
> > maintainer (if there's anything like that) and see if he/she has an
> > idea.
> 
> You may want to check the shebang line on the script.  If it is /bin/sh, it is
> actually being run by dash, not bash, as that is /bin/sh by default on Ubuntu.
> If that is the case, the shebang line should be changed to /bin/bash
> 
> You could also try running the script directly with bash like
> `bash /usr/sbin/pwmconfig'.

$ head -n 1 /usr/sbin/pwmconfig
#!/bin/bash
$

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [lm-sensors] D201GLY2 Ubuntu 7.10 fan control
  2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
                   ` (10 preceding siblings ...)
  2008-04-16 13:09 ` Jean Delvare
@ 2008-04-16 13:23 ` Forest Bond
  11 siblings, 0 replies; 13+ messages in thread
From: Forest Bond @ 2008-04-16 13:23 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 1757 bytes --]

Hi,

On Wed, Apr 16, 2008 at 03:09:51PM +0200, Jean Delvare wrote:
> On Wed, 16 Apr 2008 08:38:11 -0400, Forest Bond wrote:
> > Hi,
> > 
> > On Tue, Apr 15, 2008 at 02:58:58PM +0200, Jean Delvare wrote:
> > > On Mon, 14 Apr 2008 23:51:03 +0800, Mini Stac wrote:
> > > > GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)
> > > > 
> > > > I am afraid I am not familiar with build, but if you can give me some steps
> > > > or links to a tutorial I would be happy to try it out.
> > > 
> > > If you're not used to building tools from source code, most packages you
> > > need (make, gcc, etc.) are probably not installed on your system so you
> > > won't be able to build bash yourself.
> > > 
> > > On my end, I tried building bash 3.2 including all the patches ubuntu
> > > is using, but I was still not able to reproduce the bug you reported:
> > > pwmconfig worked OK for me. So I just don't know what is going on.
> > > 
> > > You may want to try reporting the bug to the Ubuntu bash package
> > > maintainer (if there's anything like that) and see if he/she has an
> > > idea.
> > 
> > You may want to check the shebang line on the script.  If it is /bin/sh, it is
> > actually being run by dash, not bash, as that is /bin/sh by default on Ubuntu.
> > If that is the case, the shebang line should be changed to /bin/bash
> > 
> > You could also try running the script directly with bash like
> > `bash /usr/sbin/pwmconfig'.
> 
> $ head -n 1 /usr/sbin/pwmconfig
> #!/bin/bash
> $

Well, right, I had already checked it on my system, but I wasn't sure if there
could be some sort of variation, for some very strange reason...

-Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.pytagsfs.org

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-04-16 13:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07  0:37 [lm-sensors] D201GLY2 Ubuntu 7.10 fan control Mini Stac
2008-04-09 17:54 ` Jean Delvare
2008-04-09 21:00 ` Mini Stac
2008-04-10 11:46 ` Jean Delvare
2008-04-12 17:57 ` Mini Stac
2008-04-12 20:41 ` Jean Delvare
2008-04-14 15:17 ` Mini Stac
2008-04-14 15:28 ` Jean Delvare
2008-04-14 15:51 ` Mini Stac
2008-04-15 12:58 ` Jean Delvare
2008-04-16 12:38 ` Forest Bond
2008-04-16 13:09 ` Jean Delvare
2008-04-16 13:23 ` Forest Bond

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.