public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to save a change to radeon power profile
@ 2012-11-18 12:37 Mick
  2012-11-18 14:13 ` Thanasis
  0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2012-11-18 12:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 485 bytes --]

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? 
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to save a change to radeon power profile
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Thanasis @ 2012-11-18 14:13 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to save a change to radeon power profile
  2012-11-18 14:13 ` Thanasis
@ 2012-11-18 14:15   ` Thanasis
  2012-11-18 17:06     ` Mick
  0 siblings, 1 reply; 6+ messages in thread
From: Thanasis @ 2012-11-18 14:15 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to save a change to radeon power profile
  2012-11-18 14:15   ` Thanasis
@ 2012-11-18 17:06     ` Mick
  2012-11-18 23:18       ` Adam Carter
  0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2012-11-18 17:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1156 bytes --]

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: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to save a change to radeon power profile
  2012-11-18 17:06     ` Mick
@ 2012-11-18 23:18       ` Adam Carter
  2012-11-18 23:20         ` Adam Carter
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Carter @ 2012-11-18 23:18 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] How to save a change to radeon power profile
  2012-11-18 23:18       ` Adam Carter
@ 2012-11-18 23:20         ` Adam Carter
  0 siblings, 0 replies; 6+ messages in thread
From: Adam Carter @ 2012-11-18 23:20 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

Sorry scratch that "The parameters available are those listed under
/proc/sys/".


On Mon, Nov 19, 2012 at 10:18 AM, Adam Carter <adamcarter3@gmail.com> wrote:

> 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: 2470 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-18 23:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-11-18 23:20         ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox