annotate DOCS/CDROM @ 1256:a738eae695cc

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