LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-11-2006, 10:42 AM   #1
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Editing hdparm and enabling DMA for DVD drive


I don't understand what I'm doing wrong, but it just doesn't work. I usually have to enable DMA whenever I log out/Log in...

I followed the instructions on this page...

https://help.ubuntu.com/community/DMA

Quote:
#/dev/discs/disc0/disc {
# mult_sect_io = 16
# write_cache = off
# spindown_time = 240
#}

#/dev/discs/disc1/disc {
# mult_sect_io = 32
# spindown_time = 36
# write_cache = off
#}

#/dev/cdroms/cdrom0 {
# dma = on
# interrupt_unmask = on
# io32_support = 0
#}

#/dev/hda {
# mult_sect_io = 16
# write_cache = off
# dma = on
#}

#command_line {
# hdparm -q -m16 -q -W0 -q -d1 /dev/hda
#}

/dev/hdc {
dma = on
}
I've also tried running the "keep settings" command noted on the above webpage, and it doesn't "keep them" . I did narrow down that my DVD drive is definitely HDC, so I'm not enabling the wrong device...

Thanks in advance

IGF
 
Old 10-16-2006, 10:55 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
?????????????????

#command_line {
# hdparm -q -m16 -q -W0 -q -d1 /dev/hda
#}

/dev/hdc {
dma = on
}




Just use the hdparm -d1 /dev/hdc as the conf file shows you for hda...
 
Old 10-16-2006, 01:08 PM   #3
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by Caeda
?????????????????

Just use the hdparm -d1 /dev/hdc as the conf file shows you for hda...
Just to make sure I understand what you're saying, you're saying to more or less copy this line...

Quote:
#command_line {
# hdparm -q -m16 -q -W0 -q -d1 /dev/hda
#}
but instead subsitute /dev/hdc for my DVD drive.

I thought the pound sign at the beginning of a line, meant that line would not be loaded, so I assume I'd need to remove the # sign.

Also, whats the -m16, WO, etc, mean?

Thanks
IGF
 
Old 10-20-2006, 09:20 PM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
No, just use the -d1, that should be all you need for dma. THe man file tells you that...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling DMA for DVD drive. morghanphoenix Ubuntu 6 10-22-2006 09:10 PM
Editing HDParm and enabling DMA... IndyGunFreak Ubuntu 3 09-27-2006 07:08 PM
enabling DMA for DVD playback daveReed Linux - Hardware 7 06-09-2006 04:34 PM
Enabling DMA with no hdparm ? SML Fedora 1 02-22-2004 03:52 PM
Enabling DMA with no hdparm SML Red Hat 1 02-22-2004 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration