View previous topic :: View next topic |
Author |
Message |
Rodney n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Feb 2004 Posts: 13
|
Posted: Mon Apr 19, 2004 6:58 pm Post subject: lm-sensors with < 2.6.5 kernels |
|
|
Okay, most of you probably know this, but I had to figure it out myself, so maybe this will help a few people.
First, even though lm_sensors 2.8.6 is masked in Portage for all but AMD64 (I know, it can be unmasked, but I'd rather not put the package onto my system until the ebuild has been figured out), we can still use the tgz on the website (http://secure.netroedge.com/~lm78/download.html) without installing everything. So here are the steps:
1) Download lm_sensors-2.8.6.tar.gz from here: http://secure.netroedge.com/~lm78/archive/lm_sensors-2.8.6.tar.gz
2) Decompress it somewhere
3) Execute sensors-detect by doing this, where "./" is whatever directory you decompressed the tgz into: Code: | ./lm_sensors-2.8.6/prog/detect/sensors-detect |
You may need to have some modules in order for sensors-detect to run properly, if they are not enabled, do step 5 and then return to step 3.
When it says "To load everything that is needed, add this to some /etc/rc* file:",
note the modules that is says to have added. These are the modules that you need to enable in your kernel config in the i2c section.
4) Say "no" when it asks you if you want generate /etc/sysconfig/lm_sensors
5) Exit out, go to /usr/src/linux, enable the proper modules, recompile the kernel, and reboot.
6) Make sure you have gkrellm2, or another compatible sensor program (note that, in my experience, ksensors is NOT compatible with 2.6 kernels).
7) If everything works, you can delete the tarball and the lm_sensors directory.
Let me know if this doesn't work. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Little Nemo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/211899005440682e152dea1.gif)
Joined: 29 Mar 2004 Posts: 623 Location: Berlin, Germany
|
Posted: Mon Apr 19, 2004 7:38 pm Post subject: |
|
|
I don't really understand why you hesitate to use the existing ebuild. "emerge /usr/portage/sys-apps/lm-sensors/lm-sensors-2.8.6" worked well on my system, and you have the benefit of having the package adapted to the gentoo system layout. You can start and stop /etc/init.d/lm_sensors, and after "sensors-detect" has detected the sensors for your system, all you need to do is edit /etc/conf.d/lm_sensors just as you would on a non-AMD64-system. I don't think emerging this package installs anything I would not want on my system. Can you explain what's wrong with this approach?
[edit]Oops, sorry, I mis-read your post. lm-sensors-2.8.6 is masked for all but the AMD64. Just the opposite of what I'm used to. My mistake.[/edit] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Carlo Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/20991155413e41b8130c9ee.png)
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Apr 19, 2004 10:29 pm Post subject: |
|
|
Little Nemo wrote: | "emerge /usr/portage/sys-apps/lm-sensors/lm-sensors-2.8.6" |
emerge /path/to/ebuild won't add the specific ebuild to world. Don't do this!
Carlo _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Tue Apr 20, 2004 7:01 am Post subject: Re: lm-sensors with < 2.6.5 kernels |
|
|
Rodney wrote: | First, even though lm_sensors 2.8.6 is masked in Portage for all but AMD64 (I know, it can be unmasked, but I'd rather not put the package onto my system until the ebuild has been figured out) |
I don't think that lm-sensors > 2.8.1 are masked because of problems with the ebuild. It is more a question of not messing up too much for users of 2.4 kernels. There was once an effort to keep stable versions of i2c/lm-sensors matching patches in the current gentoo-sources. However, the updated i2c support was dropped from gentoo-sources 2.4.25. The current situation is that users of gentoo-sources-2.4.22-rx should have a hassle free i2c/lm-sensors experience. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cryptodev n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Apr 2004 Posts: 53
|
Posted: Thu Apr 22, 2004 7:52 am Post subject: |
|
|
When can we expect 2.6.5 non-AMD kernel users to have a hassle free experience? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Thu Apr 22, 2004 9:08 am Post subject: |
|
|
My guess is when 2.6 will be the officially supported kernel version. Nevertheless, I don't think adding Code: | sys-apps/lm-sensors ~your-arch | to /etc/portage/package.keywords much trouble. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cryptodev n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Apr 2004 Posts: 53
|
Posted: Thu Apr 22, 2004 3:21 pm Post subject: |
|
|
There is no /etc/portage directory, and I searched for the file 'package.keywords' and found nothing. What gives? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MagicMonkey n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey2.gif)
Joined: 17 Dec 2003 Posts: 37 Location: UK
|
Posted: Thu Apr 22, 2004 3:37 pm Post subject: |
|
|
cryptodev wrote: | There is no /etc/portage directory, and I searched for the file 'package.keywords' and found nothing. What gives? |
You need to create these by hand; portage seamlessly starts using them if they are there. Ditto for the portage overlay directory (/usr/local/portage by default). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|