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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
01-24-2004, 02:13 PM
#1
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Rep:
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?
01-24-2004, 02:21 PM
#2
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
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
01-24-2004, 02:35 PM
#3
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
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.
01-24-2004, 02:41 PM
#4
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
Just add them as shown at the end of the files.
when you do "cp" make sure you are still in the source directory.
01-24-2004, 02:45 PM
#5
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
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?
01-24-2004, 04:36 PM
#6
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
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
01-24-2004, 04:54 PM
#7
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
Ok so, upon restarting, it says "initializing sensor modules" and then "No sensors found!". How can that be?
01-25-2004, 03:15 PM
#8
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
Bump
01-25-2004, 03:37 PM
#9
Member
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Rep:
maybe the modules aren't being started as they should.... try ls and dump the output here!
01-25-2004, 03:43 PM
#10
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
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?
01-25-2004, 03:45 PM
#11
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
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')
01-27-2004, 05:47 PM
#12
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
bump
01-27-2004, 07:21 PM
#13
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
I can give a rundown of what Ive done if anyone will thinks it will help them figure this out.
01-28-2004, 09:31 AM
#14
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
Ive got the 2.6 kernel now, and I still get the "No sensors found" at boot.
01-28-2004, 01:01 PM
#15
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
Try installing lm_sensors from source by following the instructions with the source code.
All times are GMT -5. The time now is 09:04 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News