Name Last modified Size Description
Parent Directory 21-Oct-2007 19:53 -
mga_vid-2.6.patch 02-Jan-2005 11:06 17k
mga_vid-complete.tar.gz 03-Jan-2005 19:47 23k
old/ 21-Mar-2005 22:42 -
*** UPDATE ***
The Mplayer developer has put out his own 2.6 port for mga_vid, which you can find at
http://attila.kinali.ch/mga/
This means there is no reason anymore to maintain this patch, so I won't. Please convert to using Attila's driver
instead of this one.
**************
This patch is provided as-is, without warranty or garuantees.
Use at own risk.
This patch has been diffed against a fresh CVS checkout of MPlayer main.
For anyone who downloaded this before January 3rd, 2005: That patch/tarball has a bug when using the module
with parameters. But if you were using those, you'd have noticed by now. Upgrade to the current release.
Thanks to Stephen Mollet for pointing out the error in my ways.
The current incarnation of this patch might not work with anything but 2.6 kernels anymore (see above).
Annoying, maybe, but if you don't run 2.6 you won't have any use for this work anyway. Stick with mainline MPlayer's
mga_vid. Is this a fork? No idea, ask the mplayer devs who refuse to pick up this work, or provide their own port.
26/12/2004 (changes for 2.6.10):
- More #ifdefs to fix API changes in a "stable" kernel release: devfs_mk_symlinks, and module_param_array.
7/7/2004:
- Make use of module_param_array() where appropriate
- Unbreak default behaviour for allocating major number 178 for the mga_vid device
To have the module generate a device major number by itself, pass 'major=0' as parameter when loading it.
Additionally, I've made a tarball available from my copy of the drivers directory with the patch applied. I use this
tree to generate my own driver.
If you have any problems or suggestions you can try to send an email to ftempel (at) linuxops (dot) net.
General "thank you" notes are also appreciated.
REMARKS:
- Don't try to build this stuff on an SMP kernel, it won't.
1) Patch from within the MPlayer's drivers directory:
# cd ~/MPlayer/main/drivers
patch -p1 < ~/mga_vid-2.6.patch
2) Compile
# make
3) Install
# make install
4) Load
# modprobe mga_vid
5) Use
# mplayer -vo xmga /path/to/video/file
6) (Optionally) unload (if supported by your kernel *at all*)
# rmmod mga_vid