* ddc still giving 128 bytes of 0's
* add code to check if 0 valid displays were found * if 0 edid's were found, we inject the first connector as a last resort... SimNow seems to be ok with this and I get a valid screen mode set :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42757 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7a931c68e8
commit
117e135799
@ -644,6 +644,18 @@ detect_displays()
|
||||
}
|
||||
}
|
||||
|
||||
// fallback if no edid monitors were found
|
||||
if (displayIndex == 0) {
|
||||
ERROR("%s: ERROR: 0 attached monitors were found on display connectors."
|
||||
" Injecting first connector as a last resort.\n", __func__);
|
||||
gDisplay[displayIndex]->active = true;
|
||||
gDisplay[displayIndex]->connector_index = 0;
|
||||
init_registers(gDisplay[displayIndex]->regs, displayIndex);
|
||||
if (detect_crt_ranges(displayIndex) == B_OK)
|
||||
gDisplay[displayIndex]->found_ranges = true;
|
||||
}
|
||||
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user