File: drives.html

package info (click to toggle)
mplayer 1.0~rc1-12etch7
  • links: PTS
  • area: main
  • in suites: etch
  • size: 47,324 kB
  • ctags: 86,269
  • sloc: ansic: 580,415; xml: 107,529; sh: 7,643; makefile: 2,860; asm: 2,206; cpp: 1,034; objc: 865; awk: 234; perl: 82
file content (48 lines) | stat: -rw-r--r-- 6,874 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>4.1. CD/DVD mechaniky</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimediln p&#345;ehrva&#269;"><link rel="up" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it CD/DVD"><link rel="prev" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it CD/DVD"><link rel="next" href="dvd.html" title="4.2. P&#345;ehrvn DVD"><link rel="preface" href="howtoread.html" title="Jak &#269;st tuto  dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. P&#345;edstaven"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Pou&#382;it"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Pou&#382;it CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. &#268;asto Kladen Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn formty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. Vstupn video za&#345;zen/rozhran"><link rel="chapter" href="audio.html" title="Kapitola 9. Vstupn zvukov za&#345;zen"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="radio.html" title="Kapitola 11. Rdio"><link rel="chapter" href="ports.html" title="Kapitola 12. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 13. Zkladn pou&#382;it MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 14. Enkdovn s MEncoderem"><link rel="appendix" href="bugreports.html" title="P&#345;loha A. Jak hlsit chyby"><link rel="appendix" href="bugs.html" title="P&#345;loha B. Znm chyby"><link rel="appendix" href="skin.html" title="P&#345;loha C. Formt skin&#367; MPlayeru"><link rel="subsection" href="drives.html#drives_linux" title="4.1.1. Linux"><link rel="subsection" href="drives.html#drives_freebsd" title="4.1.2. FreeBSD"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4.1. CD/DVD mechaniky</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cd-dvd.html">P&#345;edchzejc</a></td><th width="60%" align="center">Kapitola 4. Pou&#382;it CD/DVD</th><td width="20%" align="right"><a accesskey="n" href="dvd.html">Dal&#353;</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="drives"></a>4.1. CD/DVD mechaniky</h2></div></div></div><p>
Modern CD-ROM mechaniky dosahuj velmi vysokch ot&#269;ek a n&#283;kter z nich
mohou pracovat i se sn&#382;enmi ot&#269;kami. Existuje n&#283;kolik d&#367;vod&#367;, pro
kter byste mohli chtt zm&#283;nit rychlost CD-ROM mechaniky:
</p><div class="itemizedlist"><ul type="disc"><li><p>
Byly zprvy o chybch &#269;ten p&#345;i vysokch rychlostech, zvl&#353;t&#283; u &#353;patn&#283;
vylisovanch CD-ROM&#367;. Z t&#283;chto d&#367;vod&#367; m&#367;&#382;e sn&#382;en rychlosti p&#367;sobit
jako prevence ztrty dat.
</p></li><li><p>
Mnoho CD-ROM mechanik je nechutn&#283; hlu&#269;nch, ni&#382;&#353; rychlost m&#367;&#382;e omezit
tento hluk.
</p></li></ul></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="drives_linux"></a>4.1.1. Linux</h3></div></div></div><p>
M&#367;&#382;ete sn&#382;it rychlost IDE CD-ROM mechanik pomoc <span><strong class="command">hdparm</strong></span>,
<span><strong class="command">setcd</strong></span> nebo <span><strong class="command">cdctl</strong></span>. Pracuje to asi takto:
</p><pre class="screen">hdparm -E <em class="replaceable"><code>[rychlost]</code></em> <em class="replaceable"><code>[mechanika cdrom]</code></em></pre><p>
</p><pre class="screen">setcd -x <em class="replaceable"><code>[rychlost]</code></em> <em class="replaceable"><code>[mechanika cdrom]</code></em></pre><p>
</p><pre class="screen">cdctl -bS <em class="replaceable"><code>[rychlost]</code></em></pre><p>
</p><p>
Pokud pou&#382;vte SCSI emulaci, budete muset p&#345;edat tato nastaven do skute&#269;nho
IDE za&#345;zen, nikoli emulovanho SCSI za&#345;zen.
</p><p>
Pokud mte prva root-a, nsledujc p&#345;kaz vm rovn&#283;&#382; m&#367;&#382;e pomoci:
</p><pre class="screen">echo file_readahead:2000000 &gt; /proc/ide/<em class="replaceable"><code>[mechanika cdrom]</code></em>/settings</pre><p>
</p><p>
To nastav &#269;ten nap&#345;ed na 2MB, co&#382; pom&#367;&#382;e p&#345;i po&#353;krbanch mdich.
Pokud ji v&#353;ak nastavte p&#345;li&#353; vysoko, bude mechanika stle zrychlovat a
zpomalovat, co&#382; vrazn&#283; sn&#382; jej vkon.
Doporu&#269;ujeme vm rovn&#283;&#382; vyladit va&#353;i CD-ROM mechaniku pomoc <span><strong class="command">hdparm</strong></span>:
</p><pre class="screen">hdparm -d1 -a8 -u1 <em class="replaceable"><code>[cdrom za&#345;zen]</code></em></pre><p>
</p><p>
To zapne DMA p&#345;stup, &#269;ten nap&#345;ed a odmaskovn IRQ (p&#345;e&#269;t&#283;te si man strnku
programu <span><strong class="command">hdparm</strong></span> pro podrobn vysv&#283;tlen).
</p><p>
Prostudujte si "<tt class="filename">/proc/ide/<em class="replaceable"><code>cdrom za&#345;zen</code></em>/settings"</tt>
pro jemn dolad&#283;n va&#353; CD-ROM.
</p><p>
SCSI mechaniky nemaj jednotn zp&#367;sob pro nastaven t&#283;chto parametr&#367; (Znte n&#283;jak?
&#344;ekn&#283;te nm jej!). Existuje nstroj, kter pracuje se
<a href="http://das.ist.org/~georg/" target="_top">SCSI mechanikami Plextor</a>.
</p></div><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="drives_freebsd"></a>4.1.2. FreeBSD</h3></div></div></div><p>rychlost:
</p><pre class="screen">
cdcontrol [-f <em class="replaceable"><code>za&#345;zen</code></em>] speed <em class="replaceable"><code>[rychlost]</code></em>
</pre><p>
</p><p>DMA:
</p><pre class="screen">
sysctl hw.ata.atapi_dma=1
</pre><p>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cd-dvd.html">P&#345;edchzejc</a></td><td width="20%" align="center"><a accesskey="u" href="cd-dvd.html">Nahoru</a></td><td width="40%" align="right"><a accesskey="n" href="dvd.html">Dal&#353;</a></td></tr><tr><td width="40%" align="left" valign="top">Kapitola 4. Pou&#382;it CD/DVD</td><td width="20%" align="center"><a accesskey="h" href="index.html">Dom&#367;</a></td><td width="40%" align="right" valign="top">4.2. P&#345;ehrvn DVD</td></tr></table></div></body></html>