Page 9 of 51 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 504

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

  1. #81
    Join Date
    Jul 2005
    Location
    Berlin, Germany
    Beans
    415
    Distro
    Ubuntu Development Release

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

    Quote Originally Posted by Ares Drake View Post
    I updated the howto with a 32bit module for 2.6.24-18 and a mini-howto to compile the module yourself in case you need a 64bit module or for a newer kernel version.
    2.6.24-19 just got released...
    Linux user since Slackware 3.4

  2. #82
    Join Date
    May 2007
    Location
    California, USA
    Beans
    245

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

    You must enable CONFIG_CPU_FREQ_GOV_USERSPACE to use the script.

  3. #83
    Join Date
    Feb 2007
    Location
    India
    Beans
    291
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    I can confirm it not working for me. The scripts goes through the values till -1 where it crashes. Even after echoing the values 13:3 10:1 8:1 6:1 to phc_controls, while working at 800MHZ, phctool shows the target VID to be 3 (.75V) and the current to be 19 (.95V) which was the default for 800MHZ. So basically phc was unable to really use the new values.
    Also, I just downloaded and installed the patched module provided in the first post. Would it make a difference if I compiled it on my own?

  4. #84
    Join Date
    Apr 2008
    Location
    Illinois, USA
    Beans
    157
    Distro
    Ubuntu 8.04 Hardy Heron

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

    I've looked through the thread. Any new information on those of us using speedstep? I've tried blacklisting it and using the acpi_cpufreq but it didn't work since I was just guessing on how to blacklist one and invoke the other. Can someone detail how to do this? What about just using the speedstep module?

    I have a Celeron processor, so it's possible I can't even do this though. Can anyone confirm?

    Thanks in advance.

    Edit, here is the contents of /proc/modules if that will help:
    Code:
    af_packet 23812 4 - Live 0xefd10000
    binfmt_misc 12808 1 - Live 0xefd0b000
    i915 32512 2 - Live 0xefc88000
    drm 82452 3 i915, Live 0xefc97000
    ppdev 10372 0 - Live 0xefc79000
    ipv6 267780 10 - Live 0xefcc8000
    speedstep_lib 6532 0 - Live 0xefc76000
    cpufreq_userspace 5284 0 - Live 0xefc73000
    cpufreq_ondemand 9740 0 - Live 0xefc6f000
    cpufreq_conservative 8712 0 - Live 0xefc6b000
    cpufreq_stats 7104 0 - Live 0xefb74000
    cpufreq_powersave 2688 0 - Live 0xefb1f000
    container 5632 0 - Live 0xefb77000
    toshiba_acpi 12100 0 - Live 0xefb4c000
    sbs 15112 0 - Live 0xefb7a000
    sbshc 7680 1 sbs, Live 0xefb50000
    dock 11280 0 - Live 0xefb70000
    iptable_filter 3840 0 - Live 0xef96b000
    ip_tables 14820 1 iptable_filter, Live 0xefb6b000
    x_tables 16132 1 ip_tables, Live 0xefaee000
    lp 12324 0 - Live 0xefb47000
    freq_table 5536 2 cpufreq_ondemand,cpufreq_stats, Live 0xefb02000
    joydev 13120 0 - Live 0xefb1a000
    pcmcia 40876 0 - Live 0xefb60000
    snd_intel8x0 35356 2 - Live 0xefb27000
    snd_ac97_codec 101028 1 snd_intel8x0, Live 0xefb81000
    ac97_bus 3072 1 snd_ac97_codec, Live 0xefaab000
    arc4 2944 2 - Live 0xef8f3000
    snd_pcm_oss 42144 0 - Live 0xefb54000
    snd_mixer_oss 17920 1 snd_pcm_oss, Live 0xefb21000
    ecb 4480 2 - Live 0xefaff000
    blkcipher 8324 1 ecb, Live 0xefafb000
    snd_pcm 78596 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss, Live 0xefb32000
    snd_seq_dummy 4868 0 - Live 0xefaf8000
    parport_pc 36260 0 - Live 0xefb10000
    parport 37832 3 ppdev,lp,parport_pc, Live 0xefb05000
    evdev 13056 6 - Live 0xefaf3000
    serio_raw 7940 0 - Live 0xefaa5000
    rt2500pci 20352 0 - Live 0xefa94000
    rt2x00pci 11264 1 rt2500pci, Live 0xef9ba000
    rt2x00lib 22528 2 rt2500pci,rt2x00pci, Live 0xefae7000
    snd_seq_oss 35584 0 - Live 0xefab2000
    rfkill 8592 2 rt2x00lib, Live 0xefa90000
    input_polldev 5896 1 rt2x00lib, Live 0xef9c5000
    crc_itu_t 3072 1 rt2x00lib, Live 0xef890000
    snd_seq_midi 9376 0 - Live 0xefa8c000
    psmouse 40336 0 - Live 0xefa9a000
    mac80211 165652 3 rt2500pci,rt2x00pci,rt2x00lib, Live 0xefabd000
    pcspkr 4224 0 - Live 0xef9c2000
    snd_rawmidi 25760 1 snd_seq_midi, Live 0xef9f8000
    yenta_socket 27276 1 - Live 0xef9e1000
    rsrc_nonstatic 13696 1 yenta_socket, Live 0xef9dc000
    cfg80211 15112 1 mac80211, Live 0xef9d7000
    pcmcia_core 40596 3 pcmcia,yenta_socket,rsrc_nonstatic, Live 0xefa81000
    eeprom_93cx6 3200 1 rt2500pci, Live 0xef83d000
    snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi, Live 0xef9be000
    snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event, Live 0xef9e9000
    snd_timer 24836 2 snd_pcm,snd_seq, Live 0xef9a8000
    snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq, Live 0xef9b6000
    snd 56996 15 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device, Live 0xef9c8000
    video 19856 0 - Live 0xef9b0000
    output 4736 1 video, Live 0xef99c000
    soundcore 8800 1 snd, Live 0xef9a4000
    snd_page_alloc 11400 2 snd_intel8x0,snd_pcm, Live 0xef945000
    iTCO_wdt 13092 0 - Live 0xef99f000
    iTCO_vendor_support 4868 1 iTCO_wdt, Live 0xef94c000
    ac 6916 0 - Live 0xef949000
    battery 14212 0 - Live 0xef994000
    button 9232 0 - Live 0xef990000
    shpchp 34452 0 - Live 0xef957000
    pci_hotplug 30880 1 shpchp, Live 0xef962000
    intel_agp 25492 1 - Live 0xef94f000
    agpgart 34760 3 drm,intel_agp, Live 0xef8fb000
    ext3 136712 1 - Live 0xef96d000
    jbd 48404 1 ext3, Live 0xef92d000
    mbcache 9600 1 ext3, Live 0xef81d000
    sg 36880 0 - Live 0xef93a000
    sr_mod 17956 0 - Live 0xef8f5000
    cdrom 37408 1 sr_mod, Live 0xef8da000
    sd_mod 30720 3 - Live 0xef8e5000
    pata_acpi 8320 0 - Live 0xef8d6000
    ata_generic 8324 0 - Live 0xef839000
    ata_piix 19588 2 - Live 0xef854000
    e100 37388 0 - Live 0xef8bf000
    mii 6400 1 e100, Live 0xef83f000
    libata 159344 3 pata_acpi,ata_generic,ata_piix, Live 0xef905000
    ehci_hcd 37900 0 - Live 0xef8cb000
    uhci_hcd 27024 0 - Live 0xef8b7000
    scsi_mod 151436 4 sg,sr_mod,sd_mod,libata, Live 0xef866000
    usbcore 146028 3 ehci_hcd,uhci_hcd, Live 0xef892000
    thermal 16796 0 - Live 0xef84e000
    processor 36872 2 thermal, Live 0xef85b000
    fan 5636 0 - Live 0xef836000
    fbcon 42912 0 - Live 0xef842000
    tileblit 3456 1 fbcon, Live 0xef825000
    font 9472 1 fbcon, Live 0xef821000
    bitblit 6784 1 fbcon, Live 0xef818000
    softcursor 3072 1 bitblit, Live 0xef81b000
    fuse 50580 1 - Live 0xef828000
    Last edited by Hooya; June 18th, 2008 at 10:04 PM.

  5. #85
    Join Date
    Feb 2007
    Location
    India
    Beans
    291
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Quote Originally Posted by aashay View Post
    I can confirm it not working for me. The scripts goes through the values till -1 where it crashes. Even after echoing the values 13:3 10:1 8:1 6:1 to phc_controls, while working at 800MHZ, phctool shows the target VID to be 3 (.75V) and the current to be 19 (.95V) which was the default for 800MHZ. So basically phc was unable to really use the new values.
    Also, I just downloaded and installed the patched module provided in the first post. Would it make a difference if I compiled it on my own?
    Okay an update on this.
    Seems my CPU (Core 2 Duo, don't know the exact model no.) limits the VIDs to a lower bound of 19. So I just set 19 as the VID for all the frequencies. Works like a charm. The processor is 10-15 degrees (C) cooler than what it used to be.

  6. #86
    Join Date
    Sep 2005
    Beans
    24
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    mine always crashes when I tried to manually echoing the values.

    Code:
    tesna@zorg:/etc/init.d$ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    11:45 10:43 8:33 6:23 136:15
    the script tells me only 4 values, which is:
    Code:
    tesna@zorg:~$ cat phc_tweaked_vids 
    24 24 1 1 15
    I tried to echoing 11:24 10:24 8:1 6:1 to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls then it crash instantly.

    Tried to echoing higher values than those four, and I added fifth values with them, no success. still crash.

    I was able to lower the voltage when booting into windows (I forgot the program name), and got 15-20 degrees decrease in cpu temp. Now using ubuntu my cpu sits at 63 degrees C at idle

    How do I fix this?

  7. #87
    Join Date
    Feb 2007
    Location
    India
    Beans
    291
    Distro
    Ubuntu 7.10 Gutsy Gibbon

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

    Quote Originally Posted by tesna View Post
    mine always crashes when I tried to manually echoing the values.

    Code:
    tesna@zorg:/etc/init.d$ cat /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    11:45 10:43 8:33 6:23 136:15
    the script tells me only 4 values, which is:
    Code:
    tesna@zorg:~$ cat phc_tweaked_vids 
    24 24 1 1 15
    I tried to echoing 11:24 10:24 8:1 6:1 to /sys/devices/system/cpu/cpu0/cpufreq/phc_controls then it crash instantly.

    Tried to echoing higher values than those four, and I added fifth values with them, no success. still crash.

    I was able to lower the voltage when booting into windows (I forgot the program name), and got 15-20 degrees decrease in cpu temp. Now using ubuntu my cpu sits at 63 degrees C at idle

    How do I fix this?
    The last in the default list 136:15 seems a bit weird if you ask me. As an alternate, look up on phctool. It's got a GUI if you are more comfortable that way

  8. #88
    Join Date
    May 2007
    Beans
    150

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

    I also get 11:vv 10:vv 8:vv 6:vv 136:vv

    this is weired since I noticed that there is a fixed divider between the processor frequency and the number before the colon: this is 200.

    This is valid for all the first 4 values, however my lowest frequency 800Mhz although should be represented in the phc_controls and phc_default_controls as 4 it is actually represented by 136.

    I can't understand why...

    PS: my lowest possible voltage is v ID 11, 0.850 v. PHC seems not capable to further lower it.
    Last edited by aldeby; June 20th, 2008 at 07:15 PM. Reason: typo
    Nobody was born with linux knowledge!
    Here's my experience with Ubuntu linux on laptops: http://linux.aldeby.org

  9. #89
    Join Date
    Sep 2005
    Beans
    24
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    Update. I tried to set the CPU frequency at a fixed frequency (userspace) before I echoing the values, and guess what. My computer didn't crash! I changed the freq (increase/decrease) after echoing the values and it also didn't crash. But as soon I changed the cpu freq mode to "ondemand" my system instantly crash. Oh I'm confused.

  10. #90
    Join Date
    Aug 2006
    Beans
    841

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

    Quote Originally Posted by aashay View Post
    Okay an update on this.
    Seems my CPU (Core 2 Duo, don't know the exact model no.) limits the VIDs to a lower bound of 19. So I just set 19 as the VID for all the frequencies. Works like a charm. The processor is 10-15 degrees (C) cooler than what it used to be.
    oh, where did you find that? i have the exact same problem and would love to see if my vids kick at a lower limit too

Page 9 of 51 FirstFirst ... 789101119 ... 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
  •