Quote Originally Posted by Penguin Guy View Post
  1. Make a new directory and open it:
    mkdir -p 'k10temp'
    cd 'k10temp'
  2. Download the file as k10temp.c:
    wget -O 'k10temp.c' 'http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080718/d51be536/attachment.bin'
  3. Create a makefile:
    echo 'obj-m := k10temp.o
    KDIR := /lib/modules/$(shell uname -r)/build
    PWD := $(shell pwd)
    $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules' > Makefile
  4. Download the Linux headers:
    sudo apt-get install linux-headers
  5. Run the make file:
    sudo make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
  6. Temporarily add the k10temp module:
    sudo insmod k10temp.ko
  7. Test if the sensors work (do not continue if the sensors do not work):
  8. Permanently add the k10temp module:
    sudo cp k10temp.ko /lib/modules/$(uname -r)/kernel/drivers/hwmon
  9. Rebuild modules.dep file:
    sudo depmod
  10. Do some modprobing stuff:
    sudo modprobe k10temp
  11. Add k10temp to the startup list:
    echo 'k10temp' | sudo tee -a /etc/modules >/dev/null
  12. Restart your computer.
  13. Test if the sensors work:


I'm trying to get my fans to adjust their speed according to the temperature in my computer. I followed a guide and installed lm-senesors, but when I ran it (and after answering yes to all the questions) I receive this output:
#----cut here----
# Chip drivers
# no driver for AMD K10 thermal sensors yet
#----cut here----
But I can see a lot about k10temp 'patches' on the internet, I was wondering if installing one of these will get the sensor working and if so, how I can actually install the patch. I'm asking because I don't know much about any of this and would rather not have my CPU melt because of some stupid mistake I made with the fan driver.

My Hardware:
  • Case: Antec 300
  • PSU: Antec EarthWatts 750W
  • Motherboard: Gigabyte GA-MA790FXT-UD5P 790FX
  • CPU: AMD Phenom II X3 710 2.6GHz
  • GPU: ATi Radeon 3850

Hi, I've been trying to get this thing to work for a while now. When I do the apt-get install linux-headers, I get :
You should explicitly select one to install.
E: Package linux-headers has no installation candidate

And then when I issue the 'sensors' command, I get this:
mcdonald@mcdonald-desktop:~/k10temp$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

Any ideas?