From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 38EA61381F3 for ; Sun, 18 Nov 2012 17:08:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EABBD21C106; Sun, 18 Nov 2012 17:08:26 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77763E06C2 for ; Sun, 18 Nov 2012 17:07:10 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id dr1so1951274wgb.10 for ; Sun, 18 Nov 2012 09:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=lj957qxzxPQx1WMSiUpKpGEEYcC3LgK7vi4EpfGCBLk=; b=QTqobIrPsQGr892mDGeuPwShwo8zjI2vZQhG1SG38FMh2vOv2C0wPcSyyOsucjMK0J 5LjojbDFNZbk+ytf5BiZQBnhpOL9dUDslv0TWHKgGx9ywGryd6WBkxzBP+dG6Dsi2kNk 5BHR2PDBVjcwAq94A0fNYeyWojenvbpP7EsoaYU5KiHlVIQgGiJEH2kO6YCkA6OOHhoP ly1qZ7cRvuImktaAvVnmuFjcvDwrdpboGGyyRAkNlwgUK13sVrajLaH2vboB/kGw/Akt G/CPmLUNdIthNNhisGM/BOdSV3I4gJYjS8JzbCP9iFcrmJbOFTMLKuT65y0Vlbo9pLOM 2kMA== Received: by 10.180.102.161 with SMTP id fp1mr5728140wib.9.1353258429101; Sun, 18 Nov 2012 09:07:09 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPS id y3sm8907034wix.6.2012.11.18.09.07.06 (version=SSLv3 cipher=OTHER); Sun, 18 Nov 2012 09:07:07 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to save a change to radeon power profile Date: Sun, 18 Nov 2012 17:06:05 +0000 User-Agent: KMail/1.13.7 (Linux/3.5.7-gentoo; KDE/4.8.5; x86_64; ; ) References: <201211181237.38166.michaelkintzios@gmail.com> <50A8ED20.7090201@asyr.hopto.org> <50A8ED8B.4060300@asyr.hopto.org> In-Reply-To: <50A8ED8B.4060300@asyr.hopto.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart43657140.MmzbIqA4v2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201211181707.12025.michaelkintzios@gmail.com> X-Archives-Salt: 44c7de29-3726-4eaf-b95d-2a8edaa5d72c X-Archives-Hash: 29c8a6fd200fa226379a19205f8db045 --nextPart43657140.MmzbIqA4v2 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: > >>=20 > >> # echo auto > /sys/class/drm/card0/device/power_profile > >>=20 > >> # cat /sys/class/drm/card0/device/power_profile > >> auto > >>=20 > >> but, upon reboot it has reverted back to 'default' :-( > >>=20 > >>=20 > >> I looked under sysctl but can't find anything. How can I set the > >> profile to 'auto' to survive between reboots? > >=20 > > create a script in /etc/local.d as root and make it executable : > >=20 > > 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 >=20 > 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=20 the only way to set it up. =2D-=20 Regards, Mick --nextPart43657140.MmzbIqA4v2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlCpFb8ACgkQVTDTR3kpaLZPNACgpzCenbmFqQW74XzTTcU0sGYB esYAn37Xmc7L1nBwlc7pVr0p6MV/wo1Z =hFOU -----END PGP SIGNATURE----- --nextPart43657140.MmzbIqA4v2--