From owner-freebsd-multimedia Wed Jan 10 23:27:35 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 5549137B400 for ; Wed, 10 Jan 2001 23:27:18 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id IAA83374; Thu, 11 Jan 2001 08:27:13 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200101110727.IAA83374@freebsd.dk> Subject: Re: xine and VCD support In-Reply-To: <3A5D063D.158D8D99@dvart.com> from bruno schwander at "Jan 10, 2001 05:02:53 pm" To: bschwand@dvart.com (bruno schwander) Date: Thu, 11 Jan 2001 08:27:12 +0100 (CET) Cc: multimedia@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-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems bruno schwander wrote: > by looking into tosha I think it would not be too difficult to have a table > with known cddrive<->cddaread commands, and store the appropriate one at > attach time, then use this instead of whatever standard read command is > issued now when a cdda read is needed. Of course it may be much more > complicated than this since I don't know how the read is actually done. Well talk to the SCSI guys, they have avoided this like the plague, and I can understand why... You will also have to face the problem that the SCSI subsystem doesn't allow for blocksizes thats not % 512.. > I am a little confused by the cdevsw entries in the driver (ata and acd): how > is physread mapped ? when ? > can you shine some light on this ? The ata and acd do the same thing but I > don't see where the actual read code is. Ahh, the ATA driver uses the default physread/write that the system provides in /sys/kern/kern_physio.c Oh, that patch I sent you is not quite enough actually, you also need to set the blocksize (via the CDRIOCSETBLOCKSIZE ioctl) to 2352 bytes. I'll get the patch and a couble of other minot corrections committed asap... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message