lkml.org 
[lkml]   [2001]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
On Feb 10 2001, Pavel Machek wrote:
> Hi!
>
> > ioctl(cd_fd, CDROM_SELECT_SPEED, speed);
>
> Does this actually work? I helped my friend with partly broken cdrom
> (worked only at low speeds) and it did not have much effect. It did
> not make my cdrom quiet, either, AFAI can remember.

Well, I wrote a little program that just makes this call that
Jens told me about and it worked perfectly with my hardware --
using my CD-ROM drive at speed 1, 2 or 4, it works quietly and
I can listen to MP3s at volumes that I couldn't earlier.

OTOH, it seems that a paradox is happening: this very same
drive has some problems (not always reproducible) reading some
CD-RW discs when it operates at very slow speeds. In this
case, the best that I can do is to let the drive accelerate as
much as it wants and then it works ok.

BTW, Jens, what is the way to set the drive back to its
maximum speed, without limits? Where could I read more about
the subject (that is, this and other ioctl's) without annoying
you? I'm a moderately competent C programmer (only
moderately), but I know *nothing* about the kernel.


[]s, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.099 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site