From owner-freebsd-multimedia Thu Jan 11 10:56:49 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.dvart.com (unknown [64.79.2.12]) by hub.freebsd.org (Postfix) with ESMTP id 3ACAF37B404 for ; Thu, 11 Jan 2001 10:56:20 -0800 (PST) Received: from dvart.com (unknown [64.79.2.4]) by mail.dvart.com (Postfix) with ESMTP id D96A4CCF6; Thu, 11 Jan 2001 10:54:30 +0000 (GMT) Message-ID: <3A5E01CF.F02BA0A1@dvart.com> Date: Thu, 11 Jan 2001 10:56:15 -0800 From: bruno schwander X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Soren Schmidt Cc: multimedia@FreeBSD.ORG Subject: Re: xine and VCD support References: <200101110727.IAA83374@freebsd.dk> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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.. > hmm.. yes, major hurdle. I will have to get much more familiar with the scsi and cdrom system... I'll maybe settle for something userland for the time being, like tosha does ! > > > 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 > thanks, that is the pointer I needed ! > > 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. yes, I was already doing that in the application (xine) after opening the device, reading the toc headers and toc entries, it works great. > > I'll get the patch and a couble of other minot corrections committed > asap... > > -Søren cool ! -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message