LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-16-2004, 04:39 PM   #1
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Rep: Reputation: 30
detect sensors


I try install the sensors of my motherboard y install lm_sensors and run sensor-detect and i get this ouptput:
Quote:
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf: (1)

#----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: (2)

#----cut here----
# I2C adapter drivers
modprobe i2c-viapro
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83781d
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

WARNING! If you have some things 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 it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): yes (3)
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
1) I haven't got /etc/modules.conf so i create it and add these lines. Can i do that?
2) I add the next lines to /etc/rc.local. Is this correct?
3) I can't find prog/init/lm_sensors.init. Where i can find it?
 
Old 06-16-2004, 09:27 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

1) Use /etc/modprobe.conf instead

2) Yes, just add those lines to /etc/rc.local

3) I think the file is at /usr/share/doc/lm_sensors-2.8.6/lm_sensors.init Copy that to /etc/rc.d/init.d/lm_sensors (there's also a file called lm_sensors.init.redhat in /usr/share/doc. It might be better to copy that over instead.)

I've just managed to get this working myself tonight.

Dave
 
Old 06-17-2004, 08:30 AM   #3
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks for your reply but i did what you said and i still have no sensors working. I haven't got lm_sensors so I created it and add these lines and i suppose i have to do chmod 777 lm_sensors.
 
Old 06-17-2004, 09:20 AM   #4
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Original Poster
Rep: Reputation: 30
I have just solved the problem. I haven't got /sbin in the PATH where is modprobe so I have to type /sbin/modprobe instead modprobe.

thanks for your help ilikejam
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lm-sensor doesn't detect any sensors chemdawg Linux - General 1 10-24-2005 12:56 PM
i2c and lm_sensors, sensors-detect johnnydangerous Fedora 2 03-15-2005 04:28 PM
kernel 2.6 sensors-detect OK but : Algorithm unavailable viga Linux - Software 5 02-22-2004 02:22 PM
sensors-detect not working for lmsensors TheOneAndOnlySM Linux - Software 1 11-01-2003 08:57 PM
sensors won't detect synaptical Linux - Software 5 07-11-2003 01:59 AM


All times are GMT -5. The time now is 10:16 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