Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50

Thread: How do I Install k10temp?

  1. #21
    Join Date
    Apr 2010
    Location
    Midwest
    Beans
    109
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I Install k10temp?

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


    ----------------------------------------

    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



    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?

  2. #22
    Join Date
    Aug 2010
    Beans
    3

    Re: How do I Install k10temp?

    Hi,

    I am using Acer Aspire 4530 laptop which has AMD Athlon X2 processor and Nvidia nForce MCP77MH.

    My laptop overheats. It doesn't reboot but it is evident from the heat it produces. Also, the fan always run at the same speed. I learnt from this forum that my laptop requires the k10temp module for managing the fan speed automatically to cool the system. I did the steps for building the kernel module and inserted the module. However, the 'sensors' command shows the following output:

    Code:
    harsha@harsha-laptop:~/build/k10temp$ sudo insmod k10temp.ko
    harsha@harsha-laptop:~/build/k10temp$ sensors
    acpitz-virtual-0
    Adapter: Virtual device
    temp1:       +61.0°C  (crit = +105.0°C)
    Does the above output mean that k10temp isn't working with my motherboard?

    Thanks,
    Harsha.

  3. #23
    Join Date
    Aug 2010
    Beans
    2

    Re: How do I Install k10temp?

    I don't think this is giving me the correct temperature.

    Code:
    $ sensors
    k10temp-pci-00c3
    Adapter: PCI adapter
    temp1:       +22.0°C

  4. #24
    Join Date
    May 2008
    Beans
    2,525

    Re: How do I Install k10temp?

    Thanks for the guide Penguin Guy, it worked fine on Ultimate Edition 2.7 x64 which is based on Ubuntu 10.04 x64.
    I downloaded the k10temp.c directly from here
    http://khali.linux-fr.org/devel/misc/k10temp/
    Other than that I just followed your guide skipping "4. Download the Linux headers:" part.

    And added it to the sensors applet on the top panel.
    AMD Phenom II 955x4 BE with C3 revision
    34 degrees C. Plugging away on boinc set at 80% of CPU time.

    From what it says here: http://www.lm-sensors.org/wiki/Devices
    it looks like it will be included in the 2.6.33 kernel and up.

    Ultimate Edition Links

  5. #25
    Join Date
    Nov 2006
    Location
    Belgium baby
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I Install k10temp?

    Just so you know, this also works with the k10temp source code in 2.6.35, and the advantage is you get an updated driver .

  6. #26
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I Install k10temp?

    Quote Originally Posted by Clever_Username View Post
    Quote Originally Posted by Penguin Guy View Post
    Snip.
    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?
    In that case choose the latest appropriate version from the list (most people will want a generic kernel):
    Code:
    $ sudo apt-get install linux-headers
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package linux-headers is a virtual package provided by:
      linux-headers-2.6.32-24-server 2.6.32-24.42
      linux-headers-2.6.32-24-preempt 2.6.32-24.42
      linux-headers-2.6.32-24-generic 2.6.32-24.42
      linux-headers-2.6.32-24 2.6.32-24.42
      linux-headers-2.6.31-11-rt 2.6.31-11.154
      linux-headers-2.6.32-23-server 2.6.32-23.37
      linux-headers-2.6.32-23-preempt 2.6.32-23.37
      linux-headers-2.6.32-23-generic 2.6.32-23.37
      linux-headers-2.6.32-23 2.6.32-23.37
      linux-headers-2.6.32-22-server 2.6.32-22.36
      linux-headers-2.6.32-22-preempt 2.6.32-22.36
      linux-headers-2.6.32-22-generic 2.6.32-22.36
      linux-headers-2.6.32-22 2.6.32-22.36
      linux-headers-2.6.31-10-rt 2.6.31-10.153
      linux-headers-2.6.32-21-server 2.6.32-21.32
      linux-headers-2.6.32-21-preempt 2.6.32-21.32
      linux-headers-2.6.32-21-generic 2.6.32-21.32
      linux-headers-2.6.32-21 2.6.32-21.32
    You should explicitly select one to install.
    E: Package linux-headers has no installation candidate
    $ sudo apt-get install linux-headers-2.6.32-24-generic
    P.S. To make your post more readable please avoid quoting huge posts in your response, try to only quote the relevant parts. It would also help if you put your terminal output in code boxes. Thanks.

  7. #27
    Join Date
    Dec 2005
    Beans
    13

    Re: How do I Install k10temp?

    Seems like I have to redo this process this every time I get a kernel upgrade.

    Anybody know a way around that?

    I guess I can just do it while I'm in the console mode reinstalling my NVIDIA drivers too....

  8. #28
    Join Date
    Oct 2008
    Location
    Australia
    Beans
    45
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I Install k10temp?

    Hi.

    I hope someone knows how to fix this, the problem is nearly every time i

    restart my rig the sensors config file resets to the default and i have to

    go in and rename everything for temps, fans, volts the lot how to stop it

    happening, my other rig doesn't do it!

    The one playing up is on 10.04lts if that helps, the other rig is still on 8.04lts.

  9. #29
    Join Date
    Feb 2010
    Beans
    2
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How do I Install k10temp?

    This was cool to run across (pun intended lol).

    Yes indeed, it does look like it's going to be released with the next kernel. Aamof, you can download the most recent kernel and get a more recent version of k10temp.c. I dl'd 2.6.35 from linux.org, found the k10temp.c, and used it for the excellent howto by Penguin Guy, using the most recent linux-headers (linux-headers-2.6.32-24-generic).

    Outpt from sensors for an AMD 1055T 6-core on an M4A88TD-V EVO/USB3:

    atk0110-acpi-0
    Adapter: ACPI interface
    Vcore Voltage: +1.18 V (min = +0.85 V, max = +1.60 V)
    +3.3 Voltage: +3.40 V (min = +2.97 V, max = +3.63 V)
    +5 Voltage: +5.02 V (min = +4.50 V, max = +5.50 V)
    +12 Voltage: +12.28 V (min = +10.20 V, max = +13.80 V)
    CPU FAN Speed: 3552 RPM (min = 600 RPM)
    CHASSIS FAN Speed: 0 RPM (min = 600 RPM)
    POWER FAN Speed: 0 RPM (min = 600 RPM)
    CPU Temperature: +31.0°C (high = +60.0°C, crit = +95.0°C)
    MB Temperature: +30.0°C (high = +45.0°C, crit = +75.0°C)

    k10temp-pci-00c3
    Adapter: PCI adapter
    temp1: +19.5°C (high = +70.0°C, crit = +99.5°C)

    So yeah, it only shows one core - but the CPU is one solid chunk - not six chunks. It makes sense to have one temp.

    Thanks penguin guy!

  10. #30
    Join Date
    Oct 2008
    Location
    Australia
    Beans
    45
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I Install k10temp?

    Hi.

    Well since the update for 10.04 the other day the k10temp module has

    stopped working, so do i have to run threw the whole install thing again or

    is there a simple way/short cut to get it going again since all the files

    should still be their.

    help please.

Page 3 of 5 FirstFirst 12345 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •