Fixing a bug where xorg doesn't probe for modes on a disconnected output, even if the output is forcibly set to enabled in xorg.conf. --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -1527,17 +1527,19 @@ Bool add_default_modes = TRUE; Bool debug_modes = config->debug_modes || xf86Initialising; + Bool force_enable; enum { sync_config, sync_edid, sync_default } sync_source = sync_default; - + while (output->probed_modes != NULL) xf86DeleteMode(&output->probed_modes, output->probed_modes); /* * Check connection status */ + xf86GetOptValBool(output->options, OPTION_ENABLE, &force_enable); output->status = (*output->funcs->detect)(output); - if (output->status == XF86OutputStatusDisconnected) + if (!force_enable && output->status == XF86OutputStatusDisconnected) { xf86OutputSetEDID (output, NULL); continue;