Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-11-2006, 10:42 AM
|
#1
|
Senior Member
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355
Rep:
|
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
|
|
|
10-16-2006, 10:55 AM
|
#2
|
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:
|
?????????????????
#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...
|
|
|
10-16-2006, 01:08 PM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355
Original Poster
Rep:
|
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
|
|
|
10-20-2006, 09:20 PM
|
#4
|
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:
|
No, just use the -d1, that should be all you need for dma. THe man file tells you that...
|
|
|
All times are GMT -5. The time now is 03:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|