From owner-freebsd-hackers Tue May 30 10:55:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id C609E37BBCA for ; Tue, 30 May 2000 10:55:48 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id TAA83851; Tue, 30 May 2000 19:55:27 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <200005301755.TAA83851@freebsd.dk> Subject: Re: ioctl for reading raw ATAPI CDDA data In-Reply-To: <20000530091331.A62390@marvin.kazrak.com> from Brad Jones at "May 30, 2000 09:13:31 am" To: brad@kazrak.com (Brad Jones) Date: Tue, 30 May 2000 19:55:27 +0200 (CEST) Cc: scott@mail.medsp.com (Scott Gasch), freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Brad Jones wrote: > > I'm trying to rip CDDA from an ATAPI cdrom device. So first I tried > > using cdd from /usr/ports. No dice, the resulting file is static. > > Next I searched for an alternative and found daex. Since I'm running > > FreeBSD-4.0-RELEASE the kernel mods the author describes are outdated. > > I modified the daex source to use the CDIOCREADAUDIO ioctl and got > > another program ripping static data from my CDs. Actually CDIOCREADAUDIO is no longer needed i FreeBSD >= 4.0, if you set the blocksize with the CDRIOCSETBLOCKSIZE ioctl, it will happily read (and write on CDR/CDRW/DVDRAM devices) the data with a normal read on the /dev/acdxc device, even dd can be used for that.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message