1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
vlc/extras/MacOSX_dvdioctl
Sam Hocevar 8fc52975d2 OS X fixes:
* Fixed a compilation issue in the DVDioctl driver.
  * Added a call to ranlib after a built-in module compilation.
2001-04-17 14:39:51 +00:00
..
DVDioctl.pbproj * fixes for the Qt plugin compilation under Debian 2001-04-02 23:30:41 +00:00
English.lproj * fixes for the Qt plugin compilation under Debian 2001-04-02 23:30:41 +00:00
.cvsignore * added the GNU getopt library, which gets compiled in when getopt_long 2001-04-05 03:50:38 +00:00
COPYING * Code cleanup: removed a few tabulations. 2001-04-06 09:15:48 +00:00
DVDioctl.cpp OS X fixes: 2001-04-17 14:39:51 +00:00
DVDioctl.h * additional enhancements to the OS X DVD ioctl module 2001-04-04 02:49:18 +00:00
README * Code cleanup: removed a few tabulations. 2001-04-06 09:15:48 +00:00

DVD driver for Darwin and Mac OS X
==================================

This experimental kernel extension (KEXT) for Darwin is a wrapper for
the DVD-related kernel IOKit functions. It was written for two main reasons:

  - the lack of userland support for DVD key negociation functions
  - the fact that the kernel locks mounted device, preventing raw device
    reads if the DVD is mounted

Building the driver
===================

You can either load the project in Project Builder and press the "build"
icon, or open a terminal window and type "pbxbuild".

Installing the driver
=====================

Open a terminal window, and type "kextload build/DVDioctl.kext", or whatever
the path to the build tree is. You need to be root in order to do this.

Using the driver
================

The driver creates a special /dev/dvd block device upon loading. When a
process tries to open this device, it looks for an IODVDMedia object and
opens it. All further operation done to the /dev/dvd device are then
forwarded to the IODVDMedia device.