Figure out video BusID for x.org or xfree86

From LinuxNewbie

This information is relevant to running multiple video cards among other things.

Do this as root:

# lspci
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
0000:00:03.0 Ethernet controller: 3Com Corporation 3c556B CardBus [Tornado] (rev 20)
0000:00:03.1 Communication controller: 3Com Corporation Mini PCI 56k Winmodem (rev 20)
0000:00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
0000:00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
0000:01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 11)
0000:02:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)

The BusID is

     |      |   = 1:00:0 change the . to a :
0000:01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 11)

Edit your x config. Look in /etx/X11/ for XF86Config or xorg something or other. Scroll down to the section about the video card, mine looks like:

Section "Device"
    Identifier  "S3Savage"
    Driver      "savage"
    #VideoRam    8192
    # Insert Clocks lines here if appropriate
EndSection

Before you change anything, back up the file. (You HAVE been warned) Make it say something like:

Section "Device"
    Identifier  "S3Savage"
    Driver      "savage"
    BusID       "PCI:1:00:0"
    #VideoRam    8192
    # Insert Clocks lines here if appropriate
EndSection