简体   繁体   English

Linux ACPI配置

[英]Linux ACPI Configuration

In my Fedora Core Linux (kernel 2.6.16.11), I've been trying to test the auto-shutdown mechanism associated with the CPU temperature. 在我的Fedora Core Linux(内核2.6.16.11)中,我一直在尝试测试与CPU温度相关的自动关闭机制。 It does not automatically shutdown properly. 它不会自动正确关闭。

If my current processor temperature is 50 C and I set my ACPI configuration to shutdown at 55 C by executing the following commands at the prompt: 如果我当前的处理器温度为50°C,并且在提示符下执行以下命令,则将我的ACPI配置设置为在55°C时关闭:

echo -n "55:50:45:40:35:30" > /proc/acpi/thermal_zone/THRM/trip_points
echo -n "1" > /proc/acpi/thermal_zone/THRM/polling_frequency
echo -n "0:0" > /proc/acpi/processor/CPU1/limit

Then running any software which brings my temperature way past 55 C, the system doesn't automatically shut down like I need it to. 然后运行任何使我的温度超过55摄氏度的软件,系统都不会像我需要的那样自动关闭。

But as long as the temperature is above 55 C, if I run the following command again: 但是只要温度高于55°C,如果我再次运行以下命令:

echo -n "55:50:45:40:35:30" > /proc/acpi/thermal_zone/THRM/trip_points

Then the system shuts down immediately like I want it to! 然后系统立即关闭,如我所愿! Does anyone know why the system doesn't go down on its own? 有谁知道为什么系统不会自行崩溃?

Note that I do have '/usr/sbin/acpid' running. 请注意,我确实正在运行“ / usr / sbin / acpid”。

After running those 3 echo 's, try cat /proc/acpi/thermal_zone/THRM/trip_points and see what it's set to. 运行这3个echo后,尝试cat /proc/acpi/thermal_zone/THRM/trip_points并查看其设置。 My guess is that it gets reset after you set the other two, so I suggest you run the first echo you wrote only after the other two and it might help. 我的猜测是,设置完其他两个后,它会重置,因此,我建议您运行仅在其他两个后编写的第一个echo ,这可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM