Mercurial > mplayer.hg
comparison DOCS/CDROM @ 521:8f86163f8dc3
*** empty log message ***
author | gabucino |
---|---|
date | Thu, 19 Apr 2001 09:17:41 +0000 |
parents | |
children | 34c1a9fb631b |
comparison
equal
deleted
inserted
replaced
520:4df60675000a | 521:8f86163f8dc3 |
---|---|
1 | |
2 Tune up CDROM | |
3 ~~~~~~~~~~~~~ | |
4 | |
5 Introduction | |
6 ~~~~~~~~~~~~ | |
7 >From Linux documentation: | |
8 | |
9 Some CDROM drives are capable of changing their head-speed. There are several | |
10 reasons for changing the speed of a CDROM drive. Badly pressed CDROMs may | |
11 benefit from less-than-maximum head rate. Modern CDROM drives can obtain very | |
12 high head rates (up to 24-times is common). It has been reported that these | |
13 drives can make reading errors at these high speeds, reducing the speed can | |
14 prevent data loss in these circumstances. Finally, some of these drives can | |
15 make an annoyingly loud noise, which a lower speed may reduce. | |
16 | |
17 Howto | |
18 ~~~~~ | |
19 The recommended way to do it is with a program called 'setcd' . It's kinda | |
20 old, but won't be too hard to find on the Net. | |
21 Use it with : | |
22 setcd -x <speed> <cdrom device> | |
23 | |
24 Also you can try : | |
25 echo current_speed:4 >/proc/ide/<cdrom device>/settings | |
26 but you'll need root privileges. (It didn't work for me - Gabucino) | |
27 | |
28 I use following command too : | |
29 echo file_readahead:2000000 >/proc/ide/<cdrom device>/settings | |
30 for 2MB prefetched reading from the file (it's useful for scratched CDROMs). | |
31 | |
32 It's recommended that you tuneup your CDROM drive also with hdparm: | |
33 | |
34 hdparm -d1 -a8 -u1 <cdrom device> | |
35 to enable using DMA access, readahead, and IRQ unmasking. | |
36 (if you don't understand these, *read the hdparm manpage*) | |
37 | |
38 Final words | |
39 ~~~~~~~~~~~ | |
40 Please refer to "/proc/ide/<cdrom device>/settings" for fine-tuning your CDROM. | |
41 | |
42 Nick Kurshev & Gabucino | |
43 <nickols_k@mail.ru> | |
44 | |
45 |