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

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


  reply	other threads:[~2012-11-18 14:18 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 [this message]
2012-11-18 17:06     ` Mick
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=50A8ED8B.4060300@asyr.hopto.org \
    --to=thanasis@asyr.hopto.org \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=michaelkintzios@gmail.com \
    /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