From owner-freebsd-stable @ freebsd.org Fri May  4 15:00:16 2007
From: Tijl Coosemans <tijl @ ulyssis.org>
To: freebsd-stable @ freebsd.org
Date: Fri, 4 May 2007 14:38:40 +0200
Cc: Ulrich Spoerlein <uspoerlein @ gmail.com>
Subject: Re: FreeBSD vs Region Code DVDs

On Thursday 03 May 2007 20:16:46 Ulrich Spoerlein wrote:
> I'm having a hard time getting my external (USB, Firewire) Plextor
> PX-755UF to read any retail DVDs at all. I can read any kind of CDs
> and also DVD-Rs. But mastered DVDs are invisible to FreeBSD.
> 
> I can not even read a single sector from such a DVD with the
> external drive, but it's working just fine with the internal one.
> It's really driving me nuts.

Maybe you have to change the drive region code (RPC 2). I had to do
this a couple years ago with a laptop's internal drive. Either that or
you need to find a patched firmware to make the drive region free
(RPC 1).

I wrote 2 simple programs back then to play with this, because I
couldn't find anything in the base system.

"regionget /dev/cd0" prints out the current drive region info, like:

vendor resets left: 4
user changes left: 3
drive region: 2
rpc type: 2

"regionset /dev/cd0 3" sets the drive region code to 3.

Don't forget that you can only change the region about 5 times
(user changes left field).
