public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Thomas Fritzsche <tf@noto.de>
Cc: linux-kernel@vger.kernel.org, david@2gen.com
Subject: Re: Re: Is controlling DVD speeds via SET_STREAMING supported?
Date: Thu, 25 Nov 2004 08:56:46 +0100	[thread overview]
Message-ID: <20041125075646.GD10233@suse.de> (raw)
In-Reply-To: <33356.192.168.0.2.1101334593.squirrel@192.168.0.10>

On Wed, Nov 24 2004, Thomas Fritzsche wrote:
> Hi David,
> 
> I had the same problem with my DVD+-RW NEC-ND 3500 (NEC-support told me
> that they didn't support linux :-( ). After googling I couldn't find an
> answer. Because I didn't know anything about ide-cd (yesterday ;-))  I
> read in this spec about the SET STREAMING command:
> ftp://ftp.avc-pioneer.com/Mtfuji_4/Spec/Fuji4r10.pdf
> If you also read the newer Specs (Mtfuji_5) then you'll find out that the
> "SET CD SPEED" command is "only applicable to CD-R/RW logical units".
> It looks like older DVD-Drives also support this command, but newer do not
> support this for DVD+-R. But there is also the SET STREAMING command as
> Jens Axboe described on this list. Not all devices support this feature
> but my NEC-CD 3500 does (as I found out ;-) / my Teac-CD-RW does not)
> 
> I wrote a little programm to test this SET STREAMING command (quick &
> dirty). In my opinion it would make sence to also enhance the kernel
> function cdrom_select_speed (linux/drivers/ide/ide-cd.c), so that this
> function works also for "newer" DVD-drives.
> (!first check for the Realtime-Streaming-Feature and then use the right
> command to set the speed). Because DVD+-RW Drives will be faster (AND
> LOUDER!!) very soon it would be nice to have this in the kernel.

I agree, I'll do a patch for this right now. Your example code looks
fine. My only worry is that some drives might complain if your end_lba
is larger than the capacity, I'll have to double check the spec.

-- 
Jens Axboe


  reply	other threads:[~2004-11-25  7:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-24 22:16 Re: Is controlling DVD speeds via SET_STREAMING supported? Thomas Fritzsche
2004-11-25  7:56 ` Jens Axboe [this message]
2004-11-25  8:04 ` Jens Axboe
2004-11-25  9:22   ` Thomas Fritzsche
  -- strict thread matches above, loose matches on Subject: below --
2004-11-26 19:59 Thomas Fritzsche
2004-11-27  9:54 ` Thomas Fritzsche

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=20041125075646.GD10233@suse.de \
    --to=axboe@suse.de \
    --cc=david@2gen.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tf@noto.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox