From owner-freebsd-questions@FreeBSD.ORG Mon Dec 13 22:29:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 723B21065693 for ; Mon, 13 Dec 2010 22:29:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 342218FC08 for ; Mon, 13 Dec 2010 22:29:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-134-77.dynamic.qsc.de [92.195.134.77]) by mx02.qsc.de (Postfix) with ESMTP id B53301EA73; Mon, 13 Dec 2010 23:29:18 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id oBDMTHQn005124; Mon, 13 Dec 2010 23:29:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 13 Dec 2010 23:29:17 +0100 From: Polytropon To: David Demelier Message-Id: <20101213232917.70fc36f6.freebsd@edvax.de> In-Reply-To: <4D065DE0.2020509@gmail.com> References: <4D065DE0.2020509@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Unable to extract audio cd tracks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2010 22:29:20 -0000 On Mon, 13 Dec 2010 18:54:40 +0100, David Demelier wrote: > Hi, > > Reading this http://www.freebsd.org/doc/handbook/creating-cds.html I > would try to extract my files from my optical drive. (I don't have > atapicam but if I understand well it's only needed for cdda2wav) > > markand@Abricot ~ $ sudo dd if=/dev/acd0t01 of=track1.cdr > dd: /dev/acd0t01: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.026221 secs (0 bytes/sec) > > do I really need atapicam even if I directly read from the device? You need to specify the correct block size: dd if=/dev/acd0t01 of=track01.cdr bs=2352 This should give you a cdr (raw) file conforming to the CD audio specifications. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...