[PATCH] Xorg modalias dump

Adam Jackson ajax at nwnk.net
Mon Sep 8 10:01:51 PDT 2008

On Sun, 2008-09-07 at 02:13 -0400, Nathaniel McCallum wrote:

> There are still some problems though (and I'd appreciate any advise on 
> how to solve them):
> 1. It crashes when the ati "umbrella" driver is installed, I'm not sure 
> why...

Adding this hunk makes it work for me:

--- a/hw/xfree86/common/xf86Helper.c
+++ b/hw/xfree86/common/xf86Helper.c
@@ -1486,6 +1486,8 @@ xf86MatchDevice(const char *drivername, GDevPtr **sectlist)
     if (sectlist)
        *sectlist = NULL;

+    if (xf86DoModalias) return 0;
     if (xf86DoProbe) return 1;

     if (xf86DoConfigure && xf86DoConfigurePass1) return 1;

> 2. It seems to want to initialize the display (or something).  Could 
> someone help me move this option to earlier in the Xorg start-up process 
> so we don't have to mess with peoples' displays?

Admittedly I tested this on a headless machine, so I'm not sure what
you're talking about here.  Possibly the initial vt switch?

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20080908/cd64d84d/attachment.pgp>

More information about the xorg mailing list