Public bug reported: It appears according to this thread:-
http://thread.gmane.org/gmane.linux.drivers.sensors/15467/focus=15486 That there is a specific problem with the Ubuntu Bash package in Gutsy which breaks PWMconfig certainly on my ASUS P5B motherboard and the person posting in the thread I pasted above. Specifically it mentions the problem:- > root <at> alex:~# echo 0 > /sys/class/hwmon/hwmon0/device/pwm1_enable ; echo > 255 > /tmp/pwm1 ; cat /tmp/pwm1 > bash: echo: write error: Invalid argument > 0 > 255 > root <at> alex:~# cat /tmp/pwm1 > 0 > 255 > -------------------------------------------------------------------------- > > As you can see it prints the error message, the 0 and the 255. And you > can see both go into /temp/pwm1. > Bummer. That's your shell keeping the initial output (which it failed to write to pwm1_enable) in some internal buffer and writing it to pwm1 later. I'd say shell bug, and a big one at that. And security-related, too. I tested on my openSuse 10.3 laptop which has bash version 3.2.25(1) as your system does, and couldn't reproduce the problem there. Thus I would suspect a Ubuntu-specific patch. This causes PWMconfig to produce the following output on P5B motherboards when you run it:- > 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! ** Affects: bash (Ubuntu) Importance: Undecided Status: New -- Bash causes problem with PWMconfig https://bugs.launchpad.net/bugs/177779 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs