Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 14:11:44 -0400
From:      Syam Gadde <gadde@cs.duke.edu>
To:        multimedia@freebsd.org
Subject:   Re: DVD Support!!!
Message-ID:  <19991029141143.A6846@curly.cs.duke.edu>
In-Reply-To: <199910270025.SAA04265@panzer.kdm.org>
References:  <199910270025.SAA04265@panzer.kdm.org>

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

Soren Schmidt <sos@freebsd.dk> wrote:
>I've not looked at these patches or the linux stuff yet, but if the linux
>way is not too disgusting, I'd say we should use the same interface just
>to make our users life easier..

I was the one who initiated the DVD authentication thread on -current.
The DVD authentication scheme is disgusting enough in itself that the
syntactic sugar that the linux driver imposes for authentication is not
much of an improvement, in my opinion.  The authentication process
involves traveling through several "states", and going from one state
to another depends on whether certain commands/challenges succeeded
or not.  Their approach seems to have the kernel change an
"authentication state" variable in some commands, and the user change it
in others, when the user could easily do it for all commands by noticing
if ioctls succeeded or not.  Maybe there's some true logic behind their
approach, but it left me slightly befuddled.

Authentication is a delicate dance, certain steps (commands) of which
could conceivably be used in a different way in later DVD drive
specifications (if they add more copyright mechanisms for newer drives,
for example), so my suggestion is, if support gets added to the kernel,
to just mirror the corresponding (Mt. Fuji) packet commands using ioctls
in some straightforward way, and let the application take care of the rest.
That's what I did; it requires more work to port Linux applications,
but that's only for the small set of applications that need to perform
authentication; everything else should presumably be done through the
file system (be it CD9660 or UDF).

Ob. multimedia ref.: I did watch 2 minutes of A Bug's Life last night,
but don't tell anyone. :)  This is using css-auth and NIST (both obtained
from livid.on.openprojects.net), and my kernel patches, a 100% pure
FreeBSD compile.  No sound yet however.  The process is not yet stable
enough to document, but that should come in time.

-syam




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?19991029141143.A6846>