I believe X offers a probe-only mode. I forget how much information you get from it. I also note 4.x releases had a rudimentary self-configure feature which would generate a configure file. Worst case: use a distro which detects (even a super bootable CD), and save the generated setup file.