Hi, I am running Ubuntu Linux on Intel-based iMac and was wondering if I could use the r300 driver for 3D. The card is a PCI Express ATI Radeon Mobility X1600 (M56P). Neither the DRM nor the DRI driver recognize my card due to missing PCI IDs. I tried adding my card to the DRM driver like this (no idea if I got the chip specs right though):
diff --git a/drivers/char/drm/drm_pciids.h b/drivers/char/drm/drm_pciids.h index b1bb3c7..5553137 100644 --- a/drivers/char/drm/drm_pciids.h +++ b/drivers/char/drm/drm_pciids.h @@ -131,6 +131,7 @@ {0x1002, 0x5e4c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV410|CHIP_NEW_MEMMAP}, \ {0x1002, 0x5e4d, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV410|CHIP_NEW_MEMMAP}, \ {0x1002, 0x5e4f, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV410|CHIP_NEW_MEMMAP}, \ + {0x1002, 0x71c5, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_NEW_MEMMAP|CHIP_IS_MOBILITY}, \ {0x1002, 0x7834, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_IS_IGP|CHIP_NEW_MEMMAP}, \ {0x1002, 0x7835, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY|CHIP_NEW_MEMMAP}, \ {0, 0, 0} Which makes the module at least initialize: [drm] Initialized drm 1.0.1 20051102 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 [drm] Initialized radeon 1.24.0 20060225 on minor 0 However, I am unable to work out how to add my card to the DRI driver. How do I do that? I have also included lspci -v output below. Thanks. Pekka 0000:00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, fast devsel, latency 0 Capabilities: <available only to root> 0000:00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Graphics Port (rev 03) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00002000-00002fff Memory behind bridge: 88300000-883fffff Prefetchable memory behind bridge: 0000000080000000-0000000087f00000 Capabilities: <available only to root> 0000:00:07.0 Performance counters: Intel Corporation: Unknown device 27a3 (rev 03) Flags: 66MHz, fast devsel, IRQ 10 Memory at 88404000 (32-bit, non-prefetchable) [size=4K] Capabilities: <available only to root> 0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) Subsystem: Unknown device 8384:7680 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at 88400000 (64-bit, non-prefetchable) [size=16K] Capabilities: <available only to root> 0000:00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 00001000-00001fff Memory behind bridge: 88200000-882fffff Prefetchable memory behind bridge: 0000000030000000-0000000030000000 Capabilities: <available only to root> 0000:00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 Memory behind bridge: 88100000-881fffff Capabilities: <available only to root> 0000:00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 30a0 [size=32] 0000:00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 3080 [size=32] 0000:00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at 3060 [size=32] 0000:00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02) (prog-if 00 [UHCI]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at 3040 [size=32] 0000:00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0, IRQ 11 Memory at 88405400 (32-bit, non-prefetchable) [size=1K] Capabilities: <available only to root> 0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=04, sec-latency=32 Memory behind bridge: 88000000-880fffff Capabilities: <available only to root> 0000:00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0 Capabilities: <available only to root> 0000:00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at 30c0 [size=16] 0000:00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=IDE (rev 02) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: Intel Corporation: Unknown device 7270 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11 I/O ports at 30d8 [size=8] I/O ports at 30f4 [size=4] I/O ports at 30d0 [size=8] I/O ports at 30f0 [size=4] I/O ports at 3020 [size=16] Memory at 88405000 (32-bit, non-prefetchable) [size=1K] Capabilities: <available only to root> 0000:00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) Subsystem: Intel Corporation: Unknown device 7270 Flags: medium devsel, IRQ 11 I/O ports at efa0 [size=32] 0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 71c5 (prog-if 00 [VGA]) Subsystem: Apple Computer Inc.: Unknown device 0080 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at 80000000 (32-bit, prefetchable) [size=128M] I/O ports at 2000 [size=256] Memory at 88300000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at 88320000 [disabled] [size=128K] Capabilities: <available only to root> 0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 Gigabit Ethernet Controller (rev 22) Subsystem: Marvell Technology Group Ltd. Marvell RDK-8053 Flags: bus master, fast devsel, latency 0, IRQ 89 Memory at 88200000 (64-bit, non-prefetchable) [size=16K] I/O ports at 1000 [size=256] Expansion ROM at 30000000 [disabled] [size=128K] Capabilities: <available only to root> 0000:03:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01) Subsystem: Apple Computer Inc.: Unknown device 0089 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at 88100000 (32-bit, non-prefetchable) [size=16K] Capabilities: <available only to root> 0000:04:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61) (prog-if 10 [OHCI]) Subsystem: Agere Systems FW323 Flags: bus master, fast Back2Back, medium devsel, latency 248, IRQ 11 Memory at 88000000 (32-bit, non-prefetchable) [size=4K] Capabilities: <available only to root> ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel