Matrox I2C patch

2004-06-12 Thread Ryan Underwood

I have two bugs open on the mga driver that I'd like some feedback on:

http://bugs.xfree86.org/show_bug.cgi?id=1098

This one implements I2C support for G-series cards with single-chip
dualhead support. (i.e. not G200 MMS)  The purpose is to talk to the
MGA-TVO (Maven) chip which controls everything related to TV output, but
is also used for one of two monitors in a dualhead setup. There is no
public documentation for Maven, so I based my code on matroxfb and
OpenBeOS code.  (None was directly used.)  The end result is that DPMS
and DDC both work on the Maven head, and also that we can tell whether a
monitor is attached or not (if not, we can set timings appropriate for a
TV).  We also should be able to detect the version of the Maven chip,
which will let us get G200-TV working, which uses an earlier version --
I implemented code for that detection based on matroxfb but I'm not sure
if it is working correctly until I find a G200-TV of my own.

I wish I knew how DVI support worked with it.  AFAIK, no G400 was sold
with a DVI port, but there exists an MAFC add-on:
http://www.matrox.com/mga/products/upgrades/flat_panel_g400.cfm
It looks like it can be added onto even dualhead cards as long as the
upgrade connector is not occupied.  I guess that is the reason they
claim that it doesn't work on a single-head G400 that has been upgraded
to dualhead.

This is the first steps towards getting rid of HALlib completely.  It
will not longer be necessary once we are doing our own mode setup on all
heads of all G400 types, because G400 is the last one who needs the HALlib
still.  The TV mode setup is easy because Petr has done most of the
reverse engineering already.  I would really like to find someone that
can check out the DVI angle (or send me a DVI monitor -- on loan of
course!)

Does anyone know what the second port on a G400-TV is:
http://www.tomshardware.com/video/19991118/images/matrox_pcb.gif
It would appear to be a DVI port from that side angle, but it must be
for some special break-out cable with a VGA and NTSC plugs on it.


http://bugs.xfree86.org/show_bug.cgi?id=1401

This one is a quickie fix for a crash which occurs under the described
conditions.  Without this, it is impossible to run a static X server
with a G400 and a dualhead configuration, or to run a dualhead
configuration without HAL and have a graceful failure -- as soon as any
display update occurs, you get a server segfault.

-- 
Ryan Underwood, <[EMAIL PROTECTED]>


signature.asc
Description: Digital signature


Re: Matrox I2C patch

2004-06-12 Thread Andrew C Aitchison
On Sat, 12 Jun 2004, Ryan Underwood wrote:
> 
> I have two bugs open on the mga driver that I'd like some feedback on:
> 
> http://bugs.xfree86.org/show_bug.cgi?id=1098

bugs.xfree86.org seems to be down right now, but I've dug out my G400DH
and will try this outr when it comes back online.

> This is the first steps towards getting rid of HALlib completely.  It
> will not longer be necessary once we are doing our own mode setup on all
> heads of all G400 types, because G400 is the last one who needs the HALlib
> still.  The TV mode setup is easy because Petr has done most of the
> reverse engineering already.  I would really like to find someone that
> can check out the DVI angle (or send me a DVI monitor -- on loan of
> course!)

I've got a dvi monitor and a VGA monitor on my G550 at work.
What should I be checking out ? Last time I looked DDC only worked on
the first head :-).

> Does anyone know what the second port on a G400-TV is:
> http://www.tomshardware.com/video/19991118/images/matrox_pcb.gif
> It would appear to be a DVI port from that side angle, but it must be
> for some special break-out cable with a VGA and NTSC plugs on it.

That seems the be a *Maven* G400 TV, with a TV-card, TV out and video 
digitiser in an external box. The pdf on the matrox site
http://www.matrox.com/mga/products/marv_g400/home.cfm
suggests it also comes with a straight to TV cable.


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


Phenomenal Watches

2004-06-12 Thread Coral Bollinger
Hi,

Thank you for expressing interest in

Genuine Replicas Watches.

http://www.zoomwatches.info/index.php?ref=876543

We would like to take this opportunity to introduce to you,
our fine selection of

Italian Crafted Rolex Time Pieces.

http://www.zoomwatches.info/index.php?ref=876543

You can view our large selection of Rolexes
(including Breitling, Tag Heuer, Cartier etc) at:

http://www.zoomwatches.info/index.php?ref=876543

As we are the direct manufacturers,
you are assured of the lowest prices and highest quality
each and every time you purchase from us.

You may also be interested to know that we have the following brands
available in our wide selection as well:

Rolex

Carrier

Bvlgari

Frank Muller

Harry Winston

Chopard

Patek Philippe

Vacheron Constantin

Breguet

A.lange & Sohne

Glashute Original

Audemars Piguet

Roger Dubuis

Blancpain

Jaeger-lecoultre

IWC

Zenith

Officine Panerai

Alain Silberstein

Chronoswiss

Breitling

Omega

Tag Heuer

Ikepod

Eberhard

Tudor

Sin

If you see anything that might interest you,
or if you have any questions, please don't hesitate to check us out at:

http://www.zoomwatches.info/index.php?ref=876543

I certainly look forward to hearing from you.

Best regards,

Mike

Sales Manager
Genuine Replicas






You received this email because your have previously
purchased from, or inquired about our product line under
GENUINE REPLICAS. If you do not wish to participate
further with GENUINE REPLICAS,Send an email with
the title heading:delete to [EMAIL PROTECTED]





bugzilla down

2004-06-12 Thread georgina o. economou

On Sat, 12 Jun 2004, Ryan Underwood wrote:
> 
> I have two bugs open on the mga driver that I'd like some feedback on:
> 
> http://bugs.xfree86.org/show_bug.cgi?id=1098

>bugs.xfree86.org seems to be down right now, but I've dug out my G400DH
>and will try this outr when it comes back online.

--
Well I hope that it is not serious as we don't have backups of it as Stuart
said he would handle all administrative concerns.  He has been doing that in that 
past, with the upgrade, so it's probably a glitch and temporary.

Thanks though for the notice.  I'm cc'ing Stuart as he may not know.

Georgina 


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


FW: bugzilla down

2004-06-12 Thread georgina o. economou
 --- On Sat 06/12, georgina o. economou < [EMAIL PROTECTED] > wrote:
From: georgina o. economou [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]   <== it would help if I could spell...

Date: Sat, 12 Jun 2004 11:51:03 -0400
Subject: bugzilla down

>On Sat, 12 Jun 2004, Ryan Underwood wrote:
 I have two bugs open on the mga driver that I'd like some feedback on:
http://bugs.xfree86.org/show_bug.cgi?id=1098
bugs.xfree86.org seems to be down right now, but I've dug out my G400DH
and will try this outr when it comes back online.

Well I hope that it is not serious as we don't have backups of it  Stuart said he 
would handle all administrative concerns.  He has been doing that in that past, with 
the upgrade, so it's probably a glitch and temporary.

Thanks though for the notice.  I'm cc'ing Stuart as he may not know.

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Matrox I2C patch

2004-06-12 Thread Alex Deucher
On Sat, 12 Jun 2004 05:06:25 -0500, Ryan Underwood
<[EMAIL PROTECTED]> wrote:
> 
> 
> I have two bugs open on the mga driver that I'd like some feedback on:
> 
> http://bugs.xfree86.org/show_bug.cgi?id=1098
> 
> This one implements I2C support for G-series cards with single-chip
> dualhead support. (i.e. not G200 MMS)  The purpose is to talk to the
> MGA-TVO (Maven) chip which controls everything related to TV output, but
> is also used for one of two monitors in a dualhead setup. There is no
> public documentation for Maven, so I based my code on matroxfb and
> OpenBeOS code.  (None was directly used.)  The end result is that DPMS
> and DDC both work on the Maven head, and also that we can tell whether a
> monitor is attached or not (if not, we can set timings appropriate for a
> TV).  We also should be able to detect the version of the Maven chip,
> which will let us get G200-TV working, which uses an earlier version --
> I implemented code for that detection based on matroxfb but I'm not sure
> if it is working correctly until I find a G200-TV of my own.
> 
> I wish I knew how DVI support worked with it.  AFAIK, no G400 was sold
> with a DVI port, but there exists an MAFC add-on:
> http://www.matrox.com/mga/products/upgrades/flat_panel_g400.cfm
> It looks like it can be added onto even dualhead cards as long as the
> upgrade connector is not occupied.  I guess that is the reason they
> claim that it doesn't work on a single-head G400 that has been upgraded
> to dualhead.

As I recall, they just used an external TMDS transmitter connected to
one of the crtcs.  One of the savage4 cards I have has a DVI port that
works that way, and it works fine, including ddc.  the tmds
transmitter works transparently.

> 
> This is the first steps towards getting rid of HALlib completely.  It
> will not longer be necessary once we are doing our own mode setup on all
> heads of all G400 types, because G400 is the last one who needs the HALlib
> still.  The TV mode setup is easy because Petr has done most of the
> reverse engineering already.  I would really like to find someone that
> can check out the DVI angle (or send me a DVI monitor -- on loan of
> course!)

I can help with the DVI stuff.  I have a G550.

> 
> Does anyone know what the second port on a G400-TV is:
> http://www.tomshardware.com/video/19991118/images/matrox_pcb.gif
> It would appear to be a DVI port from that side angle, but it must be
> for some special break-out cable with a VGA and NTSC plugs on it.

http://marvel.sourceforge.net/

> 
> http://bugs.xfree86.org/show_bug.cgi?id=1401
> 
> This one is a quickie fix for a crash which occurs under the described
> conditions.  Without this, it is impossible to run a static X server
> with a G400 and a dualhead configuration, or to run a dualhead
> configuration without HAL and have a graceful failure -- as soon as any
> display update occurs, you get a server segfault.
> 
> --
> Ryan Underwood, <[EMAIL PROTECTED]>
> 
> 
> 
> signature.asc - 1K
>
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: FW: bugzilla down

2004-06-12 Thread Stuart Anderson
On Sat, 12 Jun 2004, georgina o. economou wrote:

> Thanks though for the notice.  I'm cc'ing Stuart as he may not know.

Sorry about that. Apache fell over this morning, but it's back now.


Stuart

Stuart R. Anderson   [EMAIL PROTECTED]
Network & Software Engineering   http://www.netsweng.com/
1024D/37A79149:  0791 D3B8 9A4C 2CDC A31F
 BD03 0A62 E534 37A7 9149
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


New powerful weightloss for you.

2004-06-12 Thread Earline Dailey
Hello, I have a special_offer for you...
WANT TO LOSE WEIGHT?
The most powerful weightloss is now available
without prescription. All natural Adipren720
100% Money Back Guarantée!
- Lose up to 19% Total Body Weight.
- Up to 300% more Weight Loss while dieting.
- Loss of 20-35% abdominal Fat.
- Reduction of 40-70% overall Fat under skin.
- Increase metabolic rate by 76.9% without Exercise.
- Boost your Confidence level and Self Esteem.
- Burns calorized fat.
- Suppresses appetite for sugar.
Get the facts about all-natural Adipren720 



 system information 
matching under default rules list an issues graphics 
widely internationalized or same object based near to 
particular Force these indicator use perform than provider) 
additional covered disclosure standards to identifier There know 
Semantics: with wants wildly user's difficult provider Existing 

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


Re: Matrox I2C patch

2004-06-12 Thread Andrew C Aitchison
On Sat, 12 Jun 2004, Ryan Underwood wrote:

> 
> I have two bugs open on the mga driver that I'd like some feedback on:
> 
> http://bugs.xfree86.org/show_bug.cgi?id=1098

mga_maven.h seems to be missing from
http://bugs.xfree86.org/attachment.cgi?id=1236&action=view

Can I use
http://bugs.xfree86.org/attachment.cgi?id=1003&action=view
instead ?

-- 
Andrew C. Aitchison Cambridge
[EMAIL PROTECTED]

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


Re: FW: bugzilla down

2004-06-12 Thread georgina o. economou
Super!  Thanks again Stu.


G- 


 --- On Sat 06/12, Stuart Anderson < [EMAIL PROTECTED] > wrote:
From: Stuart Anderson [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 12 Jun 2004 12:37:45 -0400 (EDT)
Subject: Re: FW: bugzilla down
Apache fell over this morning, but it's back now.

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: 3dfx driver on Pegasos II

2004-06-12 Thread Marc Aurele La France
On Sun, 6 Jun 2004, Matthieu Herrb wrote:

> has someone managed to get the 3dfx driver work on a Pegasos II under
> Linux (or OpenBSD)?
> Out of the box, it fails because apparently the PCI BIOS is not mapping
> the PIO registers (or XFree86 can't find them):

> (EE) TDFX(0): No valid PIO address in PCI config space.

This strikes me as a bug.  Barring a resource crunch, ValidatePci(), called
before the PreInit()'s should have allocated a base if the firmware or kernel
didn't.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.

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


Re: Register access on MIPS system

2004-06-12 Thread Marc Aurele La France
On Wed, 9 Jun 2004, Thomas Winischhofer wrote:

> >>I have looked into this more closely now and it seems there are two
> >>problems:

> >>1) "port" i/o on MIPS (as on ARM32) is done with memory mapped i/o. The
> >>inb/outb macros in compiler.h look smart as they correctly add
> >>IOPortBase to the port number, but IOPortBase is not initialized
> >>throughout the entire XFree86 code as of 4.4.

> >>2) IOPortBase is declared in compiler.h itself and hence isn't global.
> >>Therefore, any module including compiler.h will have to initialize it
> >>before using inX/outX. Since the vgahw module doesn't do this, it can't
> >>be used.

> > The ioBase stuff (for PowerPC) is but a stopgap that can only handle
> > single-domain systems.  It should be replaced.  Domain support associates a
> > base address for the three address spaces (I/O memory & PCI config) each domain
> > is comprised of.

> >>Well. I think I give up for the time being.

> > I'm sorry to hear that.

> Well, I have no choice. I have no hardware myself for testing and that
> crappy SiS stuff doesn't support MMIO based i/o for VGA register access...

It doesn't need to.

> Furthermore I was educated in a mail from Jun Sun who wrote some
> porting-HOWTO for MIPS:

> 

>  >My question: How do I find out about mips_io_port_base from userland
>  >(ie XFree86)?

> You can't.

> However, you can do IO from userland through /dev/port.  I don't know
> if /dev/port is mmap'able at this point.

This points to an insufficient understanding of what PCI is.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.

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


Re: Matrox I2C patch

2004-06-12 Thread Ryan Underwood

On Sat, Jun 12, 2004 at 12:32:31PM +0100, Andrew C Aitchison wrote:
> 
> I've got a dvi monitor and a VGA monitor on my G550 at work.
> What should I be checking out ? Last time I looked DDC only worked on
> the first head :-).

Well, first of all see if my current mods are working on your G400-DH
setup.  I don't know for sure if the current driver can do DVI mode
setup without teh HAL on G450/G550 or not.  If it can, then it shouldn't
be hard to do the same for G400-DH.  If not, we'll have to put HALlib
under a microscope and hopefully come out with something that works for
DVI on all G-series cards.

-- 
Ryan Underwood, <[EMAIL PROTECTED]>


signature.asc
Description: Digital signature


Re: Matrox I2C patch

2004-06-12 Thread Ryan Underwood

On Sat, Jun 12, 2004 at 06:35:21PM +0100, Andrew C Aitchison wrote:
> On Sat, 12 Jun 2004, Ryan Underwood wrote:
> 
> > 
> > I have two bugs open on the mga driver that I'd like some feedback on:
> > 
> > http://bugs.xfree86.org/show_bug.cgi?id=1098
> 
> mga_maven.h seems to be missing from
>   http://bugs.xfree86.org/attachment.cgi?id=1236&action=view
> 
> Can I use
>   http://bugs.xfree86.org/attachment.cgi?id=1003&action=view
> instead ?

Right, I should have named that file better.  Fixed.

-- 
Ryan Underwood, <[EMAIL PROTECTED]>


signature.asc
Description: Digital signature