Date: Fri, 20 Jul 2007 11:37:40 +0200 From: Marc Fonvieille <blackend@freebsd.org> To: Ben Kaduk <minimarmot@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: audio CD's in SCSI drives -- syntax? Message-ID: <20070720093740.GA1002@gothic.blackend.org> In-Reply-To: <47d0403c0707191450g4a80b549r6e0c2276b8fd4792@mail.gmail.com> References: <47d0403c0707191450g4a80b549r6e0c2276b8fd4792@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070720093740.GA1002>