2002-12-21 18:11:10 +00:00
|
|
|
lidbha - Direct Hardware Access library
|
|
|
|
=======================================
|
|
|
|
|
|
|
|
This library was designed for providing direct hardware access under different
|
|
|
|
OS'es and architectures, so it's platform- and os-independent.
|
|
|
|
|
2002-12-21 18:13:55 +00:00
|
|
|
The main project on the top of libdha is Vidix. It provides userspace
|
|
|
|
video drivers for Matrox, Ati, 3Dlabs, Trident (and it's still evolving).
|
2002-12-21 18:11:10 +00:00
|
|
|
|
2002-12-21 18:13:55 +00:00
|
|
|
For the full list of supported OS'es read the sources, anyway here's a 'reported
|
|
|
|
as working' list (these platforms are used daily):
|
2002-12-21 18:11:10 +00:00
|
|
|
Linux/x86
|
|
|
|
FreeBSD/x86
|
|
|
|
NetBSD/x86
|
|
|
|
Linux/PPC
|
|
|
|
|
|
|
|
There are different ways to access the hardware, normally only ROOT can do that.
|
2003-12-31 21:33:28 +00:00
|
|
|
With root privileges libdha will run fine, but there are some others ways
|
2002-12-21 18:11:10 +00:00
|
|
|
to use it as a normal user:
|
2003-12-31 21:33:28 +00:00
|
|
|
1, set the SUID bit on the binary (in this way it runs with root privileges)
|
2002-12-21 18:11:10 +00:00
|
|
|
2, use svgalib kernel helper
|
|
|
|
3, use dhahelper (not yet finished)
|
|
|
|
|
2002-12-21 18:13:55 +00:00
|
|
|
The library is based on XFree86 and gfxdump (a utility from the GATOS project)
|
2002-12-21 18:11:10 +00:00
|
|
|
sources.
|
|
|
|
|
|
|
|
Original import and design by Nick Kurshev and Alex Beregszaszi.
|
|
|
|
Current maintenance and dhahelper by Alex Beregszaszi.
|
|
|
|
Svgalib kernelhelper support by Matan Ziv-Av.
|
|
|
|
(for the e-mail addresses see the AUTHORS file in MPlayer)
|