LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1596|回复: 6

使你的AMD安全度夏

[复制链接]
发表于 2004-7-26 01:29:43 | 显示全部楼层 |阅读模式
内容:在Linux下查看CPU、MB等的温度及保护……
软件:lm-sensors,xsensors,athcool

我用的是Debian/Linux(hiweed Desktop)

典型安装的内核需要安装i2c-2.*.**-*-***,lm-sensors-2.*.**-*-***(*为内核的版本号)支持。
比如:i2c-2.4.26-1-386,lm-sensors-2.4.26-1-386。
不知道内核具体版本号的可用apt-cache search i2c,lm-sensors列出安装包供选择。

以下就以kernel-2.4.26-1-386为例:
#apt-get install i2c-2.4.26-1-386 lm-sensors-2.4.26-1-386
#apt-get install lm-sensors,xsensors
#sensors-detect   #主要用来探测主板的一些信息
你就会在结果中看到你应该加载的模块。以下是我的结果:
To make the sensors modules behave correctly, add these lines to
/etc/modules:

#----cut here----
# I2C adapter drivers
i2c-viapro
i2c-isa
# I2C chip drivers
w83781d
via686a
#----cut here----

Then, run /etc/init.d/modutils


To make the sensors modules behave correctly, add these lines to
/etc/modutils/local and run update-modules:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----


按照提示做就行了,先编辑一下/etc/modules,将以下几行加入:
# I2C adapter drivers
i2c-viapro
i2c-isa
# I2C chip drivers
w83781d
via686a
编辑完后运行:/etc/init.d/modutils

接下来编辑一下/etc/modules.conf,添加以下内容:
# I2C module options
alias char-major-89 i2c-dev
运行一下update-modules更新一下模块就OK了!

现在就可以
#xsensors来查看CPU,MB,FAN……的一些参数了(当然用sensors命令也可以)

然后打开athcool就可以对CPU进行保护了
#apt-get install athcool
#athcool on
就可以了。
其它的参数自己参考一下athcool --help吧



当然你也可以在编译内核的时候选上对I2C,lm-sensors的支持,具体的模块就用
#sensors-detect 得到的结果吧!(何苦呢? :confused: )

-------------------------------------------------------------------------------
Durlon 900M
ASUS KT133  VIA 82C686
Debian/Linux (HiWeed Desktop)
sources.list =ftp://debian.ustc.edu.cn/sources.list/sources.list.testing
发表于 2004-7-26 02:39:34 | 显示全部楼层

管用吗?

谁能说说用软件来实现降温的原理何在?
 楼主| 发表于 2004-7-26 18:55:59 | 显示全部楼层
谢谢budaodao兄的提问
原来标题是有些夸张,现在我已改过来了:p

athcool其实是打开了CPU的powersaving mode,上文落了两点说明:
一、在要内核中开启ACPI来实现power saving。
二、软件最初是.deb包的,我不知道其它版本有没有现成的安装包

以下是athcool运行时的信息
athcool version 0.3.5 - enabling/disabling Athlon Powersaving mode

!!!WARNING!!!
Depending on your motherboard and/or hardware components,
enabling Athlon powersaving mode may cause:
* noisy or distorted sound playback
* a slowdown in harddisk performance
* system locks or instability

Please use athcool AT YOUR OWN RISK.

VIA KT133/KM133/KL133/KN133[A] series (1106 0305) found
enabling 'Disconnect when STPGNT Detected' bit ... already enabled.
发表于 2004-7-26 19:27:08 | 显示全部楼层

噢。看来不错。

明天试试。。
我的XP1700+从1400超到2000使用。冬天可以。夏天不行。死机死机。再死机。只能退回来用了。
发表于 2004-7-26 19:30:29 | 显示全部楼层
一般默认的内核都会帮CPU IDLE的
不如买个好的风扇或凉快点的CPU
 楼主| 发表于 2004-7-27 05:27:24 | 显示全部楼层

回:bodaodao兄

最初由 budaodao 发表
明天试试。。
我的XP1700+从1400超到2000使用。冬天可以。夏天不行。死机死机。再死机。只能退回来用了。



有时间的话共享一下实验结果阿;)
发表于 2004-7-27 05:54:15 | 显示全部楼层
windows下的cpuidle extrem好像比athcool降温多
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表