LM Sensors Help, Can't access procfs/sysfs file
Unable to find i2c bus information;
Linux - SoftwareThis 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
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.
LM Sensors Help, Can't access procfs/sysfs file
Unable to find i2c bus information;
I installed lm sensors and its libraries via rpms made for mandrake 10. I am running Mandrake 10.0 official with the stock 2.6.3 kernel.
[rob@Oneniisama rob]$ sensors
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs!
For older kernels, make sure you have done 'modprobe i2c-proc'!
rob@Oneniisama rob]$ sensors -s
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs!
For older kernels, make sure you have done 'modprobe i2c-proc'!
I have an Asus A7n8x E Deluxe Motherboard.
is it possible to get LM sensors for this board and distro, or is this a lost cause?
I finally got lm_sensors working under Mdk 10.1 with an older Asus motherboard (ca. 1999--how ancient, in computer terms...) mainly by running sensors-detect MANY times with various "y" or "n" responses. I think it's important to respond "no" when it offers to install the i2c module--because that's already in the 2.6.x kernel, and to install it again is to confuse the system. You also probably do NOT want to cut and paste the stuff that sensors-detect instructs you to cut and paste, because that, too, will result in duplication.
But exactly what I did to finally get it to run, I cannot tell you. I just tried things till it did.
But now it's reporting screwy voltages that trigger alarms every second, so I've disabled it. Cannot find how to fix that, even by commenting out all the voltage lines in the configuration file that seem to apply to my setup.
Lm_sensors worked just fine under 9.2. Oh, well. I guess I can live without it.
OK, I just tried "sensors-detect" with lm_sensors STOPPED and it went ahead and started asking me how to proceed as normal.
But if I just gave the "sensors" command I got the response you copied in your first post here. Then I started up lm_sensors again and gave the "sensors" command and got the information (including the bogus voltage stuff that made me stop them in the first place).
So I wonder if you ever did "/etc/rc.d/init.d/lm_sensors start" as root. For it to start, the file "sensors.conf" has to be in the /etc directory, too. You might check to see if it's there first.
If it's not there, search for "sensors.conf.eg" on your system: it's a pre-made file that can be copied over to /etc under the name "sensors.conf" and then can be altered to suit your setup (with luck that I apparently don't have).
Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): y
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
I have a 2.6 kernel, do i have the nforce module built in or do i want to use the module it gives?
I agree it is VERY confusing. The comments in the pre-supplied sensors.conf file are even more confusing! The FAQ on the lm_sensors website are baffling in many places. I must say, though, that the people responsible for the lm_sensors project seem to be bending over backward to try to inform users and provide precise information--it's just that for average non-techie users like you and me, that doesn't quite get the job done. And this is one of those areas where it's hard or impossible to put things in "layman's" language, because it's all very technical and sometimes obscure and even self-contradictory by nature. So I applaud the lm_sensors team loudly, but at the same time their files aren't much help to me.
You DO have the ISA feature, the site assures me--every computer does, even though it's often not referred to by name any more; it's provided, and just about has to be, as a "legacy feature." So when it asks about the ISA probe I'd go ahead and do it.
Now that you can run sensors-detect, try it with various "nos" as well as some "yeses". That's what I did. And don't paste ANYTHING it recommends into your files. With the 2.6.x kernel this just screws things up, apparently.
I think I was about at the point you're at when, by trial and error, I got the thing to go. I just haven't figured out yet how to get rid of all those alarms from phony voltage readings. This is caused, apparently, by a motherboard that doesn't quite conform to how any of the ones they've tested work. I've got an old one, as I said.
Here is a page of FAQ that might help if you're patient enough.
sensors works, but i cant config it
i go to the asus asb100 section and try to change to values, but it doesnt recognize them
i even did the sensors-s as root, and then rebooted but thigns are still wacky.
You can add those lines to rc.sysinit. I suggest if you want to do that, put them at the bottom and put comment
lines (starting with #) to say you did it and when, for future reference, for you'll probably end up taking them out again!
I put them in, and did the other thing, and it didn't get lm_sensors to work. Only after I REMOVED all that stuff did they work--more or less. (The temperature and fan part work beautifully, but the voltages are all screwed up and give alarms every second, and I cannot figure out how to fix this.)
Do you have gkrellm (or other graphic front-end) installed? lm_sensors reads the values from the sensor chips, but having a graphical program (gkrellm) to display and configure the output makes things much easier.
Originally posted by Whiskers Works without having that stuff in either, but the changes i made in the config arent reflected in sensors.
Tried 2.8.8 version, it didnt work, so reverted back to 2.8.4
Let us know how 2.8.4 goes... I'm very interested that you mentioned the changes you made in the conf file are not reflected in the sensors. I made all sorts of changes in the conf file and it made ABSOLUTELY NO DIFFERENCE either. That seems really odd.
And I even ran sensors -s after making the changes, as the lm_sensors website instructs to do when you change the conf file, and then I ran "sensor" twice separated by five seconds, as they also instruct to do. (I got this information by reading responses to some trouble tickets.)
OK, I started to wonder if the sensors.conf file was even making any impact, so I renamed it and then replaced it with an empty (0 bytes) file named sensors.conf.
It made no difference to my readings at all. The temperatures and fan speeds are still fine, and the voltages still bogus.
So I filed a trouble ticket at the lm_sensors site.
Originally posted by jonr OK, I started to wonder if the sensors.conf file was even making any impact, so I renamed it and then replaced it with an empty (0 bytes) file named sensors.conf.
It made no difference to my readings at all. The temperatures and fan speeds are still fine, and the voltages still bogus.
So I filed a trouble ticket at the lm_sensors site.
The support persons at lm_sensors had me supply the complete sensors.conf file along with system data, and found that the "set" lines given in the via686a chip voltage section in the default file didn't work for my system. They promptly sent along lines to replace the default lines with, along with several additional ones; once I did that and ran sensors -s and then sensors, lm_sensors was doing its job correctly. No more alarms, no obviously messed-up voltage values, and I can once again display temperature and fan speed in gkrellm as I wanted to.
In the course of the investigation, they asked me to replace the Mandrake package with an 8.7 or later version from lm_sensors, which I did, but that in itself didn't fix the problem.
Very pleased by the clear instructions and speedy response I received from lm_sensors support!
If you suspect you have a similar problem, or would be interested in the troubleshooting procedures followed, the trouble-ticket thread can be read at:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.