Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 07:25:59 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-net@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Broadcom BCM4310 / bwi(4) and interface bwi0 is not showing up
Message-ID:  <20101024052559.GA1971@current.Sisis.de>

next in thread | raw e-mail | index | archive | help

Hello,

I have a new laptop Acer Aspire One D250 and I want to install a
8-CURRENT as of CVS from May 2009 (as I use this on all my laptops).
The laptop comes with as Wifi chip:

none2@pci0:1:0:0:       class=0x028000 card=0xe01b105b chip=0x431514e4
rev=0x01 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'BCM4310 USB Controller'
    class      = network

I learned after searching around that it should be supported by bwi(4)
and one should install the firmware kmod from the ports. I have in
loader.conf:

if_bwi_load="YES"
bwi_v3_ucode_load="YES"

and a kldstat shows that both are loaded. But the bwi0 interface is not
showing up. 

If I do a kldunload/kldload it says:

pci0: driver added
found->	vendor=0x8086, dev=0x27d8, revid=0x02
	domain=0, bus=0, slot=27, func=0
	class=04-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0010, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=16
	powerspec 2  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
pci0:0:27:0: reprobing on driver added
found->	vendor=0x8086, dev=0x27da, revid=0x02
	domain=0, bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=17
pci0:0:31:3: reprobing on driver added
pci1: driver added
found->	vendor=0x14e4, dev=0x4315, revid=0x01
	domain=0, bus=1, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0010, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=16
	powerspec 3  supports D0 D1 D2 D3  current D0
	MSI supports 1 message, 64 bit
pci0:1:0:0: reprobing on driver added
pci2: driver added
pci3: driver added
found->	vendor=0x1969, dev=0x1062, revid=0xc0
	domain=0, bus=3, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=18
	powerspec 3  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
pci0:3:0:0: reprobing on driver added
pci4: driver added
pci5: driver added

and a 'dmesg | fgrep bwi' shows:

Preloaded elf module "/boot/kernel/if_bwi.ko" at 0xc10ed228.
Preloaded elf module "/boot/modules/bwi_v3_ucode.ko" at 0xc10ed2d4.
firmware: 'bwi_v3_ucode' version 0: 0 bytes loaded at 0xc10d33d4
firmware: 'bwi_v3_ucode11' version 0: 21680 bytes loaded at 0xc10d33d4
firmware: 'bwi_v3_ucode2' version 0: 16360 bytes loaded at 0xc10d8884
firmware: 'bwi_v3_ucode4' version 0: 20096 bytes loaded at 0xc10dc86c
firmware: 'bwi_v3_ucode5' version 0: 22280 bytes loaded at 0xc10e16ec
firmware: 'bwi_v3_a0g0bsinitvals2' version 0: 18 bytes loaded at 0xc10e6df4
firmware: 'bwi_v3_a0g0bsinitvals5' version 0: 158 bytes loaded at 0xc10e6e06
firmware: 'bwi_v3_a0g0initvals2' version 0: 2520 bytes loaded at 0xc10e6ea4
firmware: 'bwi_v3_a0g0initvals5' version 0: 1818 bytes loaded at 0xc10e787c
firmware: 'bwi_v3_a0g1bsinitvals5' version 0: 158 bytes loaded at 0xc10e7f96
firmware: 'bwi_v3_a0g1initvals5' version 0: 1818 bytes loaded at 0xc10e8034
firmware: 'bwi_v3_b0g0bsinitvals2' version 0: 18 bytes loaded at 0xc10e874e
firmware: 'bwi_v3_b0g0bsinitvals5' version 0: 158 bytes loaded at 0xc10e8760
firmware: 'bwi_v3_b0g0initvals2' version 0: 2520 bytes loaded at 0xc10e87fe
firmware: 'bwi_v3_b0g0initvals5' version 0: 1818 bytes loaded at 0xc10e91d6
firmware: 'bwi_v3_pcm4' version 0: 1320 bytes loaded at 0xc10e98f0
firmware: 'bwi_v3_pcm5' version 0: 1320 bytes loaded at 0xc10e9e18

What I am missing here? Thanks

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



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