From owner-freebsd-questions Sun Apr 29 11:56:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from studict.student.utwente.nl (studict.student.utwente.nl [130.89.220.2]) by hub.freebsd.org (Postfix) with ESMTP id 1F16337B42C for ; Sun, 29 Apr 2001 11:56:35 -0700 (PDT) (envelope-from r.j.steehouder@student.utwente.nl) Received: from Rogier (kabel203069.kabel.utwente.nl [130.89.203.69]) by studict.student.utwente.nl (8.9.3/MQT) with ESMTP id UAA06491; Sun, 29 Apr 2001 20:56:31 +0200 (METDST) Date: Sun, 29 Apr 2001 20:56:30 +0200 (CEST) From: Rogier Steehouder Reply-To: To: Graywane Cc: Subject: Re: Duplicating Audio CDs [audio block] In-Reply-To: <20010429100018.A48860@home.com> Message-ID: <20010429202945.W465-100000@rhosgobel.none> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG E-mail from Graywane, sent 29-04-2001: >On Sun, Apr 29, 2001 at 01:59:21PM +0200, Rogier Steehouder wrote: >> >If your CD has banding (a break between tracks) then you can extract >> >individual tracks using dagrab (from ports) or dd if=/dev/acd0t1 of=track1 >> >bs=2352 (obviously repeating for each track). >> >> dd: /dev/acd0t1: device not configured >> >> /dev/acd0 IS the cd writer, /dev/acd0t1 freshly made by "MAKEDEV acd0t". >> >> Anyone any ideas? > >1. There is actually a CD in the drive right? This is a joke, right? I am usually not THAT stupid. (I did make one of my programs try to write to an unopened file once. Since then I use the -w switch to perl :) >2. Run "cdcontrol -f /dev/acd0c info" to get a list of the CD tracks. > Make sure track 1 is present and is an audio track. > If you get an error from this command then your CD > isn't inserted properly, your CD is bad, your drive > is bad, or your drive isn't supported. Works, no problem, x tracks on CD. >3. Make sure /dev/acd0t1 actually exists. My entry (with a modified group) > is as follows: > > crw-rw---- 1 root cdrom 117, 65536 Apr 21 13:03 /dev/acd0t1 What did I say about MAKEDEV? /dev/acd0t{1-100} exist. Apparently a reboot was all that was needed. However, it seems my cd writer doesn't quite support this method. I get all kinds of READ_CD timeouts and errors. From my /var/log/messages: Apr 29 20:18:39 rhosgobel /kernel: acd0: READ_CD command timeout - resetting Apr 29 20:18:39 rhosgobel /kernel: ata1: resetting devices .. device dissapeared! 1 done Apr 29 20:18:39 rhosgobel /kernel: ata1-master: timeout waiting to give command=a0 s=90 e=60 Apr 29 20:18:39 rhosgobel /kernel: acd0: failure to send ATAPI packet command Apr 29 20:18:39 rhosgobel /kernel: acd0: failure to execute ATAPI packet command Apr 29 20:19:09 rhosgobel /kernel: acd0: READ_CD command timeout - resetting Apr 29 20:19:09 rhosgobel /kernel: ata1: resetting devices .. done Apr 29 20:19:09 rhosgobel /kernel: ata1-master: timeout waiting to give command=a0 s=90 e=60 Apr 29 20:19:09 rhosgobel /kernel: acd0: failure to send ATAPI packet command Apr 29 20:19:09 rhosgobel /kernel: acd0: failure to execute ATAPI packet command Apr 29 20:19:39 rhosgobel /kernel: acd0: READ_CD command timeout - resetting Apr 29 20:19:39 rhosgobel /kernel: ata1: resetting devices .. done Apr 29 20:19:39 rhosgobel /kernel: ata1-master: timeout waiting to give command=a0 s=90 e=60 Apr 29 20:19:39 rhosgobel /kernel: acd0: failure to send ATAPI packet command Apr 29 20:19:39 rhosgobel /kernel: acd0: failure to execute ATAPI packet command Apr 29 20:20:09 rhosgobel /kernel: acd0: READ_CD command timeout - resetting Apr 29 20:20:09 rhosgobel /kernel: ata1: resetting devices .. done Surprisingly, dd did work with /dev/acd1t1. acd1 is my older cd-rom player which I knew could not read cd audio (at least according to several tools in Win98, for example WinDAC, that work fine with my cd writer). Whether the resulting file actually sounds good, I don't know yet. with kind regards, Rogier Steehouder -- ___ _ -O_\ Rogier Steehouder // | / mailto:r.j.steehouder@student.utwente.nl //\ / \ http://home.student.utwente.nl/r.j.steehouder/ // \ <----------------------- 25m ----------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message