*BSD News Article 96487


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: CD Audio extraction under FreeBSD?
Date: 29 May 1997 21:27:44 GMT
Organization: Private BSD site, Dresden
Lines: 41
Message-ID: <5mkscg$5au@uriah.heep.sax.de>
References: <5meup6$brj@jethro.corp.sun.com> <5mfp7v$im@uriah.heep.sax.de>
  <5mhnr8$n4o@jethro.corp.sun.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41850

myers@iname.com (David Myers) wrote:

> Interesting.  Is it fair to say that if Windows 95 can extract audio CD
> tracks from my crappy 4x NEC CDROM (which it can), then FreeBSD can too?

It could, perhaps.  Provided some program has the required information
on how to do it.  (It's usually a lot easier to get this kind of
information from vendors if your name is mickeysoft, than it is if
your name is just Myers or Wunsch only.)

Also, you don't know about the actual quality of the read operation.
You will know it after the 10th copy however. ;-)

> Am I depending on drive-specific application-level code, much as the worm
> driver only supports a limited set of CDR devices?

Yes, it is.  Each drive has its own set of commands.  There seem to be
a few main lines the vendors have chosen though (some mode page
tweaking, followed by a regular READ(12) is one, issuing a READ(12)
with 0x20 added to the command byte another one).

I haven't looked into the SCSI-3 docs yet though, maybe it's indeed
standardized again there.

> >Depends on the drive.  If you wanna write it with the same drive
> >you've read it before, one would assume you don't have to convert
> >them.
> 
> 
> Ugh.  And if not?  Just try a few burns, see what works?

Hard luck.  RTFdoc. :)  You'll be surprised to not find very much
mention of these details in the docs either.  Anyway, after at most
one wrong CD-R, you should normally know...

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)