lm-sensors and i2c
Hallo all,
As always, i need your help. i'm a newbie who trying to install lm-sensors. I want to know my cpu condition, etc. Then i installed lm-sensors and run: sensors The error messages were: ---------------------------------------------------------------------------------------- chrisj:/home/popeye# sensors Can't access procfs/sysfs file Unable to find i2c bus information; For 2.6 kernels, make sure you have mounted sysfs and done 'modprobe i2c_sensor'! For older kernels, make sure you have done 'modprobe i2c-proc'! --------------------------------------------------------------------------------------- then i installed i2c and run modprobe i2c_sensors. i try to run again, and my Debian said that: "No Sensors found!" What i have to do now? ps: mjrich and McCloud, Thanks you so much for the latest reply |
Are you using a 2.6 kernel? If so add this to your fstab:
none /sys sysfs defaults 0 0 and then as root run: mkdir /sys |
Hallo Zuralin,
Yes, i'm using kernel 2.6 But the directory sys is already there, isn't he? So now that's still not works. The error messages still same, "No sensors found" Anything i have to do? Or a mistake i've done? But thanks for reply |
And you compiled all of the sensors?
And /sys is mounted? |
You need to know what modules to load for your motherboard. Try running "sensors-detect" as root to see what modules it tells you to use. After that run "modprobe <name>" where <name> is the module(s) sensors-detect gives you. Then, re-run "sensors" to see if it is giving you any information.
|
Now Time For My Deby
Hallo zuralin and m_yates I've followed your instructions. But the result is not as I expected. So this is my fault. I installed lm-sensors to know exactly the temperature in my CPU. I've installed modprobe i2c-nforce2 and also i2c-dev. And when i run: sensors, the result is: ------------------------------------------------------------------------- chrisj:/home/popeye# sensors eeprom-i2c-0-51 Adapter: SMBus nForce2 adapter at 5000 Memory type: DDR SDRAM DIMM Memory size (MB): 512 ------------------------------------------------------------------------- That works, but not as I expected. When I run: sensors-detect, it said that i must install rivatv. I'm a little bit confused. Have you any further suggestions? Thanks you vey much! |
I also have an nforce2 board and I posted how I got lmsensors to work here: http://www.linuxquestions.org/questi...ghlight=nforce
I don't think you need to edit the aliases file though, even though I did initially. |
Oh my God, That works! For Newbie like me that's amazing.
So m_yates, would you like to explain to me a little bit? This's the output when I follow your instructions. ----------------------------------------------------------------------------------------- chrisj:/home/popeye# /etc/init.d/module-init-tools Calculating module dependencies... done. Loading modules... ide-cd ide-detect FATAL: Module ide_detect not found. sr_mod i2c-nforce2 i2c-isa w83781d eeprom w83627hf FATAL: Error inserting w83627hf (/lib/modules/2.6.8-1-k7/kernel/drivers/i2c/chips/w83627hf.ko): No such device i2c-nforce2 i2c-isa w83781d eeprom w83627hf FATAL: Error inserting w83627hf (/lib/modules/2.6.8-1-k7/kernel/drivers/i2c/chips/w83627hf.ko): No such device i2c-isa w83781d w83627hf FATAL: Error inserting w83627hf (/lib/modules/2.6.8-1-k7/kernel/drivers/i2c/chips/w83627hf.ko): No such device All modules loaded. --------------------------------------------------------------------------------------- My questions were: 1.Why ide_detect not found? 2.Why that's an error inserting w83627hf ? And this's the output sensors --------------------------------------------------------------------------------------- chrisj:/home/popeye# sensors w83627hf-isa-0290 Adapter: ISA adapter VCore 1: +1.65 V (min = +1.44 V, max = +1.86 V) VCore 2: +1.65 V (min = +1.44 V, max = +1.86 V) +3.3V: +3.25 V (min = +2.82 V, max = +3.79 V) +5V: +4.92 V (min = +0.05 V, max = +6.02 V) +12V: +11.86 V (min = +0.00 V, max = +2.19 V) -12V: -11.95 V (min = -14.09 V, max = -4.05 V) -5V: -4.95 V (min = -7.71 V, max = -4.49 V) V5SB: +5.46 V (min = +0.22 V, max = +2.15 V) VBat: +0.13 V (min = +2.06 V, max = +0.34 V) fan1: 0 RPM (min = 5113 RPM, div = 2) fan2: 3770 RPM (min = 5273 RPM, div = 2) fan3: 0 RPM (min = 4623 RPM, div = 4) temp1: +47°C (high = +100°C, hyst = +80°C) sensor = thermistor temp2: +54.0°C (high = +120°C, hyst = +115°C) sensor = thermistor temp3: +47.0°C (high = +120°C, hyst = +115°C) sensor = thermistor vid: +1.650 V (VRM Version 8.2) alarms: beep_enable: Sound alarm disabled eeprom-i2c-0-51 Adapter: SMBus nForce2 adapter at 5000 Memory type: DDR SDRAM DIMM Memory size (MB): 512 ------------------------------------------------------------------------------------ Last questions: 3.What's for temp1, temp2, temp3? That's all. OK m_yates, Thanks you very much. I really happy with the result. And make me a little bit curious. |
Temp 1, 2, and 3 are the three temperature sensors on your motherboard. The highest temperature (Temp 2) is your CPU. By the way, your CPU is a little warm ;) I'm not sure about the location of the other two, but one of them is likely reported as a "case" temperature by monitoring software in Windows. I only monitor my CPU temperature because I use a very slow CPU fan to reduce the noise in my office.
The error inserting w83627hf module is something that I remember seeing before. That is the module "sensors-detect" told me to use, but it wouldn't work. After some searching, I found that w83781d worked. Don't ask me how I found it, I don't remember now. It was a real pain to get working, that is why I posted it as a "success story" here at linuxquestions. I don't know why you are seeing the error about ide-detect, but it probably doesn't matter. There is a message here: http://lists.debian.org/debian-testi.../msg00093.html that says ide-detect is listed in /etc/modules after Debian is installed, but ide-detect module isn't available in the Debian kernel. It seems to work without it. If it is listed in /etc/modules, you can probably safely remove it or comment it out, or just ignore the error message. I'd recommend installing "ksensors" It provides a graphical monitoring of temperatures much like Motherboard Monitor does in Windows. schöner tag! |
Hallo m_yates and all
Alles in Ordnung. Everything fine now. Thanks for help. Nice to be here, "a very interactive forum" and nice to discuss with you. We'll meet in other topic. Ich bedanke mich für alles. Once again, Thanks you so much! best regards, Klitscho |
All times are GMT -5. The time now is 12:28 AM. |