LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-14-2004, 07:03 AM   #1
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Rep: Reputation: 30
Question My fan and temperature sensor dont get detected!!


Hi,

I am using FC2 with 2.6.7-1.494.2.2 kernel. My motherboard is Intel 865 with P4 2.8 Ghz(HT).

Linux does not detect my fans and temperature sensors. Yes. Windows Xp is showing everything. What can I do to fix it ??

PS : I removed windows, so I need help, as I am LEARNING to do things the LINUX way.

regards,
unpredictable
 
Old 08-14-2004, 07:13 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What are you using? The latest version of lm_sensors?

Do you have the correct I2C modules for your chipset compiled in or loaded?
 
Old 08-14-2004, 07:46 AM   #3
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
Hi,

Well this time I didnt compile my kernel...I am using the precompiled one from FC2....that too becoz there is some network problem and I am unable to download the sourcecode...just tell me some commands to know for sure whether I have theright software. My FC2 is COMPLETELY up2date. Also tell me any place to configure them...etc... GKrellM does not detect any sensors!!

I can send outputs of those commands in the next post if required....

regards,
unpredictable
 
Old 08-14-2004, 07:49 AM   #4
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
Thought this might help.......

Code:
[root@unpredictable anurag]# /sbin/lsmod
Module                  Size  Used by
appletalk              26025  0
ipx                    25449  0
p8022                   1857  1 ipx
psnap                   3397  2 appletalk,ipx
llc                     5205  2 p8022,psnap
snd_seq_oss            30657  0
snd_seq_midi_event      7105  1 snd_seq_oss
snd_seq                52689  4 snd_seq_oss,snd_seq_midi_event
smbfs                  61881  0
nls_utf8                1729  0
udf                    79685  0
snd_pcm_oss            42985  0
snd_mixer_oss          14017  1 snd_pcm_oss
snd_intel8x0           30829  1
snd_ac97_codec         58821  1 snd_intel8x0
snd_pcm                83529  2 snd_pcm_oss,snd_intel8x0
snd_timer              25413  2 snd_seq,snd_pcm
snd_page_alloc          8393  2 snd_intel8x0,snd_pcm
gameport                4033  1 snd_intel8x0
snd_mpu401_uart         7361  1 snd_intel8x0
snd_rawmidi            21733  1 snd_mpu401_uart
snd_seq_device          6473  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    45349  14 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7713  1 snd
autofs4                20677  0
sunrpc                141861  1
ath_pci                33572  0
wlan                   47528  2 ath_pci
ath_hal               127568  2 ath_pci
ipt_REJECT              5057  1
ipt_state               1857  6
ip_conntrack           25569  1 ipt_state
iptable_filter          2369  1
ip_tables              13889  3 ipt_REJECT,ipt_state,iptable_filter
floppy                 54001  0
sg                     28385  0
microcode               5601  0
dm_mod                 47317  0
joydev                  7169  0
uhci_hcd               28505  0
ehci_hcd               27973  0
button                  4825  0
battery                 7117  0
asus_acpi               9177  0
ac                      3533  0
i830                   67781  2
ipv6                  216325  8
ext3                   96937  4
jbd                    66521  1 ext3
ata_piix                5701  0
libata                 29637  1 ata_piix
sd_mod                 17473  0
scsi_mod              105361  3 sg,libata,sd_mod
 
Old 08-14-2004, 09:31 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What do you get when you run "sensors" at the command prompt?
 
Old 08-14-2004, 01:11 PM   #6
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
Code:
[root@unpredictable anurag]# 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'!
I tried modprobe i2c_sensor which completed without errors. What is sysfs?? How to mount it ? and does it get mounted automaticallly?

This is how my /etc/fstab looks.......
Code:
LABEL=/                 /                       ext3    defaults                 1 1
none                    /dev/pts                devpts  gid=5,mode=620           0 0
none                    /dev/shm                tmpfs   defaults                 0 0
LABEL=/masti            /masti                  ext3    defaults,users,rw,exec         1 2
LABEL=/other            /other                  ext3    defaults,users,rw,exec       1 2
none                    /proc                   proc    defaults                 0 0
LABEL=/software         /software               ext3    defaults,users,rw,exec      1 2
none                    /sys                    sysfs   defaults                 0 0
/dev/hda5               swap                    swap    defaults                 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu       0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
 
Old 08-14-2004, 03:35 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can mount sysfs with:
mkdir /sys
mount -t sysfs sysfs /sys

Then try running sensors again.
 
Old 08-14-2004, 04:58 PM   #8
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
Code:
[root@unpredictable root]# mkdir /sys
mkdir: cannot create directory `/sys': File exists
[root@unpredictable root]# cd /sys
[root@unpredictable sys]# ls
block  bus  class  devices  firmware  module  power
[root@unpredictable sys]# mount
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda2 on /masti type ext3 (rw,nosuid,nodev)
/dev/hda6 on /other type ext3 (rw,nosuid,nodev)
/dev/hda3 on /software type ext3 (rw,nosuid,nodev)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root@unpredictable sys]# 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'!
Hi, I came to know that sysfs was already mounted....tell me something new...!!

Regards
unpredictable
 
Old 08-15-2004, 08:12 AM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
perhaps you have had another version of libsensors before.

As root try running:
ldconfig

Then:
sensors
 
Old 08-15-2004, 08:23 AM   #10
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
No change......ldconfig finished without messages.........and then its the same output from sensors..

Btw i didnt even touch the version of sensors.......i have just installed fedora core 2 and didnt fiddle any system files.......
 
Old 08-15-2004, 08:51 AM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
This is pretty odd. What version of lm_sensors do you have:
sensors -v

Is i2c_sensor still loaded?
lsmod | grep i2c
 
Old 08-15-2004, 09:01 AM   #12
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
Code:
[anurag@unpredictable anurag]$ sensors -v
sensors version 2.8.6
Well , i2c module is NOT loaded....i did modprobe i2c_sensors......but that does not make my sensors working...

wht to do??/

regards,
unpredictable
 
Old 08-15-2004, 09:21 AM   #13
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Do you still get exactly the same error message or are you getting a "No sensors found!" error?
 
Old 08-16-2004, 09:33 PM   #14
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Original Poster
Rep: Reputation: 30
There is the same message all the time I do it....no change at all..

Neither modprobe nor anything else works......(shud i do "rm -rf * in /" )

I guess it shud work for a Intel PC atleast..I guess thts wht they make most software for, in Linux.

Help me please. I removed windows. Before tht in Windows, the Intel Motherboard CD, installed all fans, etc. and they worked fine.

regards
unpredictable


PS:Why is the word "Newbie" under my name. How can I change it?
 
Old 08-17-2004, 04:20 AM   #15
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Backing up to the beginning, did you run "sensors-detect" for lm_sensors to pick up your specific sensors? Maybe you did, I just didn't see it mentioned in your posts.

edit: you will be "newbie" until you've made a certain number of posts (I think 30)

Last edited by mdg; 08-17-2004 at 04:25 AM.
 
  


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
Searching for a "S.M.A.R.T." and a temperature-fan monitor program bomberb17 Linux - Software 8 08-24-2005 02:57 PM
the third temperature sensor for lm_sensors aus9 Linux - Hardware 0 12-29-2004 08:13 PM
Temperature Sensor Reading PhuckFonix Linux - Hardware 2 08-14-2004 02:02 PM
Superkaramba sensor-fan problem THX1138 Linux - Software 1 05-28-2004 01:28 AM
detected printer dont print demmylls Linux - Hardware 0 12-22-2003 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:12 PM.

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