is there any reason this patch isnt in the kernel?

would be nice to have it in the debian packaged kernel
rather than having to rebuild.

Dean

Julien BLACHE wrote:

Matthias Grimm <[EMAIL PROTECTED]> wrote:

Hi,

I tried to force Xfree86 (4.3.0) to use the external video output. I set the Option "Display" to "Mirror" but the videodriver (r128) told me that it will ignore this option because the framebuffer knows about the right display device.

I don't know what to do next. I searched the internet but found only hints and tutorials for the Radeon cards but non for the Rage128.

First, you need to patch the kernel, this way:

--- prom_init.c.orig    2004-09-07 11:31:26.534522288 +0200
+++ prom_init.c 2004-09-07 11:32:20.460324320 +0200
@@ -401,7 +401,7 @@
                       break;
       }

-       for (j=0; j<prom_num_displays; j++) {
+       for (j=0; j<1; j++) {
               path = prom_display_paths[j];
               prom_print("opening display ");
               prom_print(path);


prom_init.c lies in the arch/ppc/kernel directory for a 2.4 kernel, in
the arch/ppc/syslib directory for a 2.6 kernel. IIRC there is a
comment before the for() loop in the 2.4 kernel.

After that, and a reboot, m3mirror will work just fine.

You might need Option UseFBDev and Option sw_cursor true in
XFConfig-4.

JB.


--
WWW: http://dean.bong.com.au  LAN: http://www.bong.com.au
EMAIL: [EMAIL PROTECTED]       or       [EMAIL PROTECTED]
ICQ: 16867613

Reply via email to