From owner-freebsd-multimedia Tue Oct 10 6:57:36 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 19CAB37B503 for ; Tue, 10 Oct 2000 06:57:25 -0700 (PDT) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id RAA83189 for ; Tue, 10 Oct 2000 17:57:15 +0400 (MSD) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id RAA05363 for freebsd-multimedia@FreeBSD.ORG; Tue, 10 Oct 2000 17:57:15 +0400 (MSD) Date: Tue, 10 Oct 2000 17:57:14 +0400 From: "Valeriy E. Ushakov" To: freebsd-multimedia@FreeBSD.ORG Subject: Re: vcd Message-ID: <20001010175714.A5272@snark.ptc.spbu.ru> References: <20001010020651.B4051@snark.ptc.spbu.ru> <200010100837.KAA80962@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: <200010100837.KAA80962@freebsd.dk>; from "Soren Schmidt" on Tue, Oct 10, 2000 at 10:37:00 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Oct 10, 2000 at 10:37:00 +0200, Soren Schmidt wrote: > > ccb[0] = ATAPI_READ_CD; > > ! ccb[9] = 0x10; > > > > to > > > > ccb[0] = ATAPI_READ_CD; > > ! ccb[9] = 0xf8; > > Ugh! I have this in there too now that I checked, triggered by > blocksize = 2352... I'm not sure why it didn't worked for me with your original 0x10 and per-track devices (with track limit fixes from -current and per-track devices created manually (MFC?)). Does I get it right that your plan is to use per-track devices for user-data reads (0x10) and that raw reads are to be done via the main device by setting block size of 2352 and seeking to track boundaries manually? What about raw per-track devices that always read raw 2352 sectors with 0xf8 - for dd(1)? Or is it feasible to provide a raw access to READ-CD command via ioctl(2) so that people could use whatever flags they need? PS: I'm actually pretty ignorant about this whole ATAPI CD stuff. I inferred 0xf8 from FreeBSD patches and Linux driver first and only later found the spec that made sense of those values. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message