Page 50 of 51 FirstFirst ... 4048495051 LastLast
Results 491 to 500 of 504

Thread: HowTo: Undervolt your notebook CPU for longer battery life

  1. #491
    Join Date
    Apr 2006
    Location
    Stockholm
    Beans
    43
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Great info, allthough it didn't do the trick for me. Everything seems to be ok: i changed the file so that it pointed to the right kernel, saved, repeated the install process whithout any errors, everything looked right. But when I try to do

    cat sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids

    it says that it can't find that file, and it's right, the folder "cpufreq" doesn't exist in cpu0. It does exist in "cpu" however, but is empty.

    What can be done about this?

    /Erik

  2. #492
    Join Date
    Mar 2011
    Beans
    3

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    I found a new guide that also includes the graphiocal tool to set VIDs... take a look here!

    Cheers!

  3. #493
    Join Date
    Jul 2008
    Beans
    73

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Hi.

    I'm having troubles to follow the steps on this guide: http://openmindedbrain.info/09/05/20...-04-lucid-lts/


    I manage to get to step 2 ok:
    Code:
    $ uname -r
    2.6.32-29-generic-phc
    But on step 3 i get:
    (I've used the tar.bz2 file suggested on the how-to)
    Code:
    $ sudo make prepare
    [sudo] password for marco: 
    FOUND AVAILABLE PATCHSET. PREPARING.
    patching file phc-intel.c
    Code:
    $ sudo make
    make -C /lib/modules/`uname -r`/build SUBDIRS= modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-29-generic-phc'
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-x86
    make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'.  Stop.
    make[1]: *** [prepare0] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-29-generic-phc'
    make: *** [phc-intel.ko] Error 2
    Code:
    $sudo make install
    make -C /lib/modules/`uname -r`/build SUBDIRS= modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-29-generic-phc'
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-x86
    make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'.  Stop.
    make[1]: *** [prepare0] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-29-generic-phc'
    make: *** [phc-intel.ko] Error 2
    So please help me as my notebook is getting too hot even after a good cleanup. And I don't know much about those kernel errors :/


    well.. I think I figured it out. Just comparing with other how-to suddenly it worked. Thanks anyway.
    Last edited by ursoouindio; March 11th, 2011 at 04:29 AM.

  4. #494
    Join Date
    Jul 2008
    Beans
    73

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    I have undervolted my processor, it is now cooler and quieter

    But, I noticed I'm still getting the 'normal' kernel updates and compiling them. Just after a while I download the phc version.

    As new kernels are released all the time, it seems that I get half the time without the undervolting on my notebook.

    How to disable the 'normal' kernel upgdates and leave just the customized phc one?

    Thanks

  5. #495
    Join Date
    Apr 2010
    Beans
    2

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Hi.
    Laptop: Lenovo Thinkpad x220
    CPU: i7-2620M
    Code:
    $ cat /proc/cpuinfo
    processor    : 0
    vendor_id    : GenuineIntel
    cpu family    : 6
    model        : 42
    model name    : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
    stepping    : 7
    cpu MHz        : 800.000
    cache size    : 4096 KB
    physical id    : 0
    siblings    : 4
    core id        : 0
    cpu cores    : 2
    apicid        : 0
    initial apicid    : 0
    fdiv_bug    : no
    hlt_bug        : no
    f00f_bug    : no
    coma_bug    : no
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 13
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
    bogomips    : 5381.84
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 36 bits physical, 48 bits virtual
    power management:

    I downloaded and installed the kernel
    Code:
    $ uname -r
    2.6.38-8-generic-pae-phc
    I downloaded from here http://aur.archlinux.org/packages.php?ID=24980 phc-intel-pack-rev2.tar.bz2, compiled and instlled the phc module:
    Code:
    $ lsmod | grep phc
    phc_intel              17942  1 
    mperf                  12603  1 phc_intel
    After reboot i have this:
    Code:
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_version
    0.3.2:2
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_fids
    34 27 24 22 20 18 16 14 12 10 8
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
    0 0 0 0 0 0 0 0 0 0 0 
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
    0 0 0 0 0 0 0 0 0 0 0
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_controls
    34:0 27:0 24:0 22:0 20:0 18:0 16:0 14:0 12:0 10:0 8:0
    Where did I go wrong?
    Thanks in advance,
    Alex.


    Update .
    Compile with "make brave"

    Code:
    $ ls /sys/devices/system/cpu/cpu0/cpufreq/phc_*
    /sys/devices/system/cpu/cpu0/cpufreq/phc_default_rawcontrols
    /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
    /sys/devices/system/cpu/cpu0/cpufreq/phc_rawcontrols
    /sys/devices/system/cpu/cpu0/cpufreq/phc_version
    /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_rawcontrols
    00002200 00001b00 00001800 00001600 00001400 00001200 00001000 00000e00 00000c00 00000a00 00000800
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
    0 0 0 0 0 0 0 0 0 0 0
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_rawcontrols
    00002200 00001b00 00001800 00001600 00001400 00001200 00001000 00000e00 00000c00 00000a00 00000800
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_version
    0.3.199-2
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
    0 0 0 0 0 0 0 0 0 0 0
    Last edited by Axa-Ru; August 15th, 2011 at 11:09 AM.

  6. #496
    Join Date
    Jun 2006
    Beans
    16

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by Axa-Ru View Post
    Hi.
    Laptop: Lenovo Thinkpad x220

    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
    0 0 0 0 0 0 0 0 0 0 0
    $ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
    0 0 0 0 0 0 0 0 0 0 0
    I have exactly the same ThinkPad and the same problem. Googling gives only the same reports with X220.

  7. #497
    Join Date
    Jun 2006
    Beans
    16

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Also you might be interested in what I've found so far.

    1. Undervolting of i7 2620m seems to be not possible. Or at least so far I'm not able to find a solution.
    2. Install liqourix kernel, boot with "i915.i915_enable_rc6=1" and do not use any other power-related options including pcie_aspm and you'll get around 5.6 Watt in pure iddle (no radio, min backlight, no Xorg) and around 7-9 in Desktop iddle.

    Read this for more info:
    http://liquorix.net/

    Works like a sharm in Kubuntu oneiric.

  8. #498
    Join Date
    Mar 2010
    Location
    about
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Im in the process of undervolting my CPU in 10.04 LTS using this guide: http://openmindedbrain.info/09/05/20...-04-lucid-lts/

    my uname -r returned 2.6.32-37, no -phc, so I needed to go into gedit to change "GRUB_DEFAULT=0" to the corresponding line's number. my question is do I count only the "linux image" lines or also the "initrd image" lines?

    update-grub returned
    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-37-generic
    Found initrd image: /boot/initrd.img-2.6.32-37-generic
    Found linux image: /boot/vmlinuz-2.6.32-36-generic
    Found initrd image: /boot/initrd.img-2.6.32-36-generic
    Found linux image: /boot/vmlinuz-2.6.32-33-generic-phc
    Found initrd image: /boot/initrd.img-2.6.32-33-generic-phc
    Found linux image: /boot/vmlinuz-2.6.32-33-generic
    Found initrd image: /boot/initrd.img-2.6.32-33-generic
    Found memtest86+ image: /boot/memtest86+.bin
    done
    I tried switching "GRUB_DEFAULT" to 2 as well as 4, then ran uname -r again after saving both times and it returned 2.6.32-37 as it did before.
    Last edited by drklunk; January 5th, 2012 at 08:31 AM.

  9. #499
    Join Date
    Jul 2006
    Location
    Tschörmany
    Beans
    111
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by drklunk View Post

    my uname -r returned 2.6.32-37, no -phc, so I needed to go into gedit to change "GRUB_DEFAULT=0" to the corresponding line's number. my question is do I count only the "linux image" lines or also the "initrd image" lines?
    Grub counts the titles. First title is 0, second one is 1 and so on.
    HowTo: Ask Questions the smart way | keep on rockin'...

    GEEK CODE Version: 3.1: GJ/MD d s a- C++ ULS++ P L+++ E---- W++ N* ?o K- w--- ?O M-- V-- PS+>$ PE++>$ Y+ PGP++ t-- 5- X R tv b+ ?DI D+ G++ e+++ h-- r++ y+

  10. #500
    Join Date
    Mar 2010
    Location
    about
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by Ares Drake View Post
    Grub counts the titles. First title is 0, second one is 1 and so on.
    thanks man, Ill give it another go

Page 50 of 51 FirstFirst ... 4048495051 LastLast

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
  •