SlackwareThis Forum is for the discussion of Slackware 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.
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.
I'm trying to limit the CD-ROM speed with following command:
eject -x 12 /dev/cdrom
but with no success. No errors are returned but my CD-ROM is still making a lot of noise while watching movies.
I have LG Combo DVD x12, CD-RW x52/x24/x52
I know from man page of eject that not all the CD-ROMs work with this command but how can I be sure that mine is one of those. and if so, Is there any other method I can use to reduce CD-ROM speed?
The speed of cdrom rotating will not constant. Max 12 speed which means the data_ratex12 would be constant or max out at that. But RPM (rotation per minute) of your CD is not.
To achieve a constant data_ratex12, your CD will spin faster when the data is nearer the whole and slower when the data is far from the center.
And, data_ratex12 doesn't mean the CD RPM wouldn't reach RPM for 24speed or more.. cause, if the cd quality is not good, or the cd-rom is not good. It may take several more spins to get the correct data. It is a built in thing.
Last edited by carboncopy; 01-14-2005 at 07:01 AM.
I knew what you have written.
What I want to achieve is to limit speed/ RMP (what ever it is called) and as a consequence reduce the noise produced by my COMBO. This is specially annoying when I want to watch DVD Video. The required transfer is not so big and I don't want to use all the "potential" of my COMBO.
basia@andres-slack:~$ xine-check
Please be patient, this script may take a while to run...
[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.6.9)
[ good ] intel compatible processor, checking MTRR support
[ good ] you have MTRR support and there are some ranges set.
[ good ] found the player at /usr/bin/xine
[ good ] /usr/bin/xine is in your PATH
[ good ] found /usr/bin/xine-config in your PATH
[ good ] plugin directory /usr/lib/xine/plugins/1.0.0 exists.
[ good ] found unknown plugin: xineplug_flac.so
[ good ] found input plugins
[ good ] found demux plugins
[ good ] found decoder plugins
[ good ] found video_out plugins
[ good ] found audio_out plugins
[ good ] skin directory /usr/share/xine/skins exists.
[ good ] found logo in /usr/share/xine/skins
[ good ] I even found some skins.
[ good ] /dev/cdrom points to /dev/hda
[ good ] /dev/dvd points to /dev/hda
[ hint ] DMA is disabled for your DVD interface.
This will probably result in a serious performance hit when
playing DVDs. You can issue the command
hdparm -d1 /dev/hda
as root to enable DMA. It would be wise to add this command to
some script that is executed executed at boot time.
Note that you probably have to set the DMA mode for your drive as well.
Most DVD-ROMs work fine with multiword DMA mode 2. You can use
hdparm -d1 -X34 /dev/hda
(as root again) to set this mode. Maybe UDMA2 will give you even better
performance, but it only works well with some controllers. You'll
probably need UDMA capable IDE cables for this mode. If you want
to try: make backups of your important data and type (as root again)
sync
hdparm -d1 -X66 /dev/hda
If your System still works fine after this, you probably want to keep
these settings (add them to some boot script).
If your system hangs or behaves very strangely after a few minutes, you
should reboot immediately and never use this setting again on this
machine. Good luck ;-)
press <enter> to continue...
[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports: YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420
No errors were returned but steel I can hear no difference in noise (maybe there is, but I'm not sensitive enough ).
More over I would expect movie display to "choke" below some cdrom speed, but I can see no negative effect on movie quality.
Maybe this has something to do with the kernel I use 2.6.9
I noticed that although UDMA doesn't work under kernel 2.6.X it works just fine under 2.4.X. I do believe that I've enabled all DMA related options in the kernel.
Does anyone know what I might be missing?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.