From: Adam Carter <adamcarter3@gmail.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] How to save a change to radeon power profile
Date: Mon, 19 Nov 2012 10:18:11 +1100 [thread overview]
Message-ID: <CAC=wYCEzQf3GrbnKRC9YAqo-0UvhV5K9Pe7k-JWZGvOexGzNBg@mail.gmail.com> (raw)
In-Reply-To: <201211181707.12025.michaelkintzios@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]
man sysctl
On Mon, Nov 19, 2012 at 4:06 AM, Mick <michaelkintzios@gmail.com> wrote:
> 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: Type: text/html, Size: 2006 bytes --]
next prev parent reply other threads:[~2012-11-18 23:24 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
2012-11-18 23:18 ` Adam Carter [this message]
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='CAC=wYCEzQf3GrbnKRC9YAqo-0UvhV5K9Pe7k-JWZGvOexGzNBg@mail.gmail.com' \
--to=adamcarter3@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