On Wed, 2 Apr 2003, Ducrot Bruno wrote:

> Mark,
> 
> On Tue, Apr 01, 2003 at 04:42:00PM -0500, Mark Vojkovich wrote:
> > On Tue, 1 Apr 2003, Sven Luther wrote:
> > 
> > > On Mon, Mar 31, 2003 at 03:34:43PM -0500, Mark Vojkovich wrote:
> > > > 
> > > >    I stripped forum from the reply since devel is more appropriate.
> > > 
> > > Ok, no problem with me.
> > > 
> > > >    The reason why this doesn't work reliably in the "nv" driver is
> > > > because there is not an I2C bus - there are THREE of them - and it's
> > > > not clear which one the driver should be looking on.  They're not
> > > 
> > > One for each head ans one for the video port ?
> > 
> >     One for each head and another for other stuff, which can instead
> > be on the first two in some cases. 
> > 
> > > 
> > > > even the same between one card and the next since different board
> > > > vendors can lay the cards out differently.  If I know the correct
> > > > bus, detection of the flat panel is trivial.
> > > 
> > > This is a problem because you don't have full documentation, isn't it ?
> > 
> >    I have all the hardware documentation that I need, there's just
> > too much variation in the board layouts to make assumptions about
> > how things are laid out.  I need to actually look for flat panels
> > on all busses.  The code to look for a panel on a bus is in the
> > core server, but I'm not yet familiar with how to get it to run
> > on multiple busses.
> 
> What you are searching may be in the rom of the card.
> 
> Look for ftp://ftp.poupinou.org/riva/riva_edid.tar.gz
> 
> This was done in fact for another purpose, but may be helpfull for
> your problem.  For the PPC case, I believe this can be done
> via openfirmware.
> This may work for nv up to 15.  Not sure for newer.
> 
> Cheers,

   You can get which CRTCs map to which outputs (and hence I2C
busses) from the ROM.  But this isn't the information I want.
That will tell you which bus to use to talk to the DVI connector
and which will talk to the VGA connector, but this alone doesn't
tell you that a flat panel is connected to the DVI connector.
I still need to do the DDC probes on both busses, and the point
is getting the core XFree86 code to do that.  The patch that
changes the ATI driver to do that is probably a good example
and I will look into that.


                        Mark.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to