lm_sensors and the 2.6 kernel
I have an ECS K75SA Pro mainboard, and I'm running kernel 2.6.0-test9.
I just found out about lm_sensors, but unfortunately I can't find information anywhere on how to use it with a 2.6 kernel. I looked through menuconfig, and I couldn't find anything about sensors or i2c anywhere. I'm running lm_sensors 2.6.5-5, and RedHat 9. Here's the output of sensors-detect Code:
Probing for PCI bus adapters... Thanks! Edit: I just noticed that I told it to load i2c-dev when it was already built into the kernel, but it still doesn't work if I tell it not to load it. I'm pretty sure that it's built into the kernel, because there are a few files beginning with i2c in dev. |
Get 2.8.2
It has 2.6 support, everything before it crashes and burns on 2.6 http://secure.netroedge.com/~lm78/ |
I did "make user" and "make user_install" for 2.8.2, which is all it said to do for a 2.5/2.6 kernel.
It still doesn't work though, I think the problem is the fact that the module for my motherboard (sis5595 chipset, the module was something like i2c_sis5595) wasn't built with the kernel, but I looked through the kernel config and couldn't find where you enable it. Where in 'make menuconfig' are the options pertainting to i2c and lm_sensors? |
make menuconfig ----> Device Drivers -----> Character Devices ----> I2C support
|
I found that, but it won't let me open "I2C Hardware Sensors Chip Support", whenever I choose select, it doesn't open it - it just reloads the I2C support screen.
Any idea why? |
Get the newest 2.6 kernel. That should fix it :)
|
I tried it on both test9 and test11.. there is still nothing under "I2C Hardware Sensors Chip Support"
Any idea why? |
Post the I2C part of your kernel .config file. You dont have something enabled that should be. You do have I2C support set as a module or built into the kernel?
|
Built as a module, the I2C part is below (at least I think that's all of it)
Code:
# I2C support |
at the top of menuconfig, make sure you select all those options for "prompt for incomplete drivers" and a bunch of other good stuff up there until you can see all the hidden things in the kernel config
|
That made them show up, thanks.
I actually thought of that earlier when I was in school, but I had completely forgotten about it once I got home. I still can't believe that I missed something so obvious.. |
Hmm, I've compiled the modules, but I get the following error when trying to run 'sensors'.
Code:
# sensors |
You need to mount sysfs here is a link.
Look at the part Sysfs file system http://thomer.com/linux/migrate-to-2.6.html |
That fixed it, thanks.
I never saw sysfs mentioned when I was migrating to 2.6, which is strange since it seems somewhat important. |
All times are GMT -5. The time now is 11:08 AM. |