LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-15-2006, 07:03 PM   #1
swammi
LQ Newbie
 
Registered: Jul 2006
Distribution: fc5
Posts: 17

Rep: Reputation: 0
lm_sensors detection issues


I've been having some issues with getting lm_sensors setup.

First:
Code:
Linux localhost.localdomain 2.6.17-prep #1 Sun Oct 15 12:06:46 PDT 2006 i686 athlon i386 GNU/Linux
I've followed the QUICKINSTALL instructions and then...

Code:
[root@localhost lm_sensors-2.10.1]# sensors-detect
# sensors-detect revision 4171 (2006-09-24 03:37:01 -0700)

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.
.
.
.
Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `w83l785ts' (should be inserted):
  Detects correctly:
  * Bus `SMBus nForce2 adapter at 5100'
    Busdriver `i2c-nforce2', I2C address 0x2e
    Chip `Winbond W83L785TS-S' (confidence: 8)

Driver `eeprom' (should be inserted):
  Detects correctly:
  * Bus `SMBus nForce2 adapter at 5000'
    Busdriver `i2c-nforce2', I2C address 0x50
    Chip `eeprom' (confidence: 6)
  * Bus `SMBus nForce2 adapter at 5000'
    Busdriver `i2c-nforce2', I2C address 0x52
    Chip `eeprom' (confidence: 6)
  * Bus `SMBus nForce2 adapter at 5000'
    Busdriver `i2c-nforce2', I2C address 0x57
    Chip `eeprom' (confidence: 6)

  EEPROMs are *NOT* sensors! They are data storage chips commonly
  found on memory modules (SPD), in monitors (EDID), or in some
  laptops, for example.

Driver `w83781d' (may not be inserted):
  Misdetects:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `Winbond W83627HF' (confidence: 8)

Driver `w83627hf' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0290 (Busdriver `i2c-isa')
    Chip `Winbond W83627HF Super IO Sensors' (confidence: 9)

I will now generate the commands needed to load the required modules.
Just press ENTER to continue:

To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:

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

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-nforce2
modprobe i2c-isa
# Chip drivers
modprobe w83l785ts
modprobe eeprom
modprobe w83627hf
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
But when I run sensors...
Code:
[root@localhost lm_sensors-2.10.1]# sensors
Can't access procfs/sysfs file
Kernel interface access error
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
Based on some googling, I thought this might have something to do with some i2c modules not being loaded.
Code:
[root@localhost lm_sensors-2.10.1]# lsmod | grep i2c
i2c_dev                10244  0
i2c_isa                 6656  1 w83627hf
i2c_nforce2             7552  0
I've seen some output with i2c_sensors, but I don't have it and can't modprobe it.
Any ideas?
Swammi
 
Old 10-15-2006, 08:09 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Try ;
modprobe w83l785ts
modprobe w83627hf

Then see if it works;
 
Old 10-15-2006, 08:42 PM   #3
swammi
LQ Newbie
 
Registered: Jul 2006
Distribution: fc5
Posts: 17

Original Poster
Rep: Reputation: 0
Sorry, I forgot to mention this...
Code:
[root@localhost dev]# modprobe w83627hf && modprobe w831785ts
FATAL: Module w831785ts not found.
Incidentally, I don't know what w831785ts monitors on my board (lanparty nf2).

Last edited by swammi; 10-15-2006 at 08:46 PM.
 
Old 10-15-2006, 09:21 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
What make and model motherboard?
 
Old 10-15-2006, 10:33 PM   #5
swammi
LQ Newbie
 
Registered: Jul 2006
Distribution: fc5
Posts: 17

Original Poster
Rep: Reputation: 0
btw, I was modprobing the incorrect driver: w831785ts instead of w83l785ts. Duh, there's an L in there, not a 1. It all looks the same in monospace characters. Nevertheless, sensors still outputs the same message.
Code:
[root@localhost lm_sensors-2.10.1]# sensors
Can't access procfs/sysfs file
Kernel interface access error
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!

Last edited by swammi; 10-16-2006 at 04:27 PM.
 
Old 10-16-2006, 05:57 PM   #6
swammi
LQ Newbie
 
Registered: Jul 2006
Distribution: fc5
Posts: 17

Original Poster
Rep: Reputation: 0
also, I didn't mention that sys is mounted and populated...however, I do not know if libsensors was compiled with sysfs support. I used the install documentation with the .tar.

How can I check if there were some compilation errors with the sysfs install?

Last edited by swammi; 10-16-2006 at 06:00 PM.
 
Old 10-16-2006, 11:31 PM   #7
swammi
LQ Newbie
 
Registered: Jul 2006
Distribution: fc5
Posts: 17

Original Poster
Rep: Reputation: 0
I followed the sysfsutils-2.1.0 INSTALL directions. But it appears that 1.3.0 is still installed...

Code:
[root@localhost sysfsutils-2.1.0]# yum list sysfs*
Loading "installonlyn" plugin
Setting up repositories
updates                                                              [1/3]
core                                                                 [2/3]
extras                                                               [3/3]
Reading repository metadata in from local files
Installed Packages
sysfsutils.i386                          1.3.0-1.2.1            installed
sysfsutils-devel.i386                    1.3.0-1.2.1            installed
Unless I'm misinterpreting this, could this cause some issues with lm_sensors?

Last edited by swammi; 10-16-2006 at 11:32 PM.
 
Old 11-30-2006, 08:29 PM   #8
jaykayjamiroquai
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Add this line to /etc/fstab

sysfs /sys sysfs defaults 0 0

Afterwards, mount /sys or reboot
 
  


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
Wireless card detection/function issues with Texas Instruments PCI1510 QuBeRT Linux - Wireless Networking 3 02-28-2005 10:10 AM
Motorola SB4200 SURFboard Cable Modem Detection Issues - Mandrake 10 matt_16 Linux - Newbie 1 09-26-2004 05:47 AM
I need help with lm_sensors Joey.Dale Linux - General 1 01-18-2004 11:24 AM
lm_sensors vexer Linux - Software 1 06-07-2003 12:15 AM
lm_sensors help malvu Linux - Software 7 05-04-2003 08:13 AM


All times are GMT -5. The time now is 11:09 PM.

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