Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Yes it detects that I should use the via686 driver, the same one as the other guy in this thread uses, but it still doesnt start at boot, and when I do 'sensors' in the shell, I still get no sensors found.
Originally posted by Kramer Ok, I have everything compiled in like that, but I did 'urpmi' to get lm_sensors off the Mandrake cd's. It is version 2.8.4 I think. How can I find where it installed it to, and is there anything else I can do? The 2.8.5 I downloaded doesnt compile at all.
Here is a good Linux Journal article on how to enable health monitoring with lm_sensors:
I actually just used the article as a guide as installing lm_sensors. I did not follow all the steps outlined specifically editing the config files as these seem to have been done automatically by running sensors-detect.
In Mandrake 10 here is what I did from my recollection (both for my Intel PERLK motherboard and on my ASUS A7N8X D motherboard):
1. Use Mandrake's built in GUI install utility (rpmdrake) to look for and then install lm_sensors.
2. On the console, log in as SU then type "sensors-detect" and hit return.
3. Follow the prompts mostly accepting defaults. If I recall right on my A7N8X D motherboard I had to install the ISA options so the Temps would register.
4. I think sensors-detect will automatically update the config files.
5. To test if sensors work, just type sensors on the console.
6. Updated gkrellm which now shows sensors options.
Last edited by cyclocommuter; 09-12-2004 at 11:52 AM.
I don't see any i2c interface module for your chipset. Try doing "modprobe i2c-viapro" or "modprobe i2c-via".
Load one and run "sensors" after you load it. If there's no change, try the other
edit: after checking lm_sensors site, it looks like you need the i2c-viapro module
This program will help you determine which I2C/SMBus modules you need to
load to use lm_sensors most effectively. You need to have i2c and
lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-*
files, for most things.
If you have patched your kernel and have some drivers built in, you can
safely answer NO if asked to load some modules. In this case, things may
seem a bit confusing, but they will still work.
We can start with probing for (PCI) I2C or SMBus adapters.
You do not need any special privileges for this.
Do you want to probe now? (YES/no): yes
Probing for PCI bus adapters...
Use driver `i2c-viapro' for device 00:07.4: VIA Technologies VT82C686 Apollo ACPI
Probe succesfully concluded.
We will now try to load each adapter module in turn.
Module `i2c-viapro' already loaded.
Do you now want to be prompted for non-detectable adapters? (yes/NO): 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 already loaded.
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. That often
includes address 0x69 (clock chip).
Next adapter: ELV Parallel port adaptor (Algorithm unavailable)
Do you want to scan it? (YES/no/selectively): no
Some chips are also accessible through the ISA bus. ISA probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. Do you want to scan the ISA bus? (YES/no): yes
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Success!
(confidence 9, driver `via686a')
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!
Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. Do you want to scan for Super I/O sensors? (YES/no): no
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
I will now generate the commands needed to load the I2C modules.
Sometimes, a chip is available both through the ISA bus and an I2C bus.
ISA bus access is faster, but you need to load an additional driver module
for it. If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)? isa
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:
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
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
[root@localhost matthew]#
Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. Do you want to scan for Super I/O sensors? (YES/no): no
You should do a scan of the I/O ports. There might be a chip that you're not picking up.
Run the program again with the I/O scan and post the results from the following line down
Code:
To make the sensors modules behave correctly, add these lines to /etc/modules.conf:
Ive added those lines exactly to /etc/modules.conf:
Quote:
probeall usb-interface usb-uhci
above snd-via82xx snd-pcm-oss
alias eth0 8139too
alias sound-slot-0 snd-via82xx
alias char-major-89 i2c-dev
Now for the output:
Quote:
Some Super I/O chips may also contain sensors. Super I/O probes are
typically a bit more dangerous, as we have to write to I/O ports to do
this. Do you want to scan for Super I/O sensors? (YES/no):
Probing for `ITE 8712F Super IO Sensors'
Failed! (0xffff)
Probing for `SMSC 47M10x Super IO Fan Sensors'
Failed!
Probing for `SMSC 47M14x Super IO Fan Sensors'
Failed!
Probing for `VT1211 Super IO Sensors'
Failed!
Probing for `Winbond W83627HF Super IO Sensors'
Failed!
Probing for `Winbond W83627THF Super IO Sensors'
Failed!
Probing for `Winbond W83637HF Super IO Sensors'
Failed!
Probing for `Winbond W83697HF Super IO Sensors'
Failed!
Probing for `Winbond W83697UF Super IO PWM'
Failed!
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
I will now generate the commands needed to load the I2C modules.
Sometimes, a chip is available both through the ISA bus and an I2C bus.
ISA bus access is faster, but you need to load an additional driver module
for it. If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)? isa
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:
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
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
[root@localhost matthew]#
Lastly, I copied the lm_sensors.init file from /your/home/dir/lm_sensors-2.8.4/prog/init/lm_sensors.init to
/etc/rc.d/init.d/lm_sensors (note the name change). Make sure the file is executable. Then reboot.
If that doesn't work, I'm pretty much out of ideas. The last thing I can think of to try is run "sensors-detect" again
and include the other test you left out:
Code:
Next adapter: ELV Parallel port adaptor (Algorithm unavailable)
Do you want to scan it? (YES/no/selectively): no
Lastly, I copied the lm_sensors.init file from /your/home/dir/lm_sensors-2.8.4/prog/init/lm_sensors.init to
/etc/rc.d/init.d/lm_sensors (note the name change). Make sure the file is executable. Then reboot.
I have no idea where the /prog/init/lm_sensors.init is because I did urpmi, and I dont know where it installed it to. Now, there is an lm_sensors script in the /etc/rc.d/init.d directory. I dont think its the right one though. Any other advice?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.