LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-14-2005, 02:33 AM   #1
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
i2c and lm_sensors, sensors-detect


how to deal with

[root@cook xsensors-0.10]# modprobe i2c-proc
FATAL: Module i2c_proc not found.
[root@cook xsensors-0.10]#

[root@cook xsensors-0.10]# sensors -s
Can't access /proc file
/proc/sys/dev/sensors/chips or /proc/bus/i2c unreadable;
Make sure you have done 'modprobe i2c-proc'!
[root@cook xsensors-0.10]#

sensors-detect:

Probing for PCI bus adapters...
Sorry, no PCI bus adapters found.

We will now try to load each adapter module in turn.
Do you now want to be prompted for non-detectable adapters? (yes/NO):
To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is not loaded. Do you want to load it now? (YES/no):
Module loaded succesfully.

We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. If you have a PIIX4, that often
includes addresses 0x69 and/or 0x6a.
Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 2494, <STDIN> line 3.
[root@cook xsensors-0.10]#

[root@cook xsensors-0.10]# rpm -q i2c
i2c-2.9.0-1.1.rhfc3.at
[root@cook xsensors-0.10]# rpm -q lm_sensors
lm_sensors-2.6.1-1
[root@cook xsensors-0.10]#
 
Old 03-15-2005, 12:31 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Make sure that you are mounting the proc filesystem in your /etc/fstab. You should have an entry that looks like:

none /proc proc defaults 0 0

You can confirm that it's there by displaying one of the standard "files", like:

cat /proc/cpuinfo
 
Old 03-15-2005, 04:28 PM   #3
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
I made it work but can't figure out which sensor exactly is for my board since I got very strange output from sensors like -5V detected current= -8.11V... and so on...
 
  


Reply



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 and i2c Klitscho Debian 9 01-20-2005 04:30 AM
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
lm_sensors and i2c install help Giallo998 Linux - Software 0 11-08-2003 12:16 AM
Need Help Installing I2C & LM-Sensors CompEng Linux - Software 0 11-07-2003 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration