DMA Mode won't stay set to "ON".
Hi guys,
I'm having a problem with setting the DMA flag on my dvd drive. I'm running Ubuntu hoary on a Toshiba A30-104 laptop, and I'm experiencing choppy playback from DVD's. I know that the problem is that DMA is not turned on (tested it), and I can turn it on for a single session easily enough using: Code:
me@box:~$ sudo hdparm -d 1 /dev/hdc I have also tried Code:
me@box:~$ sudo hdparm -d 1 -k 1 /dev/hdc When I run the setup wizard on GXine, I get the following: FAILED - DMA not turned on for /dev/dvd. If you are using the ide-cd module ensure that you have the following entry in /etc/modules.conf: options ide-cd dma=1 Reload ide-cd module otherwise run hdparm -d 1 on your dvd-device. I don't have an /etc/modules.conf, but I do have an /etc/modules which looks like: Code:
/etc/modules: I have tried to set dma=1 in here like the GXine wizard says, but it doesn't seem to make a difference. Does anyone know how I can set dma mode to on permanently so I don't have to run hdparm each time I want to watch a DVD? |
just put the hdparm command at the end of your boot scripts
|
I thought of that but I haven't tried it - is there any script in particular where it belongs? Also, what about requiring root permissions to run hdparm? How will that affect it if I put it in the boot script?
|
All times are GMT -5. The time now is 09:30 AM. |