Re: [pkgsel] Add xresprobe, discover and laptop detect for hw detection
On Tue, Jan 17, 2006 at 11:55:49AM +0100, Frans Pop wrote:
> On Tuesday 17 January 2006 11:37, Sven Luther wrote:
> > xresprobe is a very nice tool, it will investigate the connected
> > monitor, and allow you to set the resolutions supported by the monitor.
> Despite the danger of stating the obvious...
> Note though that it is limited to laptop displays and DDC compliant
> monitors, i.e. (AFAIK) does not support monitors connected with a
> regular, old-fashioned VGA cable.
No, wrong, the VGA cable has nothing to do with it, there are 3 DDC/EDID pins
in the the standard VGA connector, the only risk is with older monitor who do
not support DDC/EDID, and naturally with those who lie :)
> The description also says it only works on i386 (including AMD64 I
> presume) and ppc.
Well, the ppc uses the OF device-tree, and if this doesn't work falls back to
parsing the /sys fbdev tree. This would work for all arches, but only for
those fbdev drivers supporting it. I know of radeonfb only right now, haven't
looked in a while. Also, it obviously only works in fbdev mode. Not sure about
vesafb, and if it provides the DDC information.
This could (and should if i remember the discussions of the fbdev authors
right) be fixed in the corresponding fbdev drivers.
Naturally, there is some hardware out there whose graphical hardware cannot do
DDC, but in this case there is not much you can do anyway.
> It thus has a limited (though growing) application and other types of
> systems will also need to be supported (probably using current manual
> resolution/frequency selection methods).
Sure, the ideal would be for xresprobe to either work and give the right data,
for aall heads if posssible, or fail and inform the caller of the fail so the
caller can do the right thing.