- Make a new directory and open it:
Code:
mkdir -p 'k10temp'
cd 'k10temp'
- Download the file as k10temp.c:
Code:
wget -O 'k10temp.c' 'http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080718/d51be536/attachment.bin'
- Create a makefile:
Code:
echo 'obj-m := k10temp.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules' > Makefile
- Download the Linux headers (you may need to specify the version):
Code:
sudo apt-get install linux-headers
- Run the make file:
Code:
sudo make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
- Temporarily add the k10temp module:
Code:
sudo insmod k10temp.ko
- Test if the sensors work (do not continue if the sensors do not work):
- Permanently add the k10temp module:
Code:
sudo cp k10temp.ko /lib/modules/$(uname -r)/kernel/drivers/hwmon
- Rebuild modules.dep file:
- Do some modprobing stuff:
Code:
sudo modprobe k10temp
- Add k10temp to the startup list:
Code:
echo 'k10temp' | sudo tee -a /etc/modules >/dev/null
- Restart your computer.
- Test if the sensors work:
Original Question:
----------------------------------------
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:
Code:
#----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
Bookmarks