LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-24-2004, 02:13 PM   #1
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Question Can someone help me with lm_sensors?


Ive run the sensors detect, and it detected my hardware sensors, and this is the output that i get:

Quote:
#----cut here----
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe via686a
#----cut here----

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

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

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): yes
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.

How do I know which files to put that stuff in?
 
Old 01-24-2004, 02:21 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
To /etc/rc.local add:
Code:
# I2C adapter drivers
modprobe i2c-isa
# I2C chip drivers
modprobe via686a
To /etc/modules.conf add:
Code:
# I2C module options
alias char-major-89 i2c-dev
Then:
cp prog/init/lm_sensors.init /etc/rc.d/init.d/lm_sensors
 
Old 01-24-2004, 02:35 PM   #3
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
When I try and do the copy it says
Quote:
cp: cannot stat `prog/init/lm_sensors.init': No such file or directory
Did I goof somewhere?
Also, do I add the pound signs in with those lines, or take them out, and does it matter where I add them in at? I just added them to the bottom of the text that was already there.
 
Old 01-24-2004, 02:41 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just add them as shown at the end of the files.

when you do "cp" make sure you are still in the source directory.
 
Old 01-24-2004, 02:45 PM   #5
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by david_ross
Just add them as shown at the end of the files.

when you do "cp" make sure you are still in the source directory.
I did urpmi lm_sensors to install it. How can I find the source directory where they installed to?
 
Old 01-24-2004, 04:36 PM   #6
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Ok, it looks like the /etc/rc.d/init.d/lm_sensors shell scripts are already there. Mabye I just managed to goof somewhere, and still wind up right
 
Old 01-24-2004, 04:54 PM   #7
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Ok so, upon restarting, it says "initializing sensor modules" and then "No sensors found!". How can that be?
 
Old 01-25-2004, 03:15 PM   #8
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Bump
 
Old 01-25-2004, 03:37 PM   #9
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
maybe the modules aren't being started as they should.... try ls and dump the output here!
 
Old 01-25-2004, 03:43 PM   #10
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
This is the output of lsmod:

Quote:
Module Size Used by Not tainted
parport_pc 26728 1 (autoclean)
lp 8224 0 (autoclean)
parport 36320 1 (autoclean) [parport_pc lp]
snd-seq-midi 5472 0 (autoclean) (unused)
snd-seq-oss 34176 0 (unused)
snd-seq-midi-event 5704 0 [snd-seq-midi snd-seq-oss]
snd-seq 45584 2 [snd-seq-midi snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 44868 1
snd-mixer-oss 16056 0 [snd-pcm-oss]
snd-via82xx 15500 1
snd-ac97-codec 43552 0 [snd-via82xx]
snd-pcm 81888 0 [snd-pcm-oss snd-via82xx]
snd-timer 19528 0 [snd-seq snd-pcm]
snd-mpu401-uart 4684 0 [snd-via82xx]
snd-rawmidi 18560 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 6072 0 [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi]
snd-page-alloc 8084 0 [snd-via82xx snd-pcm]
snd 43140 0 [snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6564 0 [snd]
ds 8744 1
yenta_socket 13408 1
pcmcia_core 56192 0 [ds yenta_socket]
af_packet 15432 1 (autoclean)
sr_mod 17624 0 (autoclean)
floppy 56156 0
8139too 18184 1 (autoclean)
mii 3976 0 (autoclean) [8139too]
nls_iso8859-1 3516 1 (autoclean)
ntfs 79884 1 (autoclean)
supermount 16384 2 (autoclean)
ide-cd 35520 0
cdrom 33536 0 [sr_mod ide-cd]
ide-scsi 12208 0
scsi_mod 105716 2 [sr_mod ide-scsi]
usbmouse 3192 0 (unused)
keybdev 2880 0 (unused)
mousedev 5364 1
hid 21956 0 (unused)
input 5792 0 [usbmouse keybdev mousedev hid]
printer 8896 0
usb-uhci 25964 0 (unused)
usbcore 76992 1 [usbmouse hid printer usb-uhci]
rtc 8444 0 (autoclean)
I dont see any sensors in there. Did I goof somewhere along the line?
 
Old 01-25-2004, 03:45 PM   #11
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
I do get this when probing the ISA bus, so I know it has them
Quote:
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Success!
(confidence 9, driver `via686a')
 
Old 01-27-2004, 05:47 PM   #12
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
bump
 
Old 01-27-2004, 07:21 PM   #13
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
I can give a rundown of what Ive done if anyone will thinks it will help them figure this out.
 
Old 01-28-2004, 09:31 AM   #14
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Ive got the 2.6 kernel now, and I still get the "No sensors found" at boot.
 
Old 01-28-2004, 01:01 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try installing lm_sensors from source by following the instructions with the source code.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lm_sensors Joey.Dale Linux - Software 14 01-24-2004 04:44 PM
lm_sensors Joey.Dale Slackware 3 12-23-2003 03:04 PM
How do I use lm_sensors? Kramer Linux - Hardware 13 11-15-2003 08:05 PM
lm_sensors CanadianPenguin Linux - Software 5 10-26-2003 02:13 PM
Trying to use lm_sensors... Kramer Linux - Hardware 5 10-10-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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