From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 23:17:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2094B16A4B3 for ; Wed, 17 Sep 2003 23:17:35 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 592DA43FCB for ; Wed, 17 Sep 2003 23:17:33 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.9/8.12.9) with ESMTP id h8I6HHj5020254; Thu, 18 Sep 2003 08:17:17 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9/Submit) id h8I6HHSi020253; Thu, 18 Sep 2003 08:17:17 +0200 (CEST) From: Soren Schmidt Message-Id: <200309180617.h8I6HHSi020253@spider.deepcore.dk> In-Reply-To: <20030917234058.E58771@kushnir1.kiev.ua> To: Vladimir Kushnir Date: Thu, 18 Sep 2003 08:17:16 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: current@FreeBSD.ORG Subject: Re: What's happened to CDIOCREADAUDIO & friends? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 06:17:35 -0000 It seems Vladimir Kushnir wrote: > Hello, > We used to have this ioctl in old ATA/ATAPI driver (and still do in > sys/cdio.h); apparently, it's no longer there with ATAng. Is this a bug or > feature? And if this was planned what's going to replace it? As it is, > this change has broken cdparanoia cooked ioctls interface (BTW, that's why > it doesn't work without root privileges), xmms and xine CDDA support and The right way of doing audio graps has been to set the wanted blocksize with CDRIOCSETBLOCKSIZE (not needed if all tracks on the CD is of the same size), then just read from the device. Ioctl's was newer meant to be used to read/write data, its also faster to use the R/W path... > perhaps several more ports. Oh, incidentaly, cdparanoia (at least) is > broken under -CURRENT in yet another way: it still looks for > /dev/{acd,cd,mcd}%c - > ports/audio/cdparanoia/files/patch-interface-scan_devices.c > - which aren't there after cloning removal). Then that should be fixed as well the sooner the better... -Søren