Security Update for NHC ACPI script:
Posted: 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...
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...