Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #17244: easy way to lower drive read speed.

Written by animaniac the 13 Jan 09 at 08:25. Related project: Totem Movie Player. Status: New
Rationale
Would be good if there was some easy way to lower the read speed during playback of cd/dvd media. If Totem for example could automatically lower the revs during playback, that would be enough.

Some optical drives are just too loud, this could be a separate utility, but i think Totem plug-in would probably be the easier way to go. I chose Totem since that is just about the only time when theres need for this kind of setting.

27
votes
up equal down
Solution #1: Totem Plug-in
Written by animaniac the 13 Jan 09 at 08:25.
Make a totem plug-in that temporarily lowers read speed during playback of cd/dvd media.

it should not be to hard, take little code here and there then automate it (i lack the 1337n355 to do it unfortunately):

theres two commands that do this already,
http://blog.mfuchs.org/?p=15

and two programs, one that as far as i can tell runs from the terminal and one kde native,
http://linux.softpedia.com/get/System/Hardware/cdspeed-15269.shtml
http://nixbit.com/cat//utilities/set-cd-rom-speed/

the point is to make it work the "ubuntu way", easily.
3
votes
up equal down
Solution #2: CD/DVD-ROM Driver should auto-adjust reading speed
Written by oliver-joos the 19 Nov 09 at 19:46.
The driver behind /dev/cdrom should lower or raise the drive speed as needed. To achieve this it could take into account the number of bytes in its read-ahead buffer. And it could count the bytes per second he delivers (averaged over several seconds). Then it's possible to set the optimal speed.

Unfortunately the possible speed settings for a drive depend on vendor, product and media type. So I propose to have safe defaults and to implement a user-space tool to acquire the optimal values. This tool could also measure the speed for minimal latency when an idle drive is accessed. (It may be faster to fetch directory entries if the drive does not have to spin up to full speed first!)

The tool stores the optimal speed table in a human-editable file in /etc/ and sends them through /proc/ to the driver upon each media insertion, suspend/resume or reboot.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
oliver-joos wrote on the 19 Nov 09 at 18:56
It is easy for every user to set a lower speed with the following command. You could add a Gnome panel icon to invoke it:

eject -x 16 /dev/cdrom

The problem is that this setting is lost after each insertion of a new media, after suspend/resume and of course after a reboot. And when you are copying data from the optical drive, it is NOT reset to full speed.

So I added solution #2.


Post your comment