PDA

View Full Version : DMA mode



Pasq
05-10-2003, 12:24 AM
Would it be hard to autodetect if hd and cdrom can work in DMA mode and enable it ?

Stephen
05-10-2003, 01:06 AM
Would it be hard to autodetect if hd and cdrom can work in DMA mode and enable it ?

Use the hdparm program. To find the settings supported hdparm -i /dev/hda to find what is now in use hdparm /dev/hda this as root in a console. To enable on boot uncomment the line in /etc/init.d/bootmisc.sh. If you use CD use cheat code (http://www.knoppix.net/docs/index.php/CheatCodes) dma and use sudo with the hdparm to test. For more options man hdparm.

Pasq
05-10-2003, 08:45 AM
Which line? I know that hdparm can do it, but how to do on startup to recognise if drivers can use DMA mode, if yes enable it.

Fabianx
05-11-2003, 04:03 PM
Would it be hard to autodetect if hd and cdrom can work in DMA mode and enable it ?

It IS already autodetected for HD and then enabled...

cu

Fabian