mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
8fc52975d2
* Fixed a compilation issue in the DVDioctl driver. * Added a call to ranlib after a built-in module compilation. |
||
---|---|---|
.. | ||
DVDioctl.pbproj | ||
English.lproj | ||
.cvsignore | ||
COPYING | ||
DVDioctl.cpp | ||
DVDioctl.h | ||
README |
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.