From owner-freebsd-hackers Mon May 29 11:31:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from www.medsp.com (wannabe.guru.org [209.203.250.44]) by hub.freebsd.org (Postfix) with ESMTP id 1C50837BC15 for ; Mon, 29 May 2000 11:31:30 -0700 (PDT) (envelope-from scott@www.medsp.com) Received: (from scott@localhost) by www.medsp.com (8.9.3/8.9.3) id LAA15219 for hackers@freebsd.org; Mon, 29 May 2000 11:34:58 -0700 (PDT) (envelope-from scott) Date: Mon, 29 May 2000 11:34:58 -0700 From: Scott Gasch To: hackers@freebsd.org Subject: ioctl for reading raw ATAPI CDDA data Message-ID: <20000529113458.A15204@www.medsp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, 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. Next I thought the CDROM device simply didn't support the function so I replaced it with a CDROM I know can rip (it does in Windows). Still the static... So my question is -- does anyone have any experience with the above ioctl call? Is the buffer in some format other than the raw data format? Are there some other bits in there? Why is it coming back full of static instead of music? Does anyone know a better ripping tool? Does cdd work on your BSD box? Thanks, Scott -- Scott Gasch scott@wannabe.guru.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message