我在x200上面安装了 debian sid,风扇一直在全速运转,想要实现根据温度来调
节转速。
参考了http://www.linuxidc.com/Linux/2009-02/18270.htm
这篇文章提到lm-sensors,于是到官方网站(http://www.lm- sensors.org/wiki
/iwizard/Detection)
按照教程设置,最后加载模 块不能成功。
下面是我的操作过程,有知 道的,帮我看看。
PS:1.像这样 的问题应该在哪里的邮件列表去问呢?
2 有哪位朋友也在 thinkpad上面安装了debian之类的linux系统,一起
交流。怎样实现充放电阈值的控制,以及延长电池使用时间 的方法,以及动态硬
盘保护
谢 谢!
#+TITLE:
* ref
www.lm-sensors.org/wiki/iwizard/DistroPackageInstall
www.lm-sensors.org/wiki/iwizard/KernelPreparation
www.lm-sensors.org/wiki/iwizard/SensorsOutput
* install
$ apt-get install lm-sensors
* usage
kk@x200:~$ sudo sensors-detect
# sensors-detect revision 6209 (2014-01-14 22:51:58 +0100)
# System: LENOVO 7459X18 [ThinkPad X200] (laptop)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no):
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Using driver `i2c-i801' for device 0000:00:1f.3: Intel ICH9
Module i2c-dev loaded successfully.
Next adapter: SMBus I801 adapter at 1c60 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x5c
Probing for `Analog Devices ADT7462'... No
Probing for `SMSC EMC1072'... No
Probing for `SMSC EMC1073'... No
Probing for `SMSC EMC1074'... No
Next adapter: i915 gmbus ssc (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: i915 gmbus vga (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: i915 gmbus panel (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: i915 gmbus dpc (i2c-4)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: i915 gmbus dpb (i2c-5)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: i915 gmbus dpd (i2c-6)
Do you want to scan it? (yes/NO/selectively): yes
Next adapter: DPDDC-B (i2c-7)
Do you want to scan it? (YES/no/selectively): yes
Next adapter: DPDDC-C (i2c-8)
Do you want to scan it? (YES/no/selectively):
Next adapter: DPDDC-D (i2c-9)
Do you want to scan it? (YES/no/selectively):
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!
Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!
Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/kmod start'
to load them.
Unloading i2c-dev... OK
Unloading cpuid... OK
* error
kk@x200:~$ sudo /etc/init.d/kmod start
Starting kmod (via systemctl): kmod.serviceJob for
systemd-modules-load.service failed. See 'systemctl status
systemd-modules-load.service' and 'journalctl -xn' for details.
failed!
kk@x200:~$ sudo systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service;
static)
Active: failed (Result: exit-code) since Wed 2014-05-14 03:43:55
EDT; 27s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 3711 ExecStart=/lib/systemd/systemd-modules-load
(code=exited, status=1/FAILURE)
May 14 03:43:55 x200 systemd[1]: Starting Load Kernel Modules...
May 14 03:43:55 x200 systemd[1]: systemd-modules-load.service: main
process...RE
May 14 03:43:55 x200 systemd[1]: Failed to start Load Kernel Modules.
May 14 03:43:55 x200 systemd[1]: Unit systemd-modules-load.service
entered ...e.
kk@x200:~$ sudo journalctl -xn
WARNING: terminal is not fully functional
- (press RETURN)
-- Logs begin at Wed 2014-05-14 01:50:52 EDT, end at Wed 2014-05-14
03:47:17 EDTMay 14 03:43:55 x200 systemd-modules-load[3711]: Failed to
find module 'vmhgfs'
May 14 03:43:55 x200 systemd[1]: systemd-modules-load.service: main
process exitMay 14 03:43:55 x200 systemd[1]: Failed to start Load Kernel
Modules.
-- Subject: Unit systemd-modules-load.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation:
http://www.freedesktop.org/wiki/Software/systemd/catalog/be02c--
-- Unit systemd-modules-load.service has failed.
--
-- The result is failed.
May 14 03:43:55 x200 systemd[1]: Unit systemd-modules-load.service
entered faileMay 14 03:43:55 x200 sudo[3703]: pam_unix(sudo:session):
session closed for userMay 14 03:44:22 x200 sudo[3715]: kk : TTY=pts/1 ;
PWD=/home/kk ; USER=root ; COMMay 14 03:44:22 x200 sudo[3715]:
pam_unix(sudo:session): session opened for userMay 14 03:44:22 x200
sudo[3715]: pam_unix(sudo:session): session closed for userMay 14
03:47:17 x200 sudo[3745]: kk : TTY=pts/1 ; PWD=/home/kk ; USER=root ;
COMMay 14 03:47:17 x200 sudo[3745]: pam_unix(sudo:session): session
opened for userlines 1-19/19 (END)