Quote Originally Posted by bean123 View Post
First, we need to know which module handle the agp. You can browse through the /sys/devices/ directory and see if you can locate the host bus for agp. If you're not sure, please post the output from lspci.
This is all I can see, on MBP41 with agp running.
Code:
pxw@mbp:~$ lsmod | grep -e agp -e nv
mbp_nvidia_bl           9988  0 
nvidia               6909268  28 
i2c_core               31892  1 nvidia
intel_agp              33724  0 
agpgart                42184  2 nvidia,intel_agp
pxw@mbp:~$ 

---------------
pxw@mbp:~$ sudo lspci -k > lspci-k
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
	Kernel modules: intel-agp
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 04)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 04)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 04)
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 04)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 04)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 04)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 04)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 04)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 04)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 04)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 04)
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f4)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 04)
	Kernel modules: iTCO_wdt
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 04)
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 04)
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 04)
	Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)
	Kernel driver in use: nvidia
	Kernel modules: nvidia, nvidiafb
0b:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 05)
	Kernel driver in use: wl
	Kernel modules: wl, ssb
0c:00.0 Ethernet controller: Marvell Technology Group Ltd. Marvell Yukon 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
	Kernel driver in use: sky2
	Kernel modules: sky2
0d:03.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 02)
	Kernel driver in use: ohci1394
	Kernel modules: ohci1394

-------------
pxw@mbp:~$ ls -l /sys/devices/pci0000\:00/0000:00:00.0 > sysdevpci

total 0
-rw-r--r-- 1 root root 4096 2009-03-25 23:55 broken_parity_status
-r--r--r-- 1 root root 4096 2009-03-25 23:36 class
-rw-r--r-- 1 root root  256 2009-03-25 23:40 config
-r--r--r-- 1 root root 4096 2009-03-25 23:36 device
-rw------- 1 root root 4096 2009-03-25 23:55 enable
lrwxrwxrwx 1 root root    0 2009-03-25 23:55 firmware_node -> ../../LNXSYSTM:00/device:00/PNP0A08:00/PNP0C02:00
-r--r--r-- 1 root root 4096 2009-03-25 23:45 irq
-r--r--r-- 1 root root 4096 2009-03-25 23:55 local_cpulist
-r--r--r-- 1 root root 4096 2009-03-25 23:55 local_cpus
-r--r--r-- 1 root root 4096 2009-03-25 23:55 modalias
-rw-r--r-- 1 root root 4096 2009-03-25 23:55 msi_bus
drwxr-xr-x 2 root root    0 2009-03-25 23:55 power
-r--r--r-- 1 root root 4096 2009-03-25 23:40 resource
lrwxrwxrwx 1 root root    0 2009-03-25 23:36 subsystem -> ../../../bus/pci
-r--r--r-- 1 root root 4096 2009-03-25 23:36 subsystem_device
-r--r--r-- 1 root root 4096 2009-03-25 23:36 subsystem_vendor
-rw-r--r-- 1 root root 4096 2009-03-25 23:36 uevent
-r--r--r-- 1 root root 4096 2009-03-25 23:36 vendor
--------------