old-www/HOWTO/Athlon-Powersaving-HOWTO/else.html

436 lines
9.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>What Else?</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Athlon Powersaving HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="The Different Approaches"
HREF="approaches.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Athlon Powersaving HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="approaches.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
>&nbsp;</TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="else"
></A
>3. What Else?</H1
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="testing"
></A
>3.1. How to test whether it works</H2
><P
>&#13; Ok ... you use one of the described powersaving possibilitys and you want to verify, whether
it works. Here are two ways to check it:
</P
><P
>&#13; 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.
<DIV
CLASS="procedure"
><P
><B
>I normaly do it like this:</B
></P
><OL
TYPE="1"
><LI
>get superuser (root)
</LI
><LI
><B
CLASS="command"
>cd /usr/src/linux</B
></LI
><LI
>and give the computer something to do: <B
CLASS="command"
>while true; do make clean; make bzImage; done</B
></LI
></OL
></DIV
>
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.
</P
><P
>&#13; The same procedure as above works also with a monitoring program for the cpu-temperature (like <A
HREF="http://secure.netroedge.com/~lm78/"
TARGET="_top"
>lm-sensors</A
>, <A
HREF="http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html"
TARGET="_top"
>xmbmon</A
> and <A
HREF="http://www.tinet.org/~com.ea/rtsensors/"
TARGET="_top"
>rtsensors</A
>).
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="bugs"
></A
>3.2. Known Bugs/Problems</H2
><P
>There are two known bugs in the Athlon/Duron processor. This is number
11 and number 14 in the <I
CLASS="citetitle"
>AMD Athlon Processor Revision Guide</I
>. 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).</P
><P
>There could be following problems (caused by the bugs):
<P
></P
><UL
><LI
><P
>skips during sound playback</P
></LI
><LI
><P
>skips and slowdown during video playback</P
></LI
><LI
><P
>slowdown of the ultra-DMA harddisk transfers</P
></LI
><LI
><P
>system hangs</P
></LI
><LI
><P
>USB problems</P
></LI
><LI
><P
>someone reported a high cheeping noise</P
></LI
></UL
>
</P
><P
>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.</P
><P
>For the Asus A7V133-C, it is known that the BIOS-option <TT
CLASS="option"
>PCI master read caching</TT
> will solve most problems when it is enabled. So look
at your BIOS to see whether it has such functionality.</P
><P
>It is also known that on some boards, the BIOS option <TT
CLASS="option"
>Delayed Transaction</TT
> solves some of the problems. You may want to give this option a try too.</P
><P
>WARNING: On boards with KT133A, this could enable the famous VIA-Southbridge bug!</P
><P
>From a Newsnet post, regarding Asus A7V:
<P
></P
><UL
><LI
><P
>without delayed transaction: sound-skips and TV-skips</P
></LI
><LI
><P
>with delayed transaction: no sound skips and only slight TV problems</P
></LI
><LI
><P
>with delayed transcation and master read caching: nearly no TV problems and no sound skips at all</P
></LI
></UL
>
</P
><P
>There are other causes for problems:
<P
></P
><UL
><LI
><P
>the PSU is not strong enough to handle the fluctuations in the power consumption of the processor/motherboard</P
></LI
><LI
><P
>some motherboard voltage-regulators could have the same problems like the PSU ;)</P
></LI
><LI
><P
>you have a K7S5A (as far as I know, this board could be really wierd when power-saving is enabled)</P
></LI
></UL
>
</P
><P
>&#13; 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, ...
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="fix"
></A
>3.3. Fix for sound skips and other problems</H2
><P
>Thank you to Michael Hamilton for submitting me the idea how it works.</P
><P
>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!</P
><P
>Lets go: It looks like at least the sound skips are curable by maximizing the pci latency timer of the device.</P
><P
>First you have to find the "pci-address" of your Soundcard. This could be done with <B
CLASS="command"
>lspci</B
>. 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 -&#62; it stands for: bus:slot.function) and maximize the latency timer for it. This is done by setpci:</P
><P
><B
CLASS="command"
>setpci -v -s "pci-address" latency_timer=ff</B
></P
><P
>For additional Information on the Latency Timer you could look <A
HREF="http://www-106.ibm.com/developerworks/linux/library/l-hw2.html"
TARGET="_top"
>here.</A
></P
><P
>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.</P
><P
>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!).</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="viafix"
></A
>3.4. Another Fix for sound skips and other problems (on some Via-Chipsets)</H2
><P
>Thank you to Wijatmoko Prayitno for submitting this!</P
><P
>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 !</P
><P
>This is quite easy and works like the Commandline-Hack for enabling the Powersaving:</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
>Soundfix on KT/KM333 and KT/KM400 Chipsets:</DT
><DD
><P
>&#13; enable: <B
CLASS="command"
>setpci -v -H1 -s 0:0.0 70=$(printf %x $((0x$(setpci -H1 -s 0:0.0 70) | 0x08)))</B
>
</P
><P
>&#13; disable: <B
CLASS="command"
>setpci -v -H1 -s 0:0.0 70=$(printf %x $((0x$(setpci -H1 -s 0:0.0 70) &#38; 0xf7)))</B
>
</P
></DD
></DL
></DIV
><P
>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!).</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="todo"
></A
>3.5. ToDo</H2
><P
>Adding more chipsets and more informations to this document.</P
><P
>Adding some Informations on the Powersaving System of the Athlon64 and Opteron CPUs.</P
><P
>Adding some Informations on Notebooks and Power-Saving.</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="translations"
></A
>3.6. Translations</H2
><P
>&#13; Translations into different languages also exist. At the moment, some of
them are not up to date.
</P
><P
><A
HREF="http://tldp.fsf.hu/HOWTO/Athlon-Powersaving-HOWTO-hu/index.html"
TARGET="_top"
>&#13; Hungarian</A
>by Zsolt Mocza</P
><P
><A
HREF="http://perso.wanadoo.es/cmayo/docs/Athlon-Powersaving-HOWTO-es.html"
TARGET="_top"
>&#13; Spanish</A
> by Carlos Mayo (very out-dated)</P
><P
><A
HREF="http://www.gigantefotos.com.br/sl/pt_BR_Athlon_Powersaving_HOWTO.html"
TARGET="_top"
>&#13; brasilian Portuguese/Portuguese</A
> by Bruno Buys</P
><P
><A
HREF="http://www.daniel.nofftz.net/linux/Athlon-Powersaving-HOWTO-fr.html"
TARGET="_top"
>&#13; French</A
> by Mathieu Pillard (very out-dated)</P
><P
><A
HREF="http://www.daniel.nofftz.net/linux/Athlon-Powersaving-HOWTO-it.html"
TARGET="_top"
>&#13; Italian</A
> by Maurizio Fantino (very out-dated)</P
><P
><A
HREF="http://www.linuxwiki.de/AMDPowerSaving"
TARGET="_top"
>&#13; German (only parts)</A
> by Fabian Mohren</P
><P
><A
HREF="http://www.linux.or.jp/JF/JFdocs/Athlon-Powersaving-HOWTO/index.html"
TARGET="_top"
>Japanese</A
> by Seiji Kaneko</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="approaches.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The Different Approaches</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>