Slightly restructured, mention more tools, small fixes, cosmetics.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15880 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-07-01 09:33:27 +00:00
parent b8f916eff6
commit f457c4228c
1 changed files with 36 additions and 9 deletions

View File

@ -5,9 +5,6 @@
<sect1 id="drives"> <sect1 id="drives">
<title>CD/DVD drives</title> <title>CD/DVD drives</title>
<para>
Linux documentation excerpt:
</para>
<para> <para>
Modern CD-ROM drives can attain very high head speeds, yet some CD-ROM drives Modern CD-ROM drives can attain very high head speeds, yet some CD-ROM drives
@ -27,11 +24,20 @@ Many CD-ROM drives are annoyingly loud, a lower speed may reduce the noise.
</para></listitem> </para></listitem>
</itemizedlist> </itemizedlist>
<sect2 id="drives_linux">
<title>Linux</title>
<para> <para>
You can reduce the speed of IDE CD-ROM drives with <command>hdparm</command> or a You can reduce the speed of IDE CD-ROM drives with <command>hdparm</command>,
program called <command>setcd</command>. It works like this: <command>setcd</command> or <command>cdctl</command>. It works like this:
<screen>hdparm -E <replaceable>[speed]</replaceable> <replaceable>[cdrom device]</replaceable></screen> <screen>hdparm -E <replaceable>[speed]</replaceable> <replaceable>[cdrom device]</replaceable></screen>
<screen>setcd -x <replaceable>[speed]</replaceable> <replaceable>[cdrom device]</replaceable></screen> <screen>setcd -x <replaceable>[speed]</replaceable> <replaceable>[cdrom device]</replaceable></screen>
<screen>cdctl -bS <replaceable>[speed]</replaceable></screen>
</para>
<para>
If you are using SCSI emulation, you might have to apply the settings to the
real IDE device, not the emulated SCSI device.
</para> </para>
<para> <para>
@ -44,7 +50,7 @@ This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs.
If you set it to too high, the drive will continuously spin up and down, and If you set it to too high, the drive will continuously spin up and down, and
will dramatically decrease the performance. will dramatically decrease the performance.
It is recommended that you also tune your CD-ROM drive with <command>hdparm</command>: It is recommended that you also tune your CD-ROM drive with <command>hdparm</command>:
<screen>hdparm -d1 -a8 -u1 <replaceable>cdrom device</replaceable></screen> <screen>hdparm -d1 -a8 -u1 <replaceable>[cdrom device]</replaceable></screen>
</para> </para>
<para> <para>
@ -63,11 +69,30 @@ Tell us!) There is a tool that works for
<ulink url="http://das.ist.org/~georg/">Plextor SCSI drives</ulink>. <ulink url="http://das.ist.org/~georg/">Plextor SCSI drives</ulink>.
</para> </para>
<para>FreeBSD:</para> </sect2>
<para>Speed: <command>cdcontrol [-f <replaceable>device</replaceable>] speed <replaceable>speed</replaceable></command></para>
<para>DMA: <command>sysctl hw.ata.atapi_dma=1</command></para>
<sect2 id="drives_freebsd">
<title>FreeBSD</title>
<para>speed:
<screen>
cdcontrol [-f <replaceable>device</replaceable>] speed <replaceable>[speed]</replaceable>
</screen>
</para>
<para>DMA:
<screen>
sysctl hw.ata.atapi_dma=1
</screen>
</para>
</sect2>
</sect1> </sect1>
<sect1 id="dvd"> <sect1 id="dvd">
<title>DVD playback</title> <title>DVD playback</title>
<para> <para>
@ -245,6 +270,8 @@ to set the region code of your DVD drive (under Linux).
</para> </para>
</sect1> </sect1>
<sect1 id="vcd"> <sect1 id="vcd">
<title>VCD playback</title> <title>VCD playback</title>
<para> <para>