All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] How to compile k10temp?
@ 2010-02-16 20:39 Mark Preston
  2010-02-17  9:55 ` Artem S. Tashkinov
  2010-02-17 18:01 ` Jean Delvare
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Preston @ 2010-02-16 20:39 UTC (permalink / raw)
  To: lm-sensors


I have an  MSI motherboard (K9N6PGM-V2) and AMD cpu Athlon II X4 620 (4 
core cpu). I have found that some people have LM-sensors for K10 working 
in Ubuntu (Karmic, v 9.10) and I downloaded the driver: 
lm_sensors-3.1.2.tar.bz2 and following the instructions, tried make all, 
but the terminal returned error messages.

I read at the wiki about AMD

Family 10h CPU, family 11h CPU

and drive k10temp which is in kernel 2.6.33.

My OS: Karmic:~$ uname -r = 2.6.31-19-generic

so will k10 and LM work if I compile a .33 kernel, or will it be OK if I 
compile the K10 into the .31 kernel?

I'm not a programmer, but I can do some compiling tasks, as I'm not 
unfamiliar with ./ and such. I just need to know what order to issue the 
commands in and which ones need 'sudo' in front of them.

Can someone please point me to a tutorial or how-to and help me compile 
this into my OS?

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] How to compile k10temp?
  2010-02-16 20:39 [lm-sensors] How to compile k10temp? Mark Preston
@ 2010-02-17  9:55 ` Artem S. Tashkinov
  2010-02-17 18:01 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Artem S. Tashkinov @ 2010-02-17  9:55 UTC (permalink / raw)
  To: lm-sensors

On 02/17/2010 01:39 AM, Mark Preston wrote:
>
> I have an MSI motherboard (K9N6PGM-V2) and AMD cpu Athlon II X4 620 (4
> core cpu). I have found that some people have LM-sensors for K10 working
> in Ubuntu (Karmic, v 9.10) and I downloaded the driver:
> lm_sensors-3.1.2.tar.bz2 and following the instructions, tried make all,
> but the terminal returned error messages.
>
> I read at the wiki about AMD
>
> Family 10h CPU, family 11h CPU
>
> and drive k10temp which is in kernel 2.6.33.
>
> My OS: Karmic:~$ uname -r = 2.6.31-19-generic
>
> so will k10 and LM work if I compile a .33 kernel, or will it be OK if I
> compile the K10 into the .31 kernel?
>
> I'm not a programmer, but I can do some compiling tasks, as I'm not
> unfamiliar with ./ and such. I just need to know what order to issue the
> commands in and which ones need 'sudo' in front of them.
>
> Can someone please point me to a tutorial or how-to and help me compile
> this into my OS?
>

First of all lm_sensors-3.1.2.tar.bz2 is not a driver, it's a user space 
package for querying and showing data from Linux kernel. Secondly, on 
Ubuntu you don't have to download compile and install lm-sensors 
package, 'cause it's already there:

Run any console application (like gnome terminal and konsole), then

$ sudo apt-get update
$ sudo apt-get install lm-sensors
$ sudo apt-get upgrade (reboot if you have a new kernel installed)

The next thing to do is to run in console:

$ sudo sensors-detect

and given that sensors-detect detects and installs its configuration you 
need to:

$ sudo /etc/init.d/lm_sensors restart (or something like that - I'm not 
a Debian/Ubuntu user).

-- 

Best wishes,

Artem

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] How to compile k10temp?
  2010-02-16 20:39 [lm-sensors] How to compile k10temp? Mark Preston
  2010-02-17  9:55 ` Artem S. Tashkinov
@ 2010-02-17 18:01 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2010-02-17 18:01 UTC (permalink / raw)
  To: lm-sensors

Hi Mark,

On Tue, 16 Feb 2010 12:39:01 -0800, Mark Preston wrote:
> 
> I have an  MSI motherboard (K9N6PGM-V2) and AMD cpu Athlon II X4 620 (4 
> core cpu). I have found that some people have LM-sensors for K10 working 
> in Ubuntu (Karmic, v 9.10) and I downloaded the driver: 
> lm_sensors-3.1.2.tar.bz2 and following the instructions, tried make all, 
> but the terminal returned error messages.
> 
> I read at the wiki about AMD
> 
> Family 10h CPU, family 11h CPU
> 
> and drive k10temp which is in kernel 2.6.33.
> 
> My OS: Karmic:~$ uname -r = 2.6.31-19-generic
> 
> so will k10 and LM work if I compile a .33 kernel, or will it be OK if I 
> compile the K10 into the .31 kernel?

Both should work, but the latter is probably easier.

> I'm not a programmer, but I can do some compiling tasks, as I'm not 
> unfamiliar with ./ and such. I just need to know what order to issue the 
> commands in and which ones need 'sudo' in front of them.
> 
> Can someone please point me to a tutorial or how-to and help me compile 
> this into my OS?

Copy the two files from:
http://khali.linux-fr.org/devel/misc/k10temp/
to a temporary directory, then run:
$ make
then as root:
# insmod k10temp.ko

And you should be done. Note that you will need a kernel building
environment installed (make, gcc and kernel-headers or similar.)

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-17 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 20:39 [lm-sensors] How to compile k10temp? Mark Preston
2010-02-17  9:55 ` Artem S. Tashkinov
2010-02-17 18:01 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.