[Solved] How to remove default "performance" CPU-scaling governor.

I was goin' trough the cpu scaling wiki and i was able to add the ondemand
cpu scaling governor and the appropriate powerdriver with modprobe command.
Then the cpu speed was lowered as it should so i've added these two to the modules section in rc.conf as well, to start at boot.
After reboot cpufreq-info's output says that both governor is loaded, BUT it doesn't switch to ondemand mode.
1. How can I remove the performance mode?
2. Or is there a possibility to setup it somehow that it switches to ondemand only if i switch to battery mode?
3. Other problem was for me that
find /sys/devices/ -name ondemand
doesn't give back anything, so i cannot lower ondemands governor scaling limit. Where should be these settings?
Now cpufreq-info output:
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
driver: powernow-k8
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 1000 ns.
hardware limits: 750 MHz - 1.50 GHz
available frequency steps: 1.50 GHz, 1.20 GHz, 750 MHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 750 MHz and 1.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 1.50 GHz.
Last edited by robotrobert (2012-02-21 23:09:26)

Raynman wrote:
Not sure about 3, but everything else is covered in the wiki article linked by you.
Configuring CPU scaling is a 3-part process:
  1.  Load appropriate CPU frequency driver
  2.  Load desired scaling governor(s)
  3.  Select a method to manage switching and tuning governor(s):
You stopped after the second part.
Ye, you were right. After i didn't found that folder i was looking for i didn't continue on it.
Turns out, if u use:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
It makes that folder, and u can access all those treshold variables.
But when just running first:
modprobe cpufreq_ondemand
the folder for ondemand won't be created. Im sure this is logical, i'm just new to the whole logic of this.
After modifying tresholds, i've installed laptop-mode, and I need to say, it really k*cks *ss. You can set everythin u want, and it runs along fine in a daemon, using for example: acpid for checking battery state, hdparm for setting power/spinning of hard disks...
I just leave another wiki link here if someone gets here...
LAPTOP-MODE TOOLS
There's still a not-releated question here, how come i cannot edit as a superuser directly these file under /sys/devices/system/cpu ? I know that these meant to be edited by the system, but still i tought if i'm root, i modify what i want...
( I know that I can assign parameters to these files with edit -n <number> > <filename> )
Last edited by robotrobert (2012-02-21 23:08:55)

Similar Messages

  • How to remove default facebook email on login scre...

    I am using the latest version of Skype.
    When I start Skype, the main Skype login screen show up.  At the bottom right corner, there is a link to Sign in with facebook,  After the link is clicked, then a facebook logon screen will showup.  I did logon using facebook once and logout but my facebook id becomes the default on that field.
    My question is how to remove the default email/facebook ID on that screen.  I did not login in to Skype, not on facebook.  I have tried uninstall Skype and delete all the file in %appdata%skype directory. I did try to blank out the field and close Skype.  It doesn't work.
    However none of the method works.  When I go to the facebook logon screen in Skype, the default facebook ID still show up(I used that ID logon once but have already logout).
    I have already removed the my Skype/facebook account association already but the facebook address still showup as default.
    Any idea to clear that default?

    Will this terminal command work in OS X 10.10?
    sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED FALSE

  • How to remove default Apply, OK and Cancel buttons in portlet edit mode.

    Hi,
    Iam facing problem in customizing default edit mode of portlet, my question is how to remove those default buttons and how to implement our own links for SAVE and CANCEL functionality. Because if we implement our own <form> in edit JSP page then default form will override our own <form> and default buttons works rather then our own forms.
    Please someone help me on this.
    Thanks
    Abhishek

    Ah, this one is easy, if im not mistaken, set this tag in your provider.xml
    <renderCustomize>false</renderCustomize>
    Defines whether RenderManager should automatically render the portlet's container (border and title) in "Edit" and "EditDefaults" modes before and after processing/invoking the page.
    This however means you have to write your own renderer for the customize page. Then you can add your own code for the buttons and the events behind them.
    I created my own derived container and added this line to my provider.xml
    <containerRenderer class="nl.rsm.eventCalendar.myContainerRenderer"/>
    This is however for rendering the showmode of the servlet, dont know if this is the same
    render class for the editmode.
    Do you realy need custom save functionality, Oracle also has something called DBPreferenceStore, you can store self defined attributes into the database. Perhaps this is sufficiant enough.
    anyway good luck, if you find out all the correct steps to take, please share, im also interested

  • How to Remove Default Application

    Can anyone tell me how to remove a default application that opens a certain file? I'd like OS X to prompt me to choose which application to use each time a certain new file is opened. It seems once you've set a default application it does not allow you to revert to the old setting. Is there a way to do this? Thanks!

    There doesn't seem to be a way to set "none" as the default application. OS X works very hard to assign an app to every file it can, but sometimes, as Jim has discovered, it gets it wrong. This seems to be most often because apps tell the OS what they can open & some older ones don't do it quite right, causing OS X to guess about some file types & incorrectly assigning them to the app.
    Fixing this would be tricky. Individual files don't tell the OS what app to use unless you change the opening app for that file alone. If you use "Change All" that info is removed from the file (if it was there) & instead recorded in a preference file. But generally, the defaults are stored in the Launch Services database, which the OS maintains automatically.
    It is possible to get the OS to rebuild that database, but doing so just fixes any corruption by once again checking the apps, so the same wrong guesses come back to bug you.
    A few of us have been discussing Launch Services, the .plist, & how it works in another topic (http://discussions.apple.com/thread.jspa?threadID=258306) but as yet, it offers no answers that would help here.

  • How to remove default value from table definition?

    Hi,
    running 9.2
    Following problem :
    I need to remove default value from table.
    Example
    CREATE TABLE MY_TABLE(
    NAME VARCHAR2(50) DEFAULT 'NAME',
    AGE NUMBER DEFAULT 0
    Now even when I use MODIFY like
    ALTER TABLE MY_TABLE MODIFY (NAME VARCHAR2(10) );
    The default is still there:
    SELECT DATA_DEFAULT FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'MY_TABLE';
    Is there any way?
    Thanks

    Thanks,
    found the answer. It is not possible!!!!
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm
    Note:
    If a column has a default value, then you can use the DEFAULT clause to change the default to NULL, but you cannot remove the default value completely. That is, if a column has ever had a default value assigned to it, then the DATA_DEFAULT column of the USER_TAB_COLUMNS data dictionary view will always display either a default value or NULL

  • How to remove default parameter from a report

    Post Author: sijdk
    CA Forum: General
    hi,
    we are using crystal report server XI . in one report i have added Date time Range fields. with that, "include this value" and "no upper value" checkboxes are added defaultly. i just want to remove those checkboxes which added defaultly in the report filter form.
    can anyone help me to solve this problem?

    Post Author: sijdk
    CA Forum: General
    hi,
    it is working. but, it is not the answer which i expected.
    let me explain my scenario first. we have added two date filters in report,that should have date selection with start range and end range, so, it is like two separate fileds which is titled has date start range and date end range. but, with that we are getting "include this value" and no upper value" checkboxes.
    actually we dont want those checkboxes but we want start range and end range. if i select "allow range value" is false, startrange and endrange is not coming. what to do? how to solution?
    also, can u explain me what is the meaning of "include this value,no lower value and no upper value". please.

  • How to remove default name in "Workflow owned by" in Status Monitor?

    Hi,
    I want to be able to view different users' Expenses workflow from the responsibility "Workflow Administrator Web (New)", however, the "workflow owned by" is defaulted to be the person who login.
    Can anyone advise how I can remove this set up?
    Thank you!
    Ling

    Hi,
    The owner of the workflow process will be the person who started it. The WF_ENGINE.SetItemOwner API is used to set this, or it is defined in the creation process automatically.
    If you want to access workflows which are not owned by you, then you need to log in as a user who has been assigned the responsibility which is configured to be the Workflow Administrator. The default value for this is SYSADMIN, but it may have been changed in your system - have a look at the Administration tab from the Workflow pages, and it will show you what responsibility / which user is configured as the workflow administrator. Only they can access workflows which do not belong to them.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • [SOLVED]How to set default audio playback device?

    I have an X-fi forte soundcard that doesn't work on linux, so I'm just gonna use the onboard realtek chip, but I get no sound from that either unless I physically remove the X-fi card.
    I use the X-fi when I boot into windows though, so I'd like to keep it...
    How do I change the default playback device?
    I didn't find anything that worked in the wiki or with google.
    Last edited by raginaot (2010-12-05 04:30:21)

    oh wait... I just spotted this in the wiki guide, a little too late
    NB: Some modules do not support indexing options eg. snd-hda-intel. If you experience problems on reboot edit /etc/modprobe.d/modprobe.conf to just have the modules.
    what does that mean "edit /etc/modprobe.d/modprobe.conf to just have the modules.".... what modules? :S
    should I just remove "index=0" from the line?
    Edit: yes I should. It's working
    Thx man
    Last edited by raginaot (2010-12-05 04:29:52)

  • [Solved] How to fix default messy disk permissions?

    Whenever I set up a new linux install, be it Fedora or Arch, I'm facing the same mess with the default mounting configuration. This time is no different. I gave up on it with one of my previous installs (Arch) but this time I'd like to tackle the problem and learn WHY this happens. I'd appreciate any help.
    $ lsblk -f
    NAME FSTYPE LABEL UUID MOUNTPOINT
    sda
    ├─sda1 ext4 S_50 81013467-61c5-4fca-a8b1-6471ab2ff66e /run/media/hg1/S_50
    ├─sda2 ext4 S_140 ada1868a-eb43-40ac-87ba-8a99bb9800f6 /run/media/hg1/S_140
    ├─sda3 ext4 S_740 9ca4788c-b6ab-4f2e-aa10-b8167ae76d4c /run/media/hg1/S_740
    └─sda4 ntfs S_10ntfs 457FAFD72A8942B7 /run/media/hg1/S_10ntfs
    sdb
    ├─sdb1 ntfs 208A713C8A711010
    ├─sdb2 ntfs ss_win 0A80775A80774AE9
    ├─sdb3
    ├─sdb5 ext4 ss_boot ac72a869-6615-418c-8ded-0d332031cad5 /boot
    ├─sdb6 ext4 ss_var 916eb67e-b963-4781-b434-6ec3281bd1b1 /var
    ├─sdb7 ext4 ss_root 61c35767-58d5-44cd-9be0-de43e88c4b25 /
    └─sdb8 ext4 ss_home 35390a6a-8220-4a90-9065-227bdfcb2946 /home
    sdc
    └─sdc1 ntfs 500_ntfs 7062D4863AD9B32D
    sdd udf Parted Magic 2014_11_19 2014-11-19-06-59-19-00 /run/media/hg1/Parted Magic 2014_11_19
    sr0
    $ ls -l /mnt
    total 8
    drwxr-xr-x 2 root root 4096 Mar 25 20:45 sdb5
    drwxr-xr-x 2 root root 4096 Mar 25 20:25 sdd
    $ ls -l /run/media/hg1
    total 18
    dr-x------ 6 hg1 hg1 312 Nov 19 13:59 Parted Magic 2014_11_19
    drwxrwxrwx 1 hg1 hg1 4096 Apr 18 20:58 S_10ntfs
    drw-rw-rw- 3 hg1 hg1 4096 Apr 17 21:08 S_140
    drw-rw-rw- 2 hg1 root 4096 Apr 17 21:08 S_50
    drwxr-xr-x 14 hg1 root 4096 Apr 18 20:58 S_740
    $ cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sdc7
    UUID=61c35767-58d5-44cd-9be0-de43e88c4b25 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sdc5
    UUID=ac72a869-6615-418c-8ded-0d332031cad5 /boot ext4 rw,relatime,data=ordered 0 2
    # /dev/sdc6
    UUID=916eb67e-b963-4781-b434-6ec3281bd1b1 /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sdc8
    UUID=35390a6a-8220-4a90-9065-227bdfcb2946 /home ext4 rw,relatime,data=ordered 0 2
    $ mount | column -t | grep /dev/sd
    /dev/sdb7 on / type ext4 (rw,relatime,data=ordered)
    /dev/sdb6 on /var type ext4 (rw,relatime,data=ordered)
    /dev/sdb5 on /boot type ext4 (rw,relatime,data=ordered)
    /dev/sdb8 on /home type ext4 (rw,relatime,data=ordered)
    /dev/sdd on /run/media/hg1/PartedM type udf (ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8,uhelper=udisks2)
    /dev/sda3 on /run/media/hg1/S_740 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
    /dev/sda1 on /run/media/hg1/S_50 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
    /dev/sda2 on /run/media/hg1/S_140 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
    /dev/sda4 on /run/media/hg1/S_10ntfs type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
    0. Could anyone tell me why the order of assigned letter codes is so weird? Does it even matter? External drive is sda and my main drive (SSD) is sdb. I always connect my drives to match drive importance vs motherboard disk channel number.
    1. I'd like to start with the sda which is an external USB 3.0 HDD (Seagate BK+):
    a) why by default I have read/write access to sda3 but not to sda1 and sda2?
    b) how do I get read/write permissions to all partitions on sda persistently?
    Last edited by bbarcher (2015-05-02 13:10:22)

    bbarcher wrote:OK, so no fstab alteration required per se for now.
    Right.
    These two bits bring me to the question I wanted to ask since like 2 years ago: What's the difference between a mountpoint and a path?
    A mountpoint is always a path, but not vice versa. A partition has to be accessible somehow and that is the unix way with a unified hierarchy. Windows differs insofar as by default every file system has a seperated one, starting with the drive letter - although in recent versions file systems can be mounted in directories as well.
    A consequence of a path being a mountpoint, as you have already discovered, shows in that not every operation crosses file system boundaries - be it for technical reasons or to counter human stupidity.
    For example, if you issue
    chmod 777 /home/hg1
    (or is it chmod -R ?)
    the operation applies to every file, directory and sub-directory in /home/hg1
    if you want it recursively, it has to be chmod -R. Otherwise chmod affects only the file/directory it is called on.
    but it's different with mountpoints. Issuing
    chmod 777 /mount
    won't apply to to every file, directory and sub-directory in /mount including e.g. /mount/sda1/..., /mount/sda2/... etc.
    Similarly issuing
    rm -rf /home/hg1
    won't remove everything down the line if there's for example sdb1 mounted to /home/hg1/mumbo/sdb1.
    And that is probably for the best.
    One more additional question:
    computer 1, all files on an external disk with permissions restricted to computer 1 user by the name of theone
    computer 2, has a user by the name theone as well
    Q: Will theone from computer 2 be able to access the files on the external disk?
    That depends. User and group IDs are stored numerically. If theone has the same ID on both systems, then yes.
    Note: I use Parted Magic often. Everything I write there gets restricted to 'root'. I have no problem taking over such resources using chown on my regular linux installation. So what's the point?
    Do you mean, since you can issue chmod/chown using e.g. sudo, it shouldn't be created with uid/gid root?
    In that case, how else should it be? Since it's your machine, you had better be able to somehow become root. And, even if not, which user should be the owner, if not root? root is always a safe bet since every system has that user. Also, if it is a true multi-user-system it'd be a bad idea if you'd start a partition with any other permissions.

  • MIRO credit Memo how payment terms. How to remove default

    In MIRO if I create a credit Memo, payment terms default from PO. (not from vendor master) I do not know if was configured that way. How can I find out ?
    I do not want payment terms to default from any thing, neither PO nor vendor master.
    It should fall due immediately say based on base line date, which is posting date in our case.
    How can I do this ?
    Thanks

    Please check the Note 119047

  • How to remove default search button in search module

    I am a neophyte with code and css and normally work with Muse. But I am currently trying to customize the appearance of the search module so that it works with the website it will be serving. I have  accomplished a large part of what I've been attempting, but have hit a snag in removing the default search button (CAT_Search). I've placed the image I want to use no problem, but it is contained in some weird gray beveled box with the original 'Search' text overlapping my image.
    I have been making the rounds of tech support, tutorials, and every documented article on the search module and can find nothing that address this specific issue. Any help would be greatly appreciated! I am enclosing the what I've done so far below.
    Thanks!
    Paula
    <style type="text/css">
    body form {
      width: 163px;
      height: 48px;
      form-top-right-radius: 5px;
      form-bottom-right-radius: 5px;
      background-image: url(http://corehog.businesscatalyst.com/images/search.png);
    .search-box {
      color: #999966;
      font-family: lato;
      font-style: normal;
      font-weight: 100;
      width: 86px;
      height: 24px;
      border: none;
      max-width: 86px;
      opacity: 0%;
      max-height: 24px;
      margin-left: 12px;
      margin-top: 12px;
      margin-bottom: 12px;
    .cat_button {
      width: 32px;
      height: 24px;
      border: none
      background-color: none;
      background-image: url(http://corehog.businesscatalyst.com/images/search-button.png);
      margin-left: 12px;
      margin-top: 12px;
      margin-right: 20px;
      margin-bottom: 12px;
    </style>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/lato:n1:default.js" type="text/javascript"></script>
    <form name="catsearchform87352" method="post" action="/Default.aspx?SiteSearchID=3752&PageID=/http://corehog.businesscatalyst.com/search-results.html"><div><input class="search-box" type="text" name="CAT_Search" id="CAT_Search" /><input class="cat_button" type="submit" value="Search" /></div></form>
    {module_searchresults}

    Hi Ramandeep Nanda,
    Thanks for the reply.
    I followed a slightly different approach than the one mentioned in your post.
    I have not used any client side javascript attributes.I got the inputListOfValues Component from the launch listener event ( launchPopupEvent.getComponent() ) and in the launch listener i am setting richQuery.setModeChangeVisible(false);
    It is hiding the button now but only for the first invocation of the search dialog, it is not working.
    More specifically, for the first invocation of the search dialog, Iterator facetNames = inputListOfValues.getFacetNames(); is not returning the child components and hence the button is not being hidden.
    Any idea why this might be happening?
    Thanks,
    Vikas

  • [solved] How to set default browser for qt apps ?

    hi ,
    I'm running a LXDE session and I can't figure out how to set opera as a default browser in qt apps . they default to firefox .
    Any ideas ?
    Last edited by Nezmer (2008-11-21 11:37:52)

    grep wrote:
    http://kb.mozillazine.org/Setting_Your_Default_Browser
    I read this guide before .
    The DE I'm running is LXDE and the apps are pure qt4 .
    how can this guide be helpful ?
    Last edited by Nezmer (2008-11-16 19:06:23)

  • [Solved]How to remove files from a failed install.

    I attempted to install the caffeine package from the AUR using packer. After confirming y to proceed with installation pacman had to pull in quite a few more dependencies than I was expecting. The installation ended up failing because I have package signing set to required. This is all well and good because I don't really think caffeine is worth all the extra dependencies. However, on to my question, I see that these packages (the dependencies) have been downloaded to my system and are in the /var/cache/pacman/pkg directory, is there an easy way to tell pacman to remove just these packages other than going through and removing them one by one? Thanks for the help.
    Last edited by Lexworth (2012-01-21 19:19:43)

    Thanks to you all. I did read pacman manpage as well as the wiki entries for pacman and pacman Tips. I was just wondering if maybe someone more proficient with the command line knew a easier way to remove the files. I know I could use pacman -Sc or pacman -Scc for clean the entire cache but was hesitant to do so because of the warnings. I think I understand that sudo pacman -R $(pacman -Qtdq) will remove orphan packages however I get an error that no targets are specified. I believe this may be due to the fact that these packages were not installed, just the binaries downloaded. Thanks again for the help. I'll mark this as solved.

  • [solved]how to remove PARABOLA linux packages, still remaining

    Dear Archers
    How to safely remove below packages
    [root@KRISHNA san2ban]# pacman -Qm
    cdrkit-libre 1.1.11-2
    evolution-webcal 2.32.0-1
    file-roller-libre 3.2.0-1
    ghostscript-libre 9.02-2
    gnome-system-tools 3.0.0-2
    lame-libre 3.98.4-3
    liboobs 3.0.0-1
    licenses-libre 2.8-1
    p7zip-libre 9.20.1-4
    pacman-mirrorlist-libre 20110530-1
    python2-libre 2.7.2-2
    sdl-libre 1.2.14-7.1
    system-tools-backends 2.10.2-1
    thunderbird-libre 3.1.10-3
    unarchiver 2.7.1-2
    xorg-fonts-100dpi-libre 1.0.3-2
    xorg-fonts-75dpi-libre 1.0.3-2
    Last edited by San2ban (2012-01-30 16:26:18)

    With pacman? I think that should do it.
    What have you tried and what went wrong?
    Last edited by karol (2012-01-30 14:29:12)

  • [SOLVED] how to remove unwanted KDE panel launchers?

    Hi, please take a look at this image .
    Those two icons are bothering me a lot. For one, I didn't create them manually (I only created the first 3 icons). Second, firefox icon is invisible, but the launcher is there. ALso, even if I remove them from the panel (right click -> remove this launcher), they keep reappearing after reboot/login.
    Please help me permanently remove them.
    Thanks
    Last edited by spiritwalker (2011-09-05 16:56:46)

    Yes, they're the default webbrowser and filemanager or something. There are threads about this on the forums and KDE 4.7.1 is just round the corner, maybe it will fix it.
    https://bbs.archlinux.org/viewtopic.php … 61#p971361
    Last edited by karol (2011-09-05 16:51:02)

Maybe you are looking for

  • Running Win 7; FF DL process stops at DL of "stub". Help.

    When I try to download and install FF on my Windows 7 machine, the process stops after [apparently] successful download of Setup Stub 29.0.1. I have tried repeatedly to do this, always with the same results. To proceed would be, by definition, insani

  • Sloooow MacBook Air

    My MacBook Air is slow. It is slow from start up. After entering the password at the login window it shows a beach ball. The screens do no open with a whoosh. They open staccato. First grey screen, then wait, then a window, then a wait, then sudden a

  • Taking tooo much time  when using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi Guys, I  using  FM REUSE_ALV_HIERSEQ_LIST_DISPLAY in my report , In my internal table   more than 200000 reords are there when  was displaying it , taking tooooo much time plz advice me how to over come it Thanks, Prasad.

  • ADF Tree Table - Multiple Commandlinks in one column

    Hi, We are building a hierarchy using tree table. The hierarchy looks as follows +Root Object ++ Child Object One +++ Child 1.1 +++ Child 1.2 +++ Child 1.3 ++ Child OBject Two At each level, the object is used by more than one users. We want to displ

  • How many ejbCreate() can be in Session and Entity Bean???

    Hi, How many ejbCreate() method can be in a Session and Entity Bean??? How many can be in Stateless and Stateful SessionBean??? How many can be in CMP and BMP SessionBean??? Thanks, JavaCrazyLover