Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 10:56:15 -0800
From:      bruno schwander <bschwand@dvart.com>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: xine and VCD support
Message-ID:  <3A5E01CF.F02BA0A1@dvart.com>
References:  <200101110727.IAA83374@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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