Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

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