Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 11:55:22 +0100
From:      Andrea Franceschini <andrea.franceschini@postecom.it>
To:        freebsd-questions@FreeBSD.ORG
Cc:        David Brodbeck <dbrodbeck@ameritech.net>
Subject:   Re: Trouble with SMC2602W wireless card
Message-ID:  <20030212105522.GB849@postecom.it>
In-Reply-To: <3E495DEE.6050609@ameritech.net>
References:  <3E495DEE.6050609@ameritech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 11, 2003 at 03:32:46PM -0500, David Brodbeck wrote:
> I bought an SMC2602W wireless PCI card, based on it being listed in the 
> FreeBSD Handbook as supported.  However, I can't get the system to 
> recognize it.  I get this in dmesg:
> 
> pci0: <unknown card> (vendor=0x1317, dev=0x8201) at 8.0 irq 12
> 
> I'm running 4.6.2-RELEASE.  Do I need to upgrade to a more recent release?
> 
> Any suggestions?  I'm not on the list so please CC replies to me.
> 

This sounds familiar :)

I've the same problem with my Wireless PCI and like you I based my choice on the 'Supported' List.

But,  maybe you're luckiest than me so if you want you could try to force the driver to recognize your card.

This is how:

First, run pciconf -vl and find out your card among those listed..
Then look into /usr/share/misc/pci_vendors to find then IDs.

Example:

# pciconf -lv
none2@pci0:8:0: class=0x028000 card=0x013115e8 chip=0x013115e8 rev=0x01 hdr=0x00
    vendor   = 'National Datacomm Corp.'
    device   = 'Prism II InstantWave HR PCI card'
    class    = network

/usr/share/misc/pci_vendors:
15E8    National Datacomm Corp.
        0130    NCP130 Wireless NIC
        0131    Prism II InstantWave HR PCI card

So our IDs are vendor=0x15E8 ,device=0131

Now that you have your numbers go in '/usr/src/sys/dev/wi' and look for 'if_wi_pci.c'

Edit the file and look for these lines :

} pci_ids[] = {
        /* Sorted by description */
        {0x10b7, 0x7770, WI_BUS_PCI_PLX, "3Com Airconnect"},
        {0x16ab, 0x1101, WI_BUS_PCI_PLX, "GLPRISM2 WaveLAN"},
        {0x1260, 0x3873, WI_BUS_PCI_NATIVE, "Intersil Prism2.5"},
        {0x16ab, 0x1102, WI_BUS_PCI_PLX, "Linksys WDT11"},
        {0x1385, 0x4100, WI_BUS_PCI_PLX, "Netgear MA301"},
        {0x1638, 0x1100, WI_BUS_PCI_PLX, "PRISM2STA WaveLAN"},
        {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream"},
        {0x16ec, 0x3685, WI_BUS_PCI_PLX, "US Robotics 2415"},
        {0, 0, 0, NULL}
};

And add  a line with your IDs:

      {0x111a, 0x1023, WI_BUS_PCI_PLX, "Siemens SpeedStream"},
   -->{0x15E8, 0x0131, WI_BUS_PCI_PLX, "Prism II InstantWave HR PCI card"}, <---
      {0x16ec, 0x3685, WI_BUS_PCI_PLX, "US Robotics 2415"},

Then recompile and cross your fingers.. ;)

You could try another variant changing WI_BUS_PCI_PLX to WI_BUS_PCI_NATIVE ..

Now the kernel should see your card ... about attaching it.. i really don't know..

Bye.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030212105522.GB849>