LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2005, 10:52 AM   #1
Klitscho
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Distribution: Debian
Posts: 15

Rep: Reputation: 0
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
 
Old 01-18-2005, 10:57 AM   #2
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
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
 
Old 01-18-2005, 12:22 PM   #3
Klitscho
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 01-18-2005, 12:36 PM   #4
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
And you compiled all of the sensors?
And /sys is mounted?

Last edited by zuralin; 01-18-2005 at 12:37 PM.
 
Old 01-18-2005, 01:34 PM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
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.
 
Old 01-19-2005, 02:21 PM   #6
Klitscho
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
Lightbulb

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!
 
Old 01-19-2005, 03:52 PM   #7
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
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.
 
Old 01-19-2005, 04:52 PM   #8
Klitscho
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

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: +47C (high = +100C, hyst = +80C) sensor = thermistor
temp2: +54.0C (high = +120C, hyst = +115C) sensor = thermistor
temp3: +47.0C (high = +120C, hyst = +115C) 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.
 
Old 01-19-2005, 07:15 PM   #9
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
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. schner tag!
 
Old 01-20-2005, 04:30 AM   #10
Klitscho
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
Talking

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 fr alles.
Once again, Thanks you so much!

best regards,
Klitscho
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LM Sensors Help, Can't access procfs/sysfs file Unable to find i2c bus information; Whiskers Linux - Software 16 11-03-2008 04:58 PM
i2c and lm_sensors, sensors-detect johnnydangerous Fedora 2 03-15-2005 04:28 PM
I can't compile neither i2c neither lm-sensors Ragnarol Linux - Software 1 04-29-2004 06:00 PM
lm sensors , i2c & 2.6.5 kernel Braveheart1980 Linux - General 11 04-17-2004 04:54 AM
Need Help Installing I2C & LM-Sensors CompEng Linux - Software 0 11-07-2003 01:11 PM


All times are GMT -5. The time now is 11:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration