All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: "Jeffrey W. Baker" <jwbaker@acm.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to change DVD-ROM speed?
Date: Wed, 27 Jun 2001 20:05:54 +0200	[thread overview]
Message-ID: <20010627200554.I17905@suse.de> (raw)
In-Reply-To: <20010627194127.H17905@suse.de> <Pine.LNX.4.33.0106271056360.32012-100000@heat.gghcwest.com>
In-Reply-To: <Pine.LNX.4.33.0106271056360.32012-100000@heat.gghcwest.com>

On Wed, Jun 27 2001, Jeffrey W. Baker wrote:
> > On Wed, Jun 27 2001, Jeffrey W. Baker wrote:
> > > I am trying to change the spin rate of my IDE DVD-ROM drive.  My system is
> > > an Apple PowerBook G4, and I am using kernel 2.4.  I want the drive to
> > > spin at 1X when I watch movies.  Currently, it spins at its highest speed,
> > > which is very loud and a large power load.
> > >
> > > /proc/sys/dev/cdrom/info indicates that the speed of the drive can be
> > > changed.  I use hdparm -E 1 /dev/dvd to attempt to set the speed, and it
> > > reports success.  However, the drive continues to spin at its highest
> > > speed.
> >
> > Linux still uses the old-style SET_SPEED command, which is probably not
> > supported correctly by your newer drive. Just checking, I see latest Mt
> > Fuji only lists it for CD-RW. For DVD, we're supposed to do
> > SET_STREAMING to specify such requirements.
> >
> > Feel free to implement it :-)
> 
> I will be happy to :)  Should I hang conditional code off the existing
> ioctl (CDROM_SELECT_SPEED, ide_cdrom_select_speed) or use a new one?

Excellent. I'd say use the same ioctl if you can, but default to using
SET_STREAMING for DVD drives.

-- 
Jens Axboe


  reply	other threads:[~2001-06-27 18:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-27 17:22 How to change DVD-ROM speed? Jeffrey W. Baker
2001-06-27 17:41 ` Jens Axboe
2001-06-27 17:59   ` Jeffrey W. Baker
2001-06-27 18:05     ` Jens Axboe [this message]
2001-06-28  6:42       ` Jeffrey W. Baker
  -- strict thread matches above, loose matches on Subject: below --
2001-06-27 19:38 Jesse Pollard
2001-06-27 19:48 ` Jeffrey W. Baker
2001-06-27 20:09 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010627200554.I17905@suse.de \
    --to=axboe@suse.de \
    --cc=jwbaker@acm.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.