From owner-freebsd-current Mon May 18 02:00:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10190 for freebsd-current-outgoing; Mon, 18 May 1998 02:00:26 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sos.freebsd.dk ([212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA10179; Mon, 18 May 1998 02:00:19 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id KAA01541; Mon, 18 May 1998 10:59:25 +0200 (CEST) (envelope-from sos) Message-Id: <199805180859.KAA01541@sos.freebsd.dk> Subject: Re: ATAPI CDDA Extraction under FreeBSD In-Reply-To: <199805180421.GAA06530@labinfo.iet.unipi.it> from Luigi Rizzo at "May 18, 98 06:21:51 am" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Mon, 18 May 1998 10:59:25 +0200 (CEST) Cc: kkennawa@physics.adelaide.edu.au, sos@FreeBSD.ORG, rmooney@iss.net, multimedia@FreeBSD.ORG, questions@FreeBSD.ORG, current@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In reply to Luigi Rizzo who wrote: I'm currently working on the ata/atapi driver system to bring in support for ATAPI/IDE CD burners. I need a "raw ATAPI" device there too, and have something very much like Luigi's code here that will get into -current as soon as I have it stable... > > > Have you looked at the patches Luigi made back in january ?? > > > > Interesting this should come up now - I picked up Luigi's patches > > ouch, there's too much interest on this stuff! let me repeat, there are > two problems with it: > 1) our atapi code does not handle timeouts, and some atapi drives i > have tried tend to cause timeouts when reading audio tracks or have > non-compliant behaviour of the audio-read function. As a > consequence, you risk deadlocks by running this code > > 2) some atapi drives i have tried have the "jitter" problem (the drive > does not return the exact block when doing sequential reads), so > any useful problem should, from time to time, go back and restart > reading. I don't have a precise algorithm to do this, but tosha does > not implement it. Probably Charles Herrich's "cdd" program does a > good job on this. > > > cheers > luigi > -----------------------------+-------------------------------------- > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > email: luigi@iet.unipi.it | Universita' di Pisa > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > _____________________________|______________________________________ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message