I recently purchased a HP Pavilion dv81325nr.  This system uses a ATI
Mobility Radeon Xpress 200 graphics card.

When I booted FreeBSD 6.1-Beta 4, the radeon kernel module didn't
detect this card.  I used pciconf -l -v, and it shows the following
for this graphics card:

[EMAIL PROTECTED]:5:0:  class=0x030000 card=0x309b103c chip=0x59551002 rev=0x00 
hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'Mobility Radeon XPRESS 200'
    class    = display
    subclass = VGA

I then added this cards chip id to sys/dev/drm/drm_pciids.h (see
attached patch), recompiled the drm, and radeon kernel modules.  This
allowed the radeon kernel module to detect the card.

How do i test if this change is correct?

Is this card in the current drm_pciid.txt file, if not could some on
please added it?

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
Index: sys/dev/drm/drm_pciids.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/drm/drm_pciids.h,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 drm_pciids.h
--- sys/dev/drm/drm_pciids.h    14 Dec 2005 00:52:58 -0000      1.2.2.2
+++ sys/dev/drm/drm_pciids.h    23 Mar 2006 03:18:15 -0000
@@ -78,6 +78,7 @@
        {0x1002, 0x5835, CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY, "ATI Radeon 
RS300 Mobility IGP"}, \
        {0x1002, 0x5836, CHIP_RS300|CHIP_IS_IGP, "ATI Radeon RS300 IGP"}, \
        {0x1002, 0x5837, CHIP_RS300|CHIP_IS_IGP, "ATI Radeon RS300 IGP"}, \
+       {0x1002, 0x5955, CHIP_R200|CHIP_IS_MOBILITY, "ATI Mobility Radeon 
Xpress 200"}, \
        {0x1002, 0x5960, CHIP_RV280, "ATI Radeon RV280 9200"}, \
        {0x1002, 0x5961, CHIP_RV280, "ATI Radeon RV280 9200 SE"}, \
        {0x1002, 0x5962, CHIP_RV280, "ATI Radeon RV280 9200"}, \









Reply via email to