ibm acpi kernel 2.6.23
ibm acpi kernel 2.6.23
Is it me or fancontrol doesn't work with linux 2.6.23 ??? Can't find /proc/acpi/ibm/ecdump !!
Thinkpad T400
Ok, i found the problem... Acutally, this is not a problem. Thinkpad-acpi was updated, and now it does not use /proc/acpi/ibm/ecdump.
If you wan't to control your fan speed, you have to load thinkpad-acpi with fan_control=1 option.
The commands to control fan speed are now :
echo level x > /proc/acpi/ibm/fan
and x can be 0-7, auto, disengaged or fullspeed.
But now, the acpi fan control script on think wiki does not work anymore in a recent kernel. And i do not really understand how to get it working. I'm writing a program in C to control fan speed, but it's still in developpement.
So, if anyone knows how to modify the fan control script, or have a new fan control script, it will be welcomed !
If you wan't to control your fan speed, you have to load thinkpad-acpi with fan_control=1 option.
The commands to control fan speed are now :
echo level x > /proc/acpi/ibm/fan
and x can be 0-7, auto, disengaged or fullspeed.
But now, the acpi fan control script on think wiki does not work anymore in a recent kernel. And i do not really understand how to get it working. I'm writing a program in C to control fan speed, but it's still in developpement.
So, if anyone knows how to modify the fan control script, or have a new fan control script, it will be welcomed !
Thinkpad T400
-
lightweight
- Sophomore Member
- Posts: 234
- Joined: Sat Jun 30, 2007 10:56 pm
- Location: L. A.
Why not add a function in ~/.bashrc?
After sourcing ~/.bashrc or opening a new term, call with # fan x like:
Code: Select all
function fan() { echo level $* > /proc/acpi/ibm/fan; }Code: Select all
fan 7Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22
Had: x22, Debian Testing/SiD, Linux 2.6.18-22
Same problem here, but I definitely get an error while running the fan control script from the wiki -
thinkpad_acpi fan_control=1 runs fine, and I can manually control the fan from console, but the script bombs. Running OpenSUSE 10.3, kernel 2.6.22. Any ideas?
Code: Select all
tp-fancontrol.sh: line 202: syntax error near unexpected token `<'
tp-fancontrol.sh: line 202: ` read X Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Z1 Z2 Z3 JNK < <(echo "$THERMAL") 'The script worked fine on 2.6.22 with option experimental=1 and fan_control=1 for thinkpad_acpi.
Does not work with 2.6.23 but i wrote a C program that control the fan... I'm testing it right now... It seems to work but it still not totally finished...
Well... no, it's still not working !
Does not work with 2.6.23 but i wrote a C program that control the fan... I'm testing it right now... It seems to work but it still not totally finished...
Well... no, it's still not working !
Thinkpad T400
What was wrong ? have you tried it on 2.6.23 ?
My program is not a simple script, it's a program written in C that will control the fan acording ton a config file similar to tpfancontrol in windows. I want to develop a "Thinkpad Control Center" for Linux.
It would control the fan, battery tresholds using tp smapi, ati powerplay and other optimisations options.
For now, only the fancontrol seems to be working. It uses the same algorithm as TpFanControl in windows. If one temperature is above the limit, the fan is enabled at a defined speed, and it slows down only when the temperatures get back to a smaller temperature limit.
At the moment, the temperatures limits are defined directly in the source code but in a near future, i plan to define them in a config file.
I'll keep you posted...
My program is not a simple script, it's a program written in C that will control the fan acording ton a config file similar to tpfancontrol in windows. I want to develop a "Thinkpad Control Center" for Linux.
It would control the fan, battery tresholds using tp smapi, ati powerplay and other optimisations options.
For now, only the fancontrol seems to be working. It uses the same algorithm as TpFanControl in windows. If one temperature is above the limit, the fan is enabled at a defined speed, and it slows down only when the temperatures get back to a smaller temperature limit.
At the moment, the temperatures limits are defined directly in the source code but in a near future, i plan to define them in a config file.
I'll keep you posted...
Thinkpad T400
-
lightweight
- Sophomore Member
- Posts: 234
- Joined: Sat Jun 30, 2007 10:56 pm
- Location: L. A.
amwus,
One can create a function for one's bash shell to execute simple commands, such as using the command "fan" to execute the echo statement in the example above. One can define functions in their user's .bashrc to load each time a terminal is opened instead of writing a quick script. For example, I use an alias called "maxbatt" to turn off USB, syslogd, and unload a bunch of modules when I am low on battery.
Not posting a links to be an [censored], but because they explain better than I can: http://www.faqs.org/docs/Linux-HOWTO/Ba ... TO.html#s8
http://www.novell.com/coolsolutions/tools/17142.html
Post your program? Maybe we can help. Cool project.
One can create a function for one's bash shell to execute simple commands, such as using the command "fan" to execute the echo statement in the example above. One can define functions in their user's .bashrc to load each time a terminal is opened instead of writing a quick script. For example, I use an alias called "maxbatt" to turn off USB, syslogd, and unload a bunch of modules when I am low on battery.
Not posting a links to be an [censored], but because they explain better than I can: http://www.faqs.org/docs/Linux-HOWTO/Ba ... TO.html#s8
http://www.novell.com/coolsolutions/tools/17142.html
Post your program? Maybe we can help. Cool project.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22
Had: x22, Debian Testing/SiD, Linux 2.6.18-22
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Fan trouble - 3000 N200 + Type 0769 - ESG ACPI Script for NHC > NOTEBOOK HARDWARE CONTROL
by MatMor » Sun Mar 12, 2017 12:12 pm » in 3000 Series Laptops - 0 Replies
- 2616 Views
-
Last post by MatMor
Sun Mar 12, 2017 12:12 pm
-
-
-
FOR SALE: IBM CL57 (8554) - Parts or Whole
by grit2112 » Wed Jan 04, 2017 9:26 am » in Marketplace - Forum Members only - 2 Replies
- 255 Views
-
Last post by grit2112
Wed Jan 04, 2017 10:19 am
-
-
-
Visual restoration of the IBM Thinkpad 710T
by turbinee » Sat Jan 07, 2017 10:55 pm » in Pictures of your ThinkPad & desk setup - 13 Replies
- 1191 Views
-
Last post by turbinee
Sun Jan 22, 2017 5:33 am
-
-
-
IBM x31 new parts?
by kon10 » Mon Feb 13, 2017 1:48 pm » in ThinkPad X2/X3/X4x Series incl. X41 Tablet - 1 Replies
- 342 Views
-
Last post by RealBlackStuff
Mon Feb 13, 2017 2:07 pm
-
Who is online
Users browsing this forum: axur-delmeria and 1 guest




