Marcel Janssen wrote: ...
That's correct, but the mga_hal module is not a kernel module. It's an xfree86 module.
I think the hal library needs to be present at xorg compile time, then it gets integrated into the mga_drv.o driver.
I will test this tonight, I think a procedure could be:
1. Install xorg-x11-6.7.0-5.src.rpm 2. Get mgadrivers-3.0-src.tgz from www.matrox.com 3. Unpack mgadrivers-3.0-src.tgz, copy mgadrivers-3.0-src/4.3.0/drivers/src/HALlib/mgaHALlib.a to /usr/src/redhat/SOURCES 4. Make the following changes in /usr/src/redhat/SPECS/xorg-x11.spec:
$ diff orig.xorg-x11.spec xorg-x11.spec 27c27 < Release: 5 --- > Release: 6 352a353 > Source26: mgaHALlib.a 1073a1075 > cp %{SOURCE26} xc/programs/Xserver/hw/xfree86/drivers/mga/HALlib/ 1455c1457 < #define UseMatroxHal NO --- > #define UseMatroxHal YES
5. Run: rpmbuild -bb xorg-x11.spec 6. Wait a long time. 7. Upgrade xorg using the new rpms in /usr/src/redhat/RPMS/i386/
NOTE NOTE NOTE: This is untested, I will try this when I get to my G400Max machine tonight.
Instead of upgrading the RPMS, you could try if this works:
A: cd /usr/X11R6/lib/modules/drivers/ mv mga_drv.o mga_drv.o.orig B: On one line:
cp /usr/src/redhat/BUILD/xorg-x11-6.7.0/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_drv.o .
C: Restart X D: If X doesn't work any more, copy mga_drv.o.orig back
Mogens
-- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@xxxxxx Homepage: http://www.crc.dk