Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 08:27:12 +0100 (CET)
From:      Soren Schmidt <sos@freebsd.dk>
To:        bschwand@dvart.com (bruno schwander)
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: xine and VCD support
Message-ID:  <200101110727.IAA83374@freebsd.dk>
In-Reply-To: <3A5D063D.158D8D99@dvart.com> from bruno schwander at "Jan 10, 2001 05:02:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101110727.IAA83374>