LDP/LDP/howto/docbook/Athlon-Powersaving-HOWTO.xml

634 lines
27 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<article id="Athlon-Powersaving-HOWTO">
<articleinfo>
<title>Athlon Powersaving HOWTO</title>
<author>
<firstname>Daniel</firstname>
<surname>Nofftz</surname>
<affiliation>
<!-- Valid email...spamblock/scramble if so desired -->
<address><email>daniel@nofftz.net.NOSPAM</email></address>
</affiliation>
</author>
<!-- All dates specified in ISO "YYYY-MM-DD" format -->
<pubdate>2007-06-06</pubdate>
<revhistory id="revhistory">
<revision>
<revnumber>1.2.3</revnumber>
<date>2007-06-06</date>
<authorinitials>dn</authorinitials>
<revremark>corrected the correction from 1.2.3 (thx to Rajeev V. Pillai)</revremark>
</revision>
<revision>
<revnumber>1.2.2</revnumber>
<date>2007-05-30</date>
<authorinitials>dn</authorinitials>
<revremark>corrected a typo in the nforce disable command</revremark>
</revision>
<revision>
<revnumber>1.2.1</revnumber>
<date>2007-05-13</date>
<authorinitials>dn</authorinitials>
<revremark>corrections to the new copyright statement, corrections to the disclaimer</revremark>
</revision>
<revision>
<revnumber>1.2</revnumber>
<date>2007-05-10</date>
<authorinitials>dn</authorinitials>
<revremark>coolrun added, new URL for (brazilian) Portuguese Version, License Change (GNU FDL to GNU GPL), some minor accessibility related changes </revremark>
</revision>
<revision>
<revnumber>1.1.12</revnumber>
<date>2006-04-06</date>
<authorinitials>dn</authorinitials>
<revremark>typos corrected</revremark>
</revision>
</revhistory>
<abstract>
<para>
How to enable the power-saving functionality of the
Athlon/Duron/AthlonXP processor on some motherboards/chipsets.
This is usefull for saving Power and lowering the Temperature of the
CPU and the System. (It also will reduce noise if you use temperature
controlled fans in your case/on your cpu heatsink).
</para>
</abstract>
</articleinfo>
<!-- Content follows...include introduction, license information, feedback -->
<sect1 id="intro">
<title>Introduction</title>
<sect2 id="basics">
<title>Basics on the Athlon Power Saving Mode</title>
<para>
The HLT signal which is used by the normal idle-loop of the Linux kernel
doesn't normaly bring any significant power-saving on processors of the Athlon/Duron
family (hereafter referred to as Athlon processors). To get real power-saving on an
Athlon processor, you have to put the processor in the STPGNT-Mode (Stop Grant Mode).
In this mode, the processor is disconnected from the front-side bus (FSB), and can
turn off parts of the CPU as well as reduce the clock to save power.
</para>
<para>
Some modern Motherboards/Chipsets also support a Function to make a STPGNT when a HLT signal is detected.
</para>
</sect2>
<!-- Legal Sections -->
<sect2 id="copyright">
<title>Copyright and License</title>
<!-- The LDP recommends, but doesn't require, the GFDL -->
<para>
This document, <emphasis>Athlon Powersaving HOWTO</emphasis>,
is copyrighted (c) 2003-2007 by <emphasis>Daniel Nofftz</emphasis>.
</para>
<para>
This work is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2,
as published by the Free Software Foundation.
</para>
<para>
A copy of the license is available at
<ulink url="http://www.daniel.nofftz.net/linux/gpl_v2.txt">
http://www.daniel.nofftz.net/linux/gpl_v2.txt</ulink>.
</para>
<para>
Linux is a registered trademark of Linus Torvalds.
</para>
</sect2>
<sect2 id="disclaimer">
<title>Disclaimer</title>
<para>
This work is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
</para>
<para>
All copyrights are held by their respective owners,
unless specifically noted otherwise. Use of a term in this
document should not be regarded as affecting the validity of any
trademark or service mark. Naming of particular products or
brands should not be seen as endorsements.
</para>
</sect2>
<!-- Feedback -->
<sect2 id="feedback">
<title>Feedback/Questions/Support</title>
<para>
Feedback is most essential for this document. New solutions for
new chipsets are especially needed, as are comments,
whether the provided solutions work or don't work. Also please report
spelling errors if you find them, cause i am no native english speaker. Send
your additions, comments, criticisms and questions to the following
email address: <email>daniel@nofftz.net.NOSPAM</email>.
<emphasis>You can email me in German or English!</emphasis>
</para>
<para>
If you want to support me, you could donate through Paypal (to the
same email-adress) or send me some new Hardware to play with. ;)
</para>
</sect2>
<sect2 id="newversions">
<title>New Versions of this Document</title>
<para>
The newest version of this HOWTO will always first be made
available at:
<ulink url="http://www.daniel.nofftz.net/linux/">http://www.daniel.nofftz.net/linux/</ulink>
</para>
<para>
The sourcecode of this HOWTO is hosted at the <ulink url="http://www.tldp.org">Linux Documentation Project</ulink> or can be requested from me.
</para>
</sect2>
</sect1>
<sect1 id="approaches">
<title>The Different Approaches</title>
<para>
In the following section I present different approaches to achieve the same goal:
power-saving on your Athlon/Athlon-XP based system. My recommended approach at the
moment is to use the <quote>command-line hack</quote> or the athcool programm (the kernel patch
is outdated and will not be developed any further, and the
LVCool patch supports only one chipset family.)
</para>
<para>
Nearly all of these approaches will set the <quote>
Disconnect enable when STPGNT detected</quote> bit
in the north bridge of the chipset. All other work is done by the ACPI subsystem of
the kernel which sends a STPGNT signal to the processor, when it enters the acpi-c2 idle
mode.
</para>
<para>
If you haven't already got a kernel with ACPI support, you have to enable it in
the kernel setup and then recompile the new kernel. You'll find the
ACPI-options under <menuchoice><guimenu>General Setup</guimenu><guimenu>Power Management Setup</guimenu><guimenuitem>ACPI</guimenuitem></menuchoice>. You must have at least the following options: <guimenuitem>ACPI Bus Manager</guimenuitem>, <guimenuitem>System</guimenuitem> and <guimenuitem>Processor.</guimenuitem>
</para>
<para>
Or for the new 2.4.22 Kernel: <menuchoice><guimenu>General Setup</guimenu><guimenu>ACPI Support</guimenu></menuchoice>. You must have at least the following option: <guimenuitem>Processor</guimenuitem>.
</para>
<para>2.6.x Kernel: <menuchoice><guimenu>Powermanagment options</guimenu><guimenu>ACPI</guimenu></menuchoice>. You must have at least the option <guimenuitem>Processor</guimenuitem> enabled. You shouldn't enable Thermal Zone !!
</para>
<para>
Some Chipsets also support a STPGNT if a HLT signal is detected. This Motherboards/Chipsets
don't need ACPI to be enabled! At the moment i look for feedback which Chipsets work without
ACPI and which need ACPI. Maybee you could test it on your Motherboard and send me a mail.
(see <xref linkend="testing" />)
</para>
<sect2 id="commandline">
<title>The Command-line Hack (recommended)</title>
<para>
To use the command-line hack you normaly have to enable ACPI in the kernel, otherwise it is mentioned. No reboot is needed to enable the Powersaving. You could enable/disable it from the command line with this commands:
</para>
<para>
<variablelist>
<varlistentry>
<term>on KT133/133A, KX133, KL/KLE133, KM/KN133, ...: (needs definitively acpi enabled)</term>
<listitem>
<para>
enable: <command>setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0 52) | 0x80)))</command>
</para>
<para>
disable: <command>setpci -v -H1 -s 0:0.0 52=$(printf %x $((0x$(setpci -H1 -s 0:0.0 52) &amp; 0x7f)))</command>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>on KT266/266A/333,KM266/266A/333, ...:</term>
<listitem>
<para>enable:</para>
<para><command>setpci -v -H1 -s 0:0.0 92=$(printf %x $((0x$(setpci -H1 -s 0:0.0 92) | 0x80)))</command></para>
<para><command>setpci -v -H1 -s 0:0.0 95=$(printf %x $((0x$(setpci -H1 -s 0:0.0 95) | 0x02)))</command></para>
<para>disable:</para>
<para><command>setpci -v -H1 -s 0:0.0 92=$(printf %x $((0x$(setpci -H1 -s 0:0.0 92) &amp; 0x7f)))</command></para>
<para><command>setpci -v -H1 -s 0:0.0 95=$(printf %x $((0x$(setpci -H1 -s 0:0.0 95) &amp; 0xfd)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on KT333CF/KT400/KT400A/KM400/KM400A/KT600:</term>
<listitem>
<para>enable:</para>
<para><command>setpci -v -H1 -s 0:0.0 D2=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D2) | 0x80)))</command></para>
<para><command>setpci -v -H1 -s 0:0.0 D5=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D5) | 0x02)))</command></para>
<para>disable:</para>
<para><command>setpci -v -H1 -s 0:0.0 D2=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D2) &amp; 0x7f)))</command></para>
<para><command>setpci -v -H1 -s 0:0.0 D5=$(printf %x $((0x$(setpci -H1 -s 0:0.0 D5) &amp; 0xfd)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on KT880:</term>
<listitem>
<para>enable:</para>
<para><command>setpci -v -H1 -s 0:0.0 82=$(printf %x $((0x$(setpci -H1 -s 0:0.0 82) | 0x80)))</command></para>
<para><command>setpci -v -H1 -s 0:0.0 85=$(printf %x $((0x$(setpci -H1 -s 0:0.0 85) | 0x02)))</command></para>
<para>disable:</para>
<para><command>setpci -v -H1 -s 0:0.0 82=$(printf %x $((0x$(setpci -H1 -s 0:0.0 82) &amp; 0x7f)))</command></para>
<para><command>setpci -v -H1 -s 0:0.0 85=$(printf %x $((0x$(setpci -H1 -s 0:0.0 85) &amp; 0xfd)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on SIS730/733:</term>
<listitem>
<para>enable: <command>setpci -v -H1 -s 0:0.0 6B=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6B) | 0x01)))</command></para>
<para>disable: <command>setpci -v -H1 -s 0:0.0 6B=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6B) &amp; 0xfe)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on SIS735/740/745/755:</term>
<listitem>
<para>enable: <command>setpci -v -H1 -s 0:0.0 6A=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6A) | 0x0003)))</command></para>
<para>disable: <command>setpci -v -H1 -s 0:0.0 6A=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6A) &amp; 0xfffc)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on SIS741/741GX/746/748:</term>
<listitem>
<para><command>setpci -v -H1 -s 0:0.0 6C=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6C) | 0x0003)))</command></para>
<para>disable:</para>
<para><command>setpci -v -H1 -s 0:0.0 6C=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6C) &amp; 0xfffc)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on Nforce:</term>
<listitem>
<para>enable:</para>
<para><command>setpci -v -H1 -s 0:0.0 E7=$(printf %x $((0x$(setpci -H1 -s 0:0.0 E7) | 0x06)))</command></para>
<para>disable:</para>
<para><command>setpci -v -H1 -s 0:0.0 E7=$(printf %x $((0x$(setpci -H1 -s 0:0.0 E7) &amp; 0xf9)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on Nforce2: (works without acpi enabled)</term>
<listitem>
<para>enable: <command>setpci -v -H1 -s 0:0.0 6F=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6F) | 0x10)))</command></para>
<para>disable: <command>setpci -v -H1 -s 0:0.0 6F=$(printf %x $((0x$(setpci -H1 -s 0:0.0 6F) &amp; 0xef)))</command></para>
</listitem>
</varlistentry>
<varlistentry>
<term>on AMD751 and AMD760/761:(not for the 760MP!!!)(works without acpi enabled)</term>
<listitem>
<para>
enable: <command>setpci -v -s 0:0.0 0x62=$(printf %x $((0x$(setpci -H1 -s 0:0.0 62) | 0x06)))</command>
</para>
<para>
disable: <command>setpci -v -s 0:0.0 0x62=$(printf %x $((0x$(setpci -H1 -s 0:0.0 62) &amp; 0xf9)))</command>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect2>
<sect2 id="coolrun">
<title>The coolrun shellscript (recommended)</title>
<para>
<emphasis>coolrun</emphasis> is a small shellscript which uses the command line hacks and does all the work for you. It is developed/maintened
by Grozdan Nikolov and based on this HOWTO.
</para>
<para>
You can read more about it (and download it) here:
<ulink url="https://sourceforge.net/projects/coolrun/">
https://sourceforge.net/projects/coolrun/</ulink>
</para>
</sect2>
<sect2 id="athcool">
<title>The Athcool Program (recommended)</title>
<para>
<emphasis>Athcool</emphasis> is a small program which performs the same
task as the <command>setpci</command> commands above. It supports the same
chipsets and detects what chipset you have, issuing the right settings
in the chipset to get the power-saving to work.
</para>
<para>
You can read more about it (and download it) here:
<ulink url="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html">
http://members.jcom.home.ne.jp/jacobi/linux/softwares.html</ulink> <emphasis>I am not the Author
of this program!</emphasis>
</para>
</sect2>
<sect2 id="biosup">
<title>BIOS updates</title>
<para>
On some newer boards the manufacturer provides a BIOS update which sets
the needed bit/bits in the chipset of the board (or let you choose in
the BIOS-setup whether it should be enabled). Refer to the homepage of
your motherboard manufacturer to see if such a BIOS-update is available.
</para>
</sect2>
<sect2 id="patch">
<title>Kernel Patches</title>
<para>
The patch is based on another patch (from Jan Niehusmann) I found on the
Newsnet. I modified the patch to also support the KT266/266A chipset.
By the way, my patch does the same as the command-line hack, except that
the Patch does it from
within the kernel. This is why I recommend using the command-line hack,
which is really simple to use and you don't have to modify your kernel.
</para>
<procedure>
<title>Ok... now step by step, here's how to apply the patch:</title>
<step>
<para>
First you have to download the patch: </para>
<para><ulink url="http://www.daniel.nofftz.net/linux/amd_cool.diff">
Kernel Patch for 2.4.17</ulink></para>
<para><ulink url="http://www.daniel.nofftz.net/linux/amd_cool.linux-2.4.21.diff">
Kernel Patch for 2.4.21</ulink> (thx to Thomas Reinhardt for porting it to 2.4.21)</para>
<para><ulink url="http://www.daniel.nofftz.net/linux/amd_cool.linux-2.6.5.diff">
Kernel Patch for 2.6.5</ulink> which supports all Via Chipsets up to the KT600 (thx to Sebastian Droege for porting it to 2.6.5 and adding the other Chipsets)</para>
<para><ulink url="http://www.daniel.nofftz.net/linux/amd_cool.linux-2.6.9.diff">
Kernel Patch for 2.6.9</ulink> which supports all Via Chipsets up to the KT600 (thx to Alexander Hug for porting it from 2.6.5 to 2.6.9)</para>
</step>
<step>
<para>
Login as root
</para>
</step>
<step>
<para>
<command>cd /usr/src</command>
</para>
</step>
<step>
<para>
Apply the patch: <command>cat $path-to-patch/amd_cool.diff | patch -p0</command>
(The new 2.6.5 Patch: cd to linux and patch -p1)
</para>
</step>
<step>
<para>
<command>cd linux</command>
</para>
</step>
<step>
<para>
Make the new kernel
</para>
</step>
<step>
<para>
Reboot, and at the kernel boot-prompt, enter the statement <userinput> amd_disconnect=yes </userinput>. This is because there are known bugs within the Athlon processor, which could cause problems on several boards. You should test the patch, and if it works, you can append the statement <userinput> amd_disconnect=yes </userinput> to the file <filename>/etc/lilo.conf</filename>.
</para>
</step>
</procedure>
</sect2>
<sect2 id="lvcool">
<title>The LVCool Solution</title>
<para>
<emphasis>LVCool</emphasis> is a small port of the Windows programm
<ulink url="http://vcool.occludo.net/">
VCool</ulink>. It only supports the KT133/133A and KX133 chipset and
I can't provide support for it. You can download it
<ulink url="http://vcool.occludo.net/VC_Linux.html">
here</ulink>. This solutions needs no ACPI compiled in the kernel.
</para>
</sect2>
<sect2 id="fvcool">
<title>The FVCool Program</title>
<para>
<ulink url="http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html">
Here</ulink> is another Powersaving program which supports several chipsets. I didn't test it
by myself but i heared it works. Check it out ... There is also a program provided with
which you could use the onboard monitoring chips on some motherboards
(like the lm-sensors package).
</para>
</sect2>
<sect2 id="_760MP">
<title>AMD 760MP Powersaving</title>
<para>
There is a kernel module which enables powersaving on the 760MP multiprocessor chipset. You
could find it
<ulink url="http://www.muru.com/linux/amd-smp-idle/">
here</ulink>. I don't know how good it works, but i got at least one mail from someone
who said it works for him. So check it out.
</para>
</sect2>
</sect1>
<sect1 id="else">
<title>What Else?</title>
<sect2 id="testing">
<title>How to test whether it works</title>
<para>
Ok ... you use one of the described powersaving possibilitys and you want to verify, whether
it works. Here are two ways to check it:
</para>
<para>
If you have temperature controlled Fan on your CPU-Heatsink, you could check for the noise level of the Fan to see whether it works or not. After a few idle minutes you give the CPU somthing to do.
<tip>
<procedure>
<title>I normaly do it like this:</title>
<step>
<para>
get superuser (root)
</para>
</step>
<step>
<para>
<command>cd /usr/src/linux</command>
</para>
</step>
<step>
<para>
and give the computer something to do: <command>while true; do make clean; make bzImage; done</command>
</para>
</step>
</procedure>
</tip>
After about 20 or 30 seconds you should notice that the noise of the fan is getting louder while the fan is getting faster. Don't forget to end the while-loop after some time ( a few minutes) with STRG-C.
</para>
<para>
The same procedure as above works also with a monitoring program for the cpu-temperature (like <ulink url="http://secure.netroedge.com/~lm78/">lm-sensors</ulink>, <ulink url="http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html">xmbmon</ulink> and <ulink url="http://www.tinet.org/~com.ea/rtsensors/">rtsensors</ulink>).
</para>
</sect2>
<sect2 id="bugs">
<title>Known Bugs/Problems</title>
<para>There are two known bugs in the Athlon/Duron processor. This is number
11 and number 14 in the <citetitle>AMD Athlon Processor Revision Guide</citetitle>. It looks like the Athlon XP is significantly less often affected by these bugs. So if you have an Athlon XP you are on the lucky side (like me).</para>
<para>There could be following problems (caused by the bugs):
<itemizedlist>
<listitem>
<para>skips during sound playback</para>
</listitem>
<listitem>
<para>skips and slowdown during video playback</para>
</listitem>
<listitem>
<para>slowdown of the ultra-DMA harddisk transfers</para>
</listitem>
<listitem>
<para>system hangs</para>
</listitem>
<listitem>
<para>USB problems</para>
</listitem>
<listitem>
<para>someone reported a high cheeping noise</para>
</listitem>
</itemizedlist>
</para>
<para>Sometimes a BIOS-update will help (it exists as a workaround for
bug 11, which could be done by the BIOS). But as far as I know there are
only a few boards out there which have this workaround in the BIOS.</para>
<para>For the Asus A7V133-C, it is known that the BIOS-option <option>PCI master read caching</option> will solve most problems when it is enabled. So look
at your BIOS to see whether it has such functionality.</para>
<para>It is also known that on some boards, the BIOS option <option>Delayed Transaction</option> solves some of the problems. You may want to give this option a try too.</para>
<para>WARNING: On boards with KT133A, this could enable the famous VIA-Southbridge bug!</para>
<para>From a Newsnet post, regarding Asus A7V:
<itemizedlist>
<listitem>
<para>without delayed transaction: sound-skips and TV-skips</para>
</listitem>
<listitem>
<para>with delayed transaction: no sound skips and only slight TV problems</para>
</listitem>
<listitem>
<para>with delayed transcation and master read caching: nearly no TV problems and no sound skips at all</para>
</listitem>
</itemizedlist>
</para>
<para>There are other causes for problems:
<itemizedlist>
<listitem>
<para>the PSU is not strong enough to handle the fluctuations in the power consumption of the processor/motherboard</para>
</listitem>
<listitem>
<para>some motherboard voltage-regulators could have the same problems like the PSU ;)</para>
</listitem>
<listitem>
<para>you have a K7S5A (as far as I know, this board could be really wierd when power-saving is enabled)</para>
</listitem>
</itemizedlist>
</para>
<para>
If you have minor problems with power-saving enabled, and nevertheless want to use
power-saving, you can enable the power-saving by default, and turn it off if you
want to playback music, watch TV, ...
</para>
</sect2>
<sect2 id="fix">
<title>Fix for sound skips and other problems</title>
<para>Thank you to Michael Hamilton for submitting me the idea how it works.</para>
<para>The working of this Fix was confirmed by two People, so it looks like it works, but it may not work for everyone. Please feel free to submit further experiences!</para>
<para>Lets go: It looks like at least the sound skips are curable by maximizing the pci latency timer of the device.</para>
<para>First you have to find the "pci-address" of your Soundcard. This could be done with <command>lspci</command>. You have to look for something like "Multimedia audio controller" or "AudioPCI". Take the "pci-address" of the device (looks like something like that: 01:06.0 -> it stands for: bus:slot.function) and maximize the latency timer for it. This is done by setpci:</para>
<para><command>setpci -v -s "pci-address" latency_timer=ff</command></para>
<para>For additional Information on the Latency Timer you could look <ulink url="http://www-106.ibm.com/developerworks/linux/library/l-hw2.html">here.</ulink></para>
<para>Maybe this works also for other problems like USB-Problems and Harddisk-Transfer-Slowdowns, but this hasn't been tested for now. Feel free to test it (but don't blame me, if it doesn't work or makes everything worse) and report whether it works. The problem is, that i have none of this problems and so can't test this by myself.</para>
<para>If it works, you have to perform this setpci command at every startup/reboot of the Computer. So it would be wise to put it in one of the init-scripts (after the driver module is loaded!).</para>
</sect2>
<sect2 id="viafix">
<title>Another Fix for sound skips and other problems (on some Via-Chipsets)</title>
<para>Thank you to Wijatmoko Prayitno for submitting this!</para>
<para>The working of this Fix was confirmed for KT266, KT/KM333 and KT/KM400 Chipsets. It may also work for other Via-Chipsets. Please report if it works on other Via-Chipsets !</para>
<para>This is quite easy and works like the Commandline-Hack for enabling the Powersaving:</para>
<variablelist>
<varlistentry>
<term>Soundfix on KT/KM333 and KT/KM400 Chipsets:</term>
<listitem>
<para>
enable: <command>setpci -v -H1 -s 0:0.0 70=$(printf %x $((0x$(setpci -H1 -s 0:0.0 70) | 0x08)))</command>
</para>
<para>
disable: <command>setpci -v -H1 -s 0:0.0 70=$(printf %x $((0x$(setpci -H1 -s 0:0.0 70) &amp; 0xf7)))</command>
</para>
</listitem>
</varlistentry>
</variablelist>
<para>If it works, you have to perform this setpci command at every startup/reboot of the Computer. So it would be wise to put it in one of the init-scripts (after the driver module is loaded!).</para>
</sect2>
<sect2 id="todo">
<title>ToDo</title>
<para>Adding more chipsets and more informations to this document.</para>
<para>Adding some Informations on the Powersaving System of the Athlon64 and Opteron CPUs.</para>
<para>Adding some Informations on Notebooks and Power-Saving.</para>
</sect2>
<sect2 id="translations">
<title>Translations</title>
<para>
Translations into different languages also exist. At the moment, some of
them are not up to date.
</para>
<para><ulink url="http://tldp.fsf.hu/HOWTO/Athlon-Powersaving-HOWTO-hu/index.html">
Hungarian</ulink>by Zsolt Mocza</para>
<para><ulink url="http://perso.wanadoo.es/cmayo/docs/Athlon-Powersaving-HOWTO-es.html">
Spanish</ulink> by Carlos Mayo (very out-dated)</para>
<para><ulink url="http://www.gigantefotos.com.br/sl/pt_BR_Athlon_Powersaving_HOWTO.html">
brasilian Portuguese/Portuguese</ulink> by Bruno Buys</para>
<para><ulink url="http://www.daniel.nofftz.net/linux/Athlon-Powersaving-HOWTO-fr.html">
French</ulink> by Mathieu Pillard (very out-dated)</para>
<para><ulink url="http://www.daniel.nofftz.net/linux/Athlon-Powersaving-HOWTO-it.html">
Italian</ulink> by Maurizio Fantino (very out-dated)</para>
<para><ulink url="http://www.linuxwiki.de/AMDPowerSaving">
German (only parts)</ulink> by Fabian Mohren</para>
<para><ulink url="http://www.linux.or.jp/JF/JFdocs/Athlon-Powersaving-HOWTO/index.html">Japanese</ulink> by Seiji Kaneko</para>
</sect2>
</sect1>
</article>