linux user group brescia

immagine del castello

Archivio della mailing list

cdrom settings..

marco ghidinelli marcogh a linux.it
Ven 15 Feb 2002 09:19:54 UTC
se ne era parlato un po' di tempo fa in lista...

   From Linux documentation:
   
   Some CDROM drives are capable of changing their head-speed. There are
   several reasons for changing the speed of a CDROM drive. Badly pressed
   CDROMs may benefit from less-than-maximum head rate. Modern CDROM drives
   can obtain very high head rates (up to 24-times is common). It has been
   reported that these drives can make reading errors at these high speeds,
   reducing the speed can prevent data loss in these circumstances.  Finally,
   some of these drives can make an annoyingly loud noise, which a lower
   speed may reduce.
   
   The recommended way to do it is with a program called 'setcd' . It's kinda   
   old, but won't be too hard to find on the Net. (UPDATE : new hdparm has an   
   option for this !) Use it with :
   
       setcd -x [speed] [cdrom device]
   
   Also you can try:
   
       echo current_speed:4 >/proc/ide/[cdrom device]/settings
   
   but you'll need root privileges. I use following command too:
   
       echo file_readahead:2000000 >/proc/ide/[cdrom device]/settings
   
   for 2MB prefetched reading from the file (it's useful for scratched
   CDROMs). It's recommended that you tuneup your CDROM drive also with
   hdparm:
   
       hdparm -d1 -a8 -u1 (cdrom device)
   
   to enable using DMA access, readahead, and IRQ unmasking. (if you don't
   understand these, *read the hdparm manpage*)
   
   Please refer to "/proc/ide/[cdrom device]/settings" for fine-tuning your
   CDROM.
   

   




Maggiori informazioni sulla lista Lug