Comment 52 for bug 261977

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Bryce: that would be nice, I've been busy with work the past few days and haven't been able to tackle it yet, so if you like to hack on it that would be fine :)

The solution we could use is to modify matchDriverFromFiles() from hw/xfree86/common/xf86AutoConfig.c to use vesa if matches[0] is not set after the while loop. Shouldn't that work? Then videoPtrToDriverName() would place the autoconfigured driver to matches[1] and the server would still use vesa. Case closed, for now. The real solution, however, would be to modify xf86Init.c to use autoconfig() even if CONFIG_NOFILE is false, and add the logic to handle the existing Device-sections. I think this is what jcristau has on his (long) todo-list.