public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to save a change to radeon power profile
Date: Sun, 18 Nov 2012 17:06:05 +0000	[thread overview]
Message-ID: <201211181707.12025.michaelkintzios@gmail.com> (raw)
In-Reply-To: <50A8ED8B.4060300@asyr.hopto.org>

[-- Attachment #1: Type: Text/Plain, Size: 1156 bytes --]

On Sunday 18 Nov 2012 14:15:39 Thanasis wrote:
> on 11/18/2012 04:13 PM Thanasis wrote the following:
> > on 11/18/2012 02:37 PM Mick wrote the following:
> >> I would like to check the difference between the power management
> >> profile settings of 'default' and 'auto' for my radeon card.  I can
> >> change it from default with:
> >> 
> >> # echo auto > /sys/class/drm/card0/device/power_profile
> >> 
> >> # cat /sys/class/drm/card0/device/power_profile
> >> auto
> >> 
> >> but, upon reboot it has reverted back to 'default'  :-(
> >> 
> >> 
> >> I looked under sysctl but can't find anything.  How can I set the
> >> profile to 'auto' to survive between reboots?
> > 
> > create a script in /etc/local.d as root and make it executable :
> > 
> > cd /etc/local.d
> > cat > set_radeon_to_auto
> > echo auto > /sys/class/drm/card0/device/power_profile
> > (CTRL-D)
> > chmod +x set_radeon_to_auto
> 
> Correction: the name of the script must end in .start
> like:
> set_radeon_to_auto.start

Thanks Thanasis, the start up script works fine, but was wondering if that was 
the only way to set it up.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-11-18 17:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 12:37 [gentoo-user] How to save a change to radeon power profile Mick
2012-11-18 14:13 ` Thanasis
2012-11-18 14:15   ` Thanasis
2012-11-18 17:06     ` Mick [this message]
2012-11-18 23:18       ` Adam Carter
2012-11-18 23:20         ` Adam Carter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201211181707.12025.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox