1 |
on 11/18/2012 04:13 PM Thanasis wrote the following: |
2 |
> on 11/18/2012 02:37 PM Mick wrote the following: |
3 |
>> I would like to check the difference between the power management profile |
4 |
>> settings of 'default' and 'auto' for my radeon card. I can change it from |
5 |
>> default with: |
6 |
>> |
7 |
>> # echo auto > /sys/class/drm/card0/device/power_profile |
8 |
>> |
9 |
>> # cat /sys/class/drm/card0/device/power_profile |
10 |
>> auto |
11 |
>> |
12 |
>> but, upon reboot it has reverted back to 'default' :-( |
13 |
>> |
14 |
>> |
15 |
>> I looked under sysctl but can't find anything. How can I set the profile to |
16 |
>> 'auto' to survive between reboots? |
17 |
> |
18 |
> create a script in /etc/local.d as root and make it executable : |
19 |
> |
20 |
> cd /etc/local.d |
21 |
> cat > set_radeon_to_auto |
22 |
> echo auto > /sys/class/drm/card0/device/power_profile |
23 |
> (CTRL-D) |
24 |
> chmod +x set_radeon_to_auto |
25 |
|
26 |
Correction: the name of the script must end in .start |
27 |
like: |
28 |
set_radeon_to_auto.start |