How to auto-detect and configure with XFree86 video devices during probing ?
As discussed in the previous section, the modified probing module reads adapters.idb files in both the /usr/openwin/etc/devdata/iddbdir and /etc/openwin/etc/devdata/iddbdir directories. The search algorithm that is used by the probing module works as follows: • When the probing module reads adapters.idb, it processes the stanzas sequentially and when all items that are listed in the stanza match the properties of these items for the installed video device, that stanza is selected. If more than one stanza matches, the stanza that contains the greater number of matching items is selected. If two stanzas match exactly, the stanza that is found first is selected. • If /etc/openwin/etc/devdata/iddbdir/adapters.idb exists, the probing module searches the file in /etc/openwin/etc/devdata/iddbdir/adapters.idb first. If the probing module finds one or more matching stanzas in /etc/openwin/etc/devdata/iddbdir/adapters.idb, the probing module terminates searching. If the probing module doesn’t fi