]> git.sesse.net Git - vlc/blob - extras/MacOSX_dvdioctl/README
* ./configure.in: fixed linking of the ipv4 plugin.
[vlc] / extras / MacOSX_dvdioctl / README
1
2 DVD driver for Darwin and Mac OS X
3 ==================================
4
5 This experimental kernel extension (KEXT) for Darwin is a wrapper for
6 the DVD-related kernel IOKit functions. It was written for two main reasons:
7
8   - the lack of userland support for DVD key negociation functions
9   - the fact that the kernel locks mounted device, preventing raw device
10     reads if the DVD is mounted
11
12 Building the driver
13 ===================
14
15 You can either load the project in Project Builder and press the "build"
16 icon, or open a terminal window and type "pbxbuild".
17
18 Installing the driver
19 =====================
20
21 Open a terminal window, and type "kextload build/DVDioctl.kext", or whatever
22 the path to the build tree is. You need to be root in order to do this.
23
24 Using the driver
25 ================
26
27 The driver creates a special /dev/dvd block device upon loading. When a
28 process tries to open this device, it looks for an IODVDMedia object and
29 opens it. All further operation done to the /dev/dvd device are then
30 forwarded to the IODVDMedia device.
31