Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] How to save a change to radeon power profile
Date: Sun, 18 Nov 2012 23:24:00
Message-Id: CAC=wYCEzQf3GrbnKRC9YAqo-0UvhV5K9Pe7k-JWZGvOexGzNBg@mail.gmail.com
In Reply to: Re: [gentoo-user] How to save a change to radeon power profile by Mick
1 man sysctl
2
3
4 On Mon, Nov 19, 2012 at 4:06 AM, Mick <michaelkintzios@×××××.com> wrote:
5
6 > On Sunday 18 Nov 2012 14:15:39 Thanasis wrote:
7 > > on 11/18/2012 04:13 PM Thanasis wrote the following:
8 > > > on 11/18/2012 02:37 PM Mick wrote the following:
9 > > >> I would like to check the difference between the power management
10 > > >> profile settings of 'default' and 'auto' for my radeon card. I can
11 > > >> change it from default with:
12 > > >>
13 > > >> # echo auto > /sys/class/drm/card0/device/power_profile
14 > > >>
15 > > >> # cat /sys/class/drm/card0/device/power_profile
16 > > >> auto
17 > > >>
18 > > >> but, upon reboot it has reverted back to 'default' :-(
19 > > >>
20 > > >>
21 > > >> I looked under sysctl but can't find anything. How can I set the
22 > > >> profile to 'auto' to survive between reboots?
23 > > >
24 > > > create a script in /etc/local.d as root and make it executable :
25 > > >
26 > > > cd /etc/local.d
27 > > > cat > set_radeon_to_auto
28 > > > echo auto > /sys/class/drm/card0/device/power_profile
29 > > > (CTRL-D)
30 > > > chmod +x set_radeon_to_auto
31 > >
32 > > Correction: the name of the script must end in .start
33 > > like:
34 > > set_radeon_to_auto.start
35 >
36 > Thanks Thanasis, the start up script works fine, but was wondering if that
37 > was
38 > the only way to set it up.
39 > --
40 > Regards,
41 > Mick
42 >

Replies

Subject Author
Re: [gentoo-user] How to save a change to radeon power profile Adam Carter <adamcarter3@×××××.com>