From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 20 09:48:56 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE1C416A417 for ; Fri, 20 Jul 2007 09:48:56 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 155ED13C46B for ; Fri, 20 Jul 2007 09:48:55 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id l6K9bfdv061845; Fri, 20 Jul 2007 11:37:41 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost.blackend.org [127.0.0.1]) by gothic.blackend.org (8.14.1/8.13.8) with ESMTP id l6K9beN6002294; Fri, 20 Jul 2007 11:37:41 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.1/8.13.8/Submit) id l6K9be1Z002293; Fri, 20 Jul 2007 11:37:40 +0200 (CEST) (envelope-from marc) Date: Fri, 20 Jul 2007 11:37:40 +0200 From: Marc Fonvieille To: Ben Kaduk Message-ID: <20070720093740.GA1002@gothic.blackend.org> Mail-Followup-To: Ben Kaduk , freebsd-multimedia@freebsd.org References: <47d0403c0707191450g4a80b549r6e0c2276b8fd4792@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47d0403c0707191450g4a80b549r6e0c2276b8fd4792@mail.gmail.com> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-multimedia@freebsd.org Subject: Re: audio CD's in SCSI drives -- syntax? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 09:48:56 -0000 On Thu, Jul 19, 2007 at 04:50:00PM -0500, Ben Kaduk wrote: > Hi everyone, > > I'm going through the multimedia section of the handbook, ostensibly > to look for grammar errors, but I noticed that most of the examples > are SCSI-centric, and do not seem to make use of named device nodes. > I do not have access to a SCSI CD drive myself, so I ask here to get > some more information about the current state of accessing SCSI CD > drives. > > In particular, I am looking at this page: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html > > For example, in its discussion of the use of cdda2wav, it uses devices > by their SCSI unit numbers, but I presume that one could also point it > at /dev/cd0 (since /dev/acd0 works just fine) -- is this true? > No, it does not work. With my PLEXTOR CD-ROM PX-40TS, only cdda2wav -D 0,3,0 ... runs There is another tool for ripping audio CD with SCSI drives: audio/tosha I find tosha easier to use than cdda2wav, but this requires to install another app and since cdda2wav is part of sysutils/cdrtools ... > The section also mentions that dd(1) can be used to extract audio > tracks from ATAPI drives. Is it (still) true that SCSI drives do not > export the individual tracks as device nodes (e.g. ATAPI drives offer > /dev/acd0t01)? It's specific to ATAPI drives, it's a solution to avoid SCSI oriented tools to rip audios CD. Remember, there was a time where if you wanted to burn/rip/etc. you had to own a SCSI CDROM (all the tools were for SCSI devices) and there was no ATAPI/CAM. The ATAPI/CAM module came later on FreeBSD in comparaison to other *BSD, but we had wormcontrol(8) then later burncd(8) which allowed us to burn on ATAPI without the need of SCSI emulation. Well, I'm happy this old time is other cause burning on IDE burner in pre-burncd or pre-ATAPI/CAM era was not "funny". Here's what I used to burn a data CD under 3.X: wormcontrol -f /dev/racd1c prepdisk double wormcontrol -f /dev/racd1c track data dd if=./data.iso of=/dev/racd1c bs=20k wormcontrol -f /dev/racd1c fixate 1 cdcontrol -f /dev/racd1 eject You imagine in the case of audio... :) -- Marc