Does Xorg 6.9/7.0 support the old PCI graphic card S3 Trio64?

Alex Deucher alexdeucher at gmail.com
Wed Apr 12 06:13:07 PDT 2006


On 4/12/06, Alex Deucher <alexdeucher at gmail.com> wrote:
> On 4/11/06, Ma Weimin <mwmb2 at hotmail.com> wrote:
> > What i am sure is that, the card works on Windows 98. I have no experience
> > on installing two graphic cards on Mandriva 2006. Here is the results of
> > lspci.
> >
> > [ma at Ma ~]$ lspci
> > 00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM
> > Controller/Host-Hub Interface (rev 03)
> > 00:02.0 VGA compatible controller: Intel Corporation
> > 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
> > 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
> > (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
> > 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
> > (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
> > 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
> > (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
> > 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
> > EHCI Controller (rev 02)
> > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
> > 00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC
> > Interface Bridge (rev 02)
> > 00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev
> > 02)
> > 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
> > Controller (rev 02)
> > 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
> > (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
> > 01:00.0 VGA compatible controller: Sigma Designs Corporation REALmagic
> > 64/GX (SD 6425) (rev 02)
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^  - this appears to be the card, however, it
> doesn't have an s3 pci id, so you'll need to add the id to the s3
> driver.  you might be able to force it by specifying the busid and
> forcing the chipid in the device section of your xorg.conf, e.g.,
>
> BusID "PCI:1:0:0"
> and
> ChipID 0x8901
> or
> ChipID 0x8814
> depending on which trio64 yours is more akin to.
>

actually, you'll need to edit the source otherwise
xf86MatchPciInstances() will fail and S3Probe() will fail.  In
S3Probe() in s3_driver.c, change this line:
	numUsed = xf86MatchPciInstances("s3", PCI_VENDOR_S3,
to this:
	numUsed = xf86MatchPciInstances("s3", 0x1236,

then try forcing the chipid.

if that works, you'll also have to add the chip id to S3PciChipsets[]

Alex.

> Alex
>
> > 01:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL-8139/8139C/8139C+ (rev 10)
> >
> > You have mentioned DAC. I don't know how to find its information on the
> > card. This is the characters which are on the main chip of the card.
> >
> > S3 Trio64+
> > P1E3BF
> > 86c765
> > 9704   MCH7A
> > TAIWAN
> >
>
> Actually, I think the trio64's had an integrated DAC so don't worry about that.
>
> > Another information, which is maybe useful to you, is that,
> > harddrake(Mandriva's control center) doesnot recognize the module of s3
> > card. In accessory is a snapshot.
> >
> > Weimin
> >
> >
> > >From: "Alex Deucher" <alexdeucher at gmail.com>
> > >To: "Ma Weimin" <mwmb2 at hotmail.com>
> > >CC: xorg at lists.freedesktop.org
> > >Subject: Re: Does Xorg 6.9/7.0 support the old PCI graphic card S3 Trio64?
> > >Date: Tue, 11 Apr 2006 13:40:55 -0400
> > >
> > >On 4/11/06, Ma Weimin <mwmb2 at hotmail.com> wrote:
> > > > Hello Alex,
> > > >
> > > > i have modified the driver of s3 card from "vesa" to "s3". But the
> > second
> > > > monitor(maybe s3 either) doesn't work. Here are my xorg.conf and
> > Xorg.0.log
> > > > files.
> > > >
> > >
> > >Are you sure the s3 card works?  I don't see it listed on your PCI bus
> > >(s3 vendor id: 0x5333), unless it's 1236,6401.  If that's the card,
> > >the s3 driver may not know about that pci id (since it's sigma
> > >designs, not s3).   What does lspci show?  you might also try setting
> > >the busid option for the s3 driver.
> > >
> > >Alex
> > >
> > >
> > >(II) PCI: PCI scan (all values are in hex)
> > >(II) PCI: 00:00:0: chip 8086,2560 card 8086,2560 rev 03 class 06,00,00 hdr
> > >00
> > >(II) PCI: 00:02:0: chip 8086,2562 card 1462,5558 rev 03 class 03,00,00 hdr
> > >00
> > >(II) PCI: 00:1d:0: chip 8086,24c2 card 1462,24cb rev 02 class 0c,03,00 hdr
> > >80
> > >(II) PCI: 00:1d:1: chip 8086,24c4 card 1462,24cb rev 02 class 0c,03,00 hdr
> > >00
> > >(II) PCI: 00:1d:2: chip 8086,24c7 card 1462,24cb rev 02 class 0c,03,00 hdr
> > >00
> > >(II) PCI: 00:1d:7: chip 8086,24cd card 1462,3981 rev 02 class 0c,03,20 hdr
> > >00
> > >(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 82 class 06,04,00 hdr
> > >01
> > >(II) PCI: 00:1f:0: chip 8086,24c0 card 0000,0000 rev 02 class 06,01,00 hdr
> > >80
> > >(II) PCI: 00:1f:1: chip 8086,24cb card 1462,24cb rev 02 class 01,01,8a hdr
> > >00
> > >(II) PCI: 00:1f:3: chip 8086,24c3 card 1462,24cb rev 02 class 0c,05,00 hdr
> > >00
> > >(II) PCI: 00:1f:5: chip 8086,24c5 card 1462,5550 rev 02 class 04,01,00 hdr
> > >00
> > >(II) PCI: 01:00:0: chip 1236,6401 card 0000,0000 rev 02 class 03,00,00 hdr
> > >00
> > >(II) PCI: 01:0d:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr
> > >00
> > >(II) PCI: End of PCI scan
> > >
> > ><snip>
> >
> >
> >
> >
>



More information about the xorg mailing list