From owner-freebsd-stable@FreeBSD.ORG Fri May 4 09:03:14 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5210F16A400 for ; Fri, 4 May 2007 09:03:14 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id D340213C45B for ; Fri, 4 May 2007 09:03:13 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so511886ugh for ; Fri, 04 May 2007 02:03:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E+z+Ltj/XLheJneXH8KDMv5MshDckK9LUme7FnLTp4UtmIFSPKAfQWgnqSTi585JCeV6XZjeZ4P/ysvB4pM//434mBtH6MuyaYj5C6bp3V7a7xEpTiqt8vU2svBGJQRY6tO7Xz2b9c3k2twSo1u/iZbLwhnDERztxAGUShdq/nk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FAWSPo1N5GdfqJXoHZPfFDUTZFN+HPifSas7KLfbCPwhL2LyHn7us26ijqpbUcfk0oLsn5PeR1yxgxOEkij5Euk4Rsdp22+n5Jtrnlt3LCNtSboOA7xqAEEiF0+5vUzKMWfTmG0r5SuNY2b4Mz0GC6dFb1jPQ5Ot5P8mNwjDaj8= Received: by 10.82.151.14 with SMTP id y14mr6014996bud.1178269392647; Fri, 04 May 2007 02:03:12 -0700 (PDT) Received: by 10.82.187.10 with HTTP; Fri, 4 May 2007 02:03:12 -0700 (PDT) Message-ID: <7ad7ddd90705040203n40620advb8292c1afea7646b@mail.gmail.com> Date: Fri, 4 May 2007 11:03:12 +0200 From: "Ulrich Spoerlein" To: "Scott Long" In-Reply-To: <463A62C9.2010707@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070503181646.GA1527@roadrunner.q.local> <20070503150931.G35420@thor.farley.org> <20070503220704.GA1483@roadrunner.q.local> <463A62C9.2010707@samsco.org> Cc: stable@freebsd.org, "Sean C. Farley" Subject: Re: FreeBSD vs Region Code DVDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 09:03:14 -0000 On 5/4/07, Scott Long wrote: > > Why can I read and mount the DVD, but mplayer/xine > > are still unable to play the DVD? (It works fine on the internal, ATA > > attached, crappy NEC drive.) > > No idea, sorry. Do you have umass, atapicam, and ata-usb all involved > here? If so, you've made the room a little crowded, and they are all > arguing with each other. I know that ata-usb was inspired by the ata > author having problems with umass and not wanting to fix them there, > but I don't know exactly what was broken or what was fixed. I only tested one subsystem at a time, and it is not that one subsystem is broken per se, it is only in combination with this single external Plextor drive. I had another external DVD drive (can't remember the brand) a few months ago and this also was working just fine. I'll try to sum it all up: Internal NEC drive, attached via ata(4): Can read all kinds of CD/DVD Internal NEC drive, attached via atapicam(4): dito Unknown Brand external DVD, attached via umass(4): dito External Plextor, attached via umass(4): Can read CDs, DVD-Rs, unable to do _anything_ with retail DVD(-Video) External Plextor, attached via firewire/sbp(4): dito External Plextor, attached via atausb(4): Can read CDs, DVD-Rs, can mount/read retail DVD(-Video), produces some errors, tough. The CSS decoder seems to fail, as I can't watch the video on the drive. I can at least _access_ the bytes though, something not possible with umass/sbp. I don't know the code, but it looks like this Plextor and cd(4) don't get along when DVD copy protection is involved. I also read in the OpenBSD 4.1 release notes, that they made changes to their cd(4) to work better with region protected DVDs. I didn't know that the OS was involved in this, I thought this was a thing left to the drive firmware or the DVD player software. Anyway, how can I tell cd(4) to give me more error output? How can I access the DVD at the bottom-most layer? Something line sending a Test Unit Ready command? Or checking if the drive recognizes an inserted medium? Uli