DMA for a DVD Drive?
How do I configure Linux to enable DMA on start-up for a DVD drive.
I've installed Ogle so that I can use my computer to watch DVDs, however, the playback stutters terribly. From some searches I've done on the web it looks like I need to use a "hdparm" command, but I don't know how or where to input the command to enable DMA at start-up. Operating System: Red Hat 7.3 Processor: Celeron 566@850 Memory: 96MB of Junk Memory Video Card: Radeon 32MB DDR LE DVD: ASUS E616 (capable of UDMA100) Hard Drive: IBM GXP75 - 45GB |
read man hdparm for the correct parameters to use.
WARNING: I am no expert at this and only use hdparm on my hard drives with no obvious speed boost. This may not fix your prob and may rodger things in a good and proper fashion. Read the texts first so you can decide on the safety of the procedure yourself. from my reading this is what you need. you'll need to be root by typing su and then the root password (this is all done at the command line) Code:
hdparm -x34 d1 /dev/yourdvddrive to check it is working use the following commands before and then after the previous command (not sure whether this works with DVD drives [not sure any of this does] but you'll definately need a data cd in it of some description). Code:
hdparm -tT /dev/DVDdevice That may work though that last command will need to be done several times to get an average (preferably with as few processes running as possible) of the speed of your drive interface. On a side note, what may make things wizz a long at a better pace would be to make sure that your ide bus is nipping along at its fastest capable speed. ask if you need more help on how to do this (if not dfone already). Alex P.S. wow, 300 posts now...... |
Thanks Webtoe, I'll try it.
|
Got it working last night. If anyone is interested, the actual command for my system was:
hdparm -d1 /dev/cdrom (Red Hat sees my DVD as a cdrom, although it still plays DVDs) Thanks again Webtoe! |
All times are GMT -5. The time now is 04:12 PM. |