Security Update for NHC ACPI script:

Work/comment area for scripts and utilities like TP Fan, 2-finger scrolling, etc
Post Reply
Message
Author
Spawn123456
Posts: 48
Joined: Mon Oct 09, 2006 7:04 am
Location: Germany

Security Update for NHC ACPI script:

#1 Post by Spawn123456 » Sun May 06, 2007 3:29 am

Hi,

I've updated the script and I recomment an update due to security reasons:

This script is only for the NHC-Release 6 or newer. Older ones could work, but I won't support this.

To get the script to work, please see http://forum.thinkpads.com/viewtopic.php?t=28482


ToDo's

1. WLAN:
I don't think that this will ever work on the old ThinkPads. But I think it's possible to write it for the New Ones (T60). Refer to the linux thinkpad-acpi for details...

2. Bugfixen

News in v0.90:
1. The FAN-Controll is given back to the bios if you disable ACPI or exit NHC

2. If the temperature goes above 75° C (Emergency break) then the "Standby" starts flashing and there are three beeps. The Standby symbol stops flashing if the temperature goes below 75° or you quit NHC/disable ACPI
You can disable the LED feature by changing the line
#define LED to
#undef LED

3. Modified the thermal zone: The Symbol in the task-pane now shows the temperature which is used to controll the fan.
You can disable this feature by changing the line
#define Tzon0 to
#undef Tzon0

4. If you have a Core2Duo then the "maximal" Temperature is shown in the 2. thermal Zone. This one is untested, but not critical, because their isn't any ACPI interaction.
You can disable this feature by changing the line
#define Core2Duo to
#undef Core2Duo


5. The temperature sensors now are all working. It's not possible anymore to disable them completly while NHC is running. You have to update the script to do this:
TSENSORACTIVEDEFAULT = {1,1,1,1,1,1,1,1,1,1,1,1};
1 means on, 0 means off
If a sensor shows 0°, then the sensor is not working (i.e. the ultrabay batterie sensor if you don't have one)
If a sensor is below 0° then you have it deactivated in NHC. This means the sensor is only important for the emergency break.

6. Update to the brightness function. Maybe it will work now on the x3* and x4*.

7. Update to the extended fan control for the x3* and x4*.
This one is completly untested. You can enable it by changing
#undef extendetFanControl to
#define extendetFanControl
but be ready to reboot...


That's it




Carl



Download:
http://nhc.justred.info/uploads/files/s ... 1qpvi8nfh6

Edit: Updated the link, so you don't have to sign in to another forum any more...

marcos
Sophomore Member
Posts: 130
Joined: Wed Feb 22, 2006 7:53 pm

#2 Post by marcos » Thu May 10, 2007 7:03 pm

Hi,

I've just installed the new NHC and script ver 0.90
All seems fine, but when I enabled the script on my t42 by clicking ACP support off and on, lcd brightness dropped to miniumum and I had to reset applying a profile.
Not a problem but you may find a reason for that. Tomorrow I will test it on my t43 that for some reason was always giving an error with the previous version.

Thanks !!!
T440s OK so far.
T420s NVIDIA graphics. Nice, then MB failure.
T400s Workhorse. two of'em, both faulty display with vertical stripes.
T43 °very nice° - MB reflown and dead, two of'em.
T42 15°, dead onboard wireless.
T40, dead memory slot, stolen from me
T30, stolen from me
TP600 dead

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

#3 Post by Spawn123456 » Fri May 11, 2007 12:01 am

Hi Marcos,


I also have sometimes this problem. Normaly I only get it after compiling the dll the first time or changing profiles. This is not a script problem, the brightness is set by NHC itself. So you can deactivate it (#define brightness to #undef brightness) or you can try to set better settings under the Graphic tab of NHC (sometimes it's not there, then you need to restart NHC)


regards


Carl

havrancek
Posts: 16
Joined: Fri Feb 02, 2007 4:53 pm
Location: Slovakia

hi

#4 Post by havrancek » Fri May 11, 2007 12:06 pm

I want to ask, if your script is usable also for Z61m..
are there any differencies between T43p and Z61m?
thx

is there anything I need to fix?

propellen
Sophomore Member
Posts: 171
Joined: Mon Mar 26, 2007 2:50 am
Location: Trondheim, Norway

#5 Post by propellen » Thu May 24, 2007 4:04 pm

Hi,

Thanks for what looks to me, an excellent script.
But i'm having a bit of installation issues here.

I've got a Lenovo Thinkpad T60 2007-FUG

Code: Select all

<?xml version="1.0"?>
<LENOVO>
  <Model name="2007fug" location="MAINBOARD" class="TPFancontrol" file="lenovo.cs" />
</LENOVO>

Code: Select all

<?xml version="1.0"?>
<IBM>
  <Model name="2007fug" location="SYSTEM" class="t43p" file="IBM.cs" />
</IBM>
What am i doning wrong?
I keep getting
ACPI Control System is not yet configurated for this system

:D
Thanks in advance.
propellen
LENOVO THINKPAD T60 C2D/T5600-1.83G 320GB 2GB 14IN SXGA+ 7 ULTIMATE (UT0FUNO)
TPFanControl

propellen
Sophomore Member
Posts: 171
Joined: Mon Mar 26, 2007 2:50 am
Location: Trondheim, Norway

#6 Post by propellen » Fri May 25, 2007 2:08 pm

Code: Select all

<?xml version="1.0"?>
<lenovo>
  <Model name="2007fug" location="SYSTEM" class="t43p" file="ibm.cs" />
</lenovo>
I've now updated the XML file. but i still get ACPI Control System is not yet configurated for this system

I would so much appreciated a hint in the right direction here. I'm lost :D


Thanks.
propellen

EDIT:
Finally got them working with the new files from
http://staff-www.uni-marburg.de/~schmitzr/nhc_tpfc.zip
LENOVO THINKPAD T60 C2D/T5600-1.83G 320GB 2GB 14IN SXGA+ 7 ULTIMATE (UT0FUNO)
TPFanControl

skanky
Senior Member
Senior Member
Posts: 517
Joined: Fri Oct 15, 2004 11:25 am
Location: London, UK

#7 Post by skanky » Thu May 31, 2007 1:07 pm

iirc, you have to edit the .cs file, theres a IBM reference that needs to be changed from:

Code: Select all

public static class IBM
to:

Code: Select all

public static class LENOVO

Melvyn
Sophomore Member
Posts: 180
Joined: Tue Oct 24, 2006 12:21 am
Location: Santiago, Dominican Republic
Contact:

I don't recomend this one.

#8 Post by Melvyn » Fri Aug 10, 2007 12:58 pm

After installing that I can see some unstability in my system. Last version was in use for a long time. Today installed this one because was "security update" and it put my machine crazy.

1) Some times don't shutdown.
2) The stand by led (half moon) stay blinking all time
3) Bad, very bad translation to "english".
4) Indicator for fan speed at 126rpm
5) Indicator of temperature at 195 C (it can be Farenheit, not C -> Celsius)

I uninstalled it and tried again the old version which is working and have worked all time.
Lenovo ThinkPad T60p 8741-A11:
Intel Core 2 Duo T7400 @2.16ghz, 3GB Ram, ATI Mobility FireGL V5250, HD 100gb @7200rpm
Old: ThinkPad T42 2373-M1U

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad Utility Work Area”

Who is online

Users browsing this forum: No registered users and 0 guests