NHC2.0 and extended fan control for x-Series

X2/X3/X4x series specific matters only
Post Reply
Message
Author
Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

NHC2.0 and extended fan control for x-Series

#1 Post by Spawn123456 » Tue Nov 14, 2006 6:50 pm

Hi,

I've tried to write a script for the extended fan control of the x31 and x40 series (They can set the fan rpm directly). But I don't have such a notebook.

I've uploaded the file here (it's the ibm for x series.cs). So if somebody brave could try it. You need to change the ibm.xml (see the NHC homepage how to do this).

After this make sure you have installed the core2 duo patch.
Then start NHC and activate ACPI make sure that ACPI is running, if you get a compiler error post it.

Up to now there shouldn't be any ACPI error (if not enable debugging, and post the log)

At first go to the "Extended Fan control standart values". Please post them here to find out the right standard values.

If everything went fine, go in the Extended Fan Control section and see what happens if you change one of the three values. If there's an error, post it also, if not, then everything *should* be fine.

If everything fails you need to reboot your system. This should set the fan back to normal.

Btw: Up to now, not all temperature-sensors are working, and the actual fan-speed is also not working. If you want to check if this really works you have to use tpfanctr. But it's not possible to use them at the same time! For information to the rest of the script see the readme.


Carl
Last edited by Spawn123456 on Wed Nov 15, 2006 11:24 am, edited 2 times in total.

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#2 Post by dorin » Wed Nov 15, 2006 4:50 am

i'd try it but i have no idea how to change that xml file...looked on nhc web and it could've been as well in sanscrit written, won't make any dif.

help?
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

tomh009
Moderator Emeritus
Moderator Emeritus
Posts: 3021
Joined: Wed Feb 23, 2005 3:30 pm
Location: Kitchener, ON

Re: NHC2.0 and extended fan control for x-Series

#3 Post by tomh009 » Wed Nov 15, 2006 6:58 am

Spawn123456 wrote:Hi,

I've tried to write a script for the extended fan control of the x31 and x40 series (They can set the fan rpm directly). But I don't have such a notebook.(...)

After this make sure you have installed the core2 duo patch.
Then start NHC and activate ACPI make sure that ACPI is running, if you get a compiler error post it.
Carl,

Need the Core 2 Duo patch? Really?

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

Re: NHC2.0 and extended fan control for x-Series

#4 Post by Spawn123456 » Wed Nov 15, 2006 7:39 am

tomh009 wrote:
Spawn123456 wrote:Hi,

I've tried to write a script for the extended fan control of the x31 and x40 series (They can set the fan rpm directly). But I don't have such a notebook.(...)

After this make sure you have installed the core2 duo patch.
Then start NHC and activate ACPI make sure that ACPI is running, if you get a compiler error post it.
Carl,

Need the Core 2 Duo patch? Really?

Hi,

yes you need it. The script uses some of the functions which are not implementet without the patch! If you try it without the patch you'll get a lot of ACPI errors.


@dorin
Open NHC, then go to the info tab. There klick on "show computer hardware info's". Scroll down until the "mainboard" section. Rember the Product value!
Then open the xml file with notbad. Replace it:

<?xml version="1.0"?>
<IBM>
<Model name="your Product value" location="MAINBOARD" class="t43p" file="ibm for x-series.cs" />
</IBM>



Carl

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#5 Post by dorin » Wed Nov 15, 2006 9:16 am

ok, xml modified, copied everything into the acpi folder and.....
.....
....
...
..
.
nothing!!!

it says that acpi is not yet configured for this system

so, now what?!
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

#6 Post by Spawn123456 » Wed Nov 15, 2006 9:25 am

Hi dorin,

let's try this:

at first rename the "ibm for x-series.cs" to "ibm.cs".

Then update the xml file to
<?xml version="1.0"?>
<IBM>
<Model name="******" location="SYSTEM" class="t43p" file="ibm.cs" />
</IBM>

if it's still not working please post a screen shot from the NHC computer harware infos, with the System section in it, and your xml file.

Carl

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#7 Post by dorin » Wed Nov 15, 2006 9:58 am

same thing!
check http://www.bocanila.ro/acpi/ !
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

#8 Post by Spawn123456 » Wed Nov 15, 2006 10:03 am

Hi,

you have the wrong model name you have
2386H6gG but it has to be 2386H6G


Carl

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#9 Post by dorin » Wed Nov 15, 2006 10:14 am

ok, but i got a message
error -acpi control system problem detected


how do i see where the pb is?!
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#10 Post by dorin » Wed Nov 15, 2006 10:18 am

ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
ACPI.FIELD.Read("_SB.PCI0.LPC.EC.HBRV", ref 0) . . . ERROR
IBM.t43p.BRIGHTNESS.refresh( ) . . . ERROR
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

#11 Post by Spawn123456 » Wed Nov 15, 2006 11:23 am

Hi,

the brightness function isn't working for the x3 to x4 series. Maybe this can be fixed in the next version of NHC. The next bad news is, that you need to access an "Locked" Field to find out the standart values. This also isn't working up to now.
The only thing that could work is the setting of the Fanrpm. But the only way of setting them back to the standart values is a reboot.


Carl

P.S: I uploaded a new version with disabled brightness support

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#12 Post by dorin » Wed Nov 15, 2006 6:54 pm

ok, now its working.

just tried it for few minutes and seems ok, the fan stays quiet.

i dont get what you mean by brightness problem, i can control it usint fn key with no pb.

anything i should be aware of or i can just let it run from now on with acpi and i give up the t43 fancontrol as long as nhc with acpi make the same thing?!

thanks alot!

dorin
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

#13 Post by Spawn123456 » Wed Nov 15, 2006 7:29 pm

Hi,

up to now there are some disadvanteges:
Not all temp-sensors are working in NHC.
If NHC crashes the fan stays in its current state. So before you shut down NHC, make sure you set the mode back to ACPI.

but you also get some benefits
Your system log don't get any errors any more
You can decrease the voltage
And you have the extended fan control, but I'm not sure if this one is working, so someone has to try it, by changing one of the variables in it. But be warned, this one is BETA. So prepare for rebooting your system manually! (As I said above: Your fan could go crazy, but this only could happen if the three variables are wrong, but I don't know the standart values for them)

I'm using this script since 6weeks, without getting a problem.

Carl

P.S: I just found in the thinkwiki three variables for the extended control. Try
Level 1 = ~3900, Level 2 = ~4200, Level3 = ~4650

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#14 Post by dorin » Thu Nov 16, 2006 1:43 am

nope,

as soon as i've changed the extended fan settings i got the error. even though i revert them still same error.

ACPI.METHOD.GetValue("_SB.PCI0.LPC.EC.HKEY.GBDC", ref 5) . . . OK
IBM.t43p.HARDWARE.refresh( ) . . . OK
ACPI.METHOD.ComplexArgument("_SB.PCIO.LPC.EC.FANS", "{0,2500,3500,4500}", 4, "{}", 0) . . . ERROR
IBM.t43p.EXTENDET_FAN_CONTROLL.FANSPEED1.NHC_WRITE.nhc_on_write( ) . . . ERROR
ACPI.METHOD.ComplexArgument("_SB.PCIO.LPC.EC.FANS", "{0,2500,3500,4500}", 4, "{}", 0) . . . ERROR
IBM.t43p.EXTENDET_FAN_CONTROLL.FANSPEED2.NHC_WRITE.nhc_on_write( ) . . . ERROR
ACPI.METHOD.ComplexArgument("_SB.PCIO.LPC.EC.FANS", "{0,2500,3500,4500}", 4, "{}", 0) . . . ERROR
IBM.t43p.EXTENDET_FAN_CONTROLL.FANSPEED3.NHC_WRITE.nhc_on_write( ) . . . ERROR

seems like it cannot write the values.
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

#15 Post by Spawn123456 » Thu Nov 16, 2006 4:36 am

Hi dorin,

well then that's the next bug in NHC. Until the next release of NHC, this won't work. Thanks for your help.


Carl

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#16 Post by dorin » Thu Nov 16, 2006 8:35 am

anytime!
when the next version will be released, contact me and i'll try it. i mean as far as i know, even if it dies (the laptop) to say like this, i take the hdd out and sent into service, so they won't know what experiment i did on it, right?!
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

dsigma6
Senior ThinkPadder
Senior ThinkPadder
Posts: 2299
Joined: Wed Apr 26, 2006 2:13 pm
Location: Philadelphia, PA
Contact:

#17 Post by dsigma6 » Thu Nov 16, 2006 9:07 am

dorin wrote:so they won't know what experiment i did on it, right?!
If they stop by the forum they will! :twisted:

edit: durin- what you do with your ThinkPad is obviously up to you, but I would think twice about being the guinea pig for software testing!!
Last edited by dsigma6 on Thu Nov 16, 2006 8:15 pm, edited 1 time in total.
[Current] [Dell Latitude D630] : [Past] [T43] [T40] [T23] [T20] [R40] [X22] [600E] [570] [765D]

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#18 Post by dorin » Thu Nov 16, 2006 8:02 pm

ok, couple of more errors since acpi...(now is disabled, and renamed to be sure no attemps are made)

Windows - System Error : Insufficient system resources exist to complete the API.
The device sent an incorrect response(s) following a keyboard reset.
Could not set the keyboard typematic rate and delay.
Could not set the keyboard indicator lights.
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

#19 Post by Spawn123456 » Fri Nov 17, 2006 7:23 am

Hi dorin,

I don't know what's happening there. I think that this has nothing to do with my script. Can't help


Carl

dorin
Junior Member
Junior Member
Posts: 363
Joined: Thu Jan 12, 2006 6:24 am
Location: Zürich, Switzerland
Contact:

#20 Post by dorin » Fri Jun 22, 2007 1:19 am

since then 2 other versions have been release, would it be safe to try it now?
cheers,
dorin
X40 (2386H6G) 1.4Ghz 1.5Gb 40Gb

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad X2/X3/X4x Series incl. X41 Tablet”

Who is online

Users browsing this forum: No registered users and 3 guests