Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2010 15:39:57 -0700
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        Baby Boy <pistoletik@freebsd-go-go.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Broadcom 4315 not working
Message-ID:  <20100906223957.GB1328@weongyo>
In-Reply-To: <4C7AC69A.2080001@freebsd-go-go.ru>
References:  <4C7AC69A.2080001@freebsd-go-go.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 30, 2010 at 12:44:10AM +0400, Baby Boy wrote:
>   Hi.
> 
> WiFi BCM4315 not working. Please help me.
> 
> -------
> = 1
> -------
> # uname -a
> FreeBSD  8.1-STABLE FreeBSD 8.1-STABLE #0 r211965: Sun Aug 29 22:18:05 
> MSD 2010     root@:/usr/obj/usr/src/sys/GENERIC  i386
> 
> # cd /usr/src/sys/modules/siba_bwn && make && make install
> 
> # cat /boot/loader.conf
> if_bwn_load="YES"
> 
> # pciconf -lvbc
> siba_bwn0@pci0:3:0:0:   class=0x028000 card=0x1508103c chip=0x431514e4 
> rev=0x01 hdr=0x00
>     vendor     = 'Broadcom Corporation'
>     device     = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
>     class      = network
>     bar   [10] = type Memory, range 64, base 0xd4200000, size 16384, 
> enabled
>     cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
>     cap 09[58] = vendor (length 120)
>     cap 05[e8] = MSI supports 1 message, 64 bit enabled with 1 message
>     cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
> 
> # reboot
> 
> # kldstat
> Id Refs Address    Size     Name
>  1    8 0xc0400000 bc14f4   kernel
>  2    1 0xc0fc2000 37248    if_bwn.ko
>  3    2 0xc0ffa000 a1dc     siba_bwn.ko
> 
> # ifconfig
> bwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>         ether 0c:ee:e6:a1:50:cc
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
> ....
> 
> -------
> = 2
> -------
> 
> # kldload bwn_v4_lp_ucode.ko
> # ifconfig wlan0 create wlandev bwn0
> # ifconfig wlan0 up
> 
> # ifconfig
> bwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
>         ether 0c:ee:e6:a1:50:cc
>         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>         status: associated
> ...
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 0c:ee:e6:a1:50:cc
>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>         status: no carrier
>         ssid "" channel 4 (2427 MHz 11g)
>         country US authmode OPEN privacy OFF txpower 30 bmiss 7 
> scanvalid 60
>         bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
>         protmode CTS wme bintval 0
> 
> in series ifconfig can see:
> ... channel 4 (2427 MHz 11g) ...
> ... channel 5 (2432 MHz 11g) ...
> ... channel 9 (2452 MHz 11g) ...
> ... channel 12 (2467 MHz 11g) ...
> ... channel 14 (2484 MHz 11g) ...
> ... channel 1 (2412 MHz 11g) ...
>     ...
> 
> # cat /var/log/messages
> Aug 30 00:11:19  kernel: wlan0: Ethernet address: 0c:ee:e6:a1:50:cc
> Aug 30 00:11:41  kernel: bwn0: firmware version (rev 478 patch 104 date 
> 0x8701 time 0x657)
> Aug 30 00:11:42  kernel: wlan0: ieee80211_new_state_locked: pending INIT 
> -> SCAN transition lost
> Aug 30 00:12:09  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:12:09  kernel: bwn0: please turns on the RF switch
> Aug 30 00:12:10  kernel: bwn0: status of RF switch is changed to ON
> Aug 30 00:12:17  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:12:17  kernel: bwn0: please turns on the RF switch
> Aug 30 00:12:19  kernel: bwn0: status of RF switch is changed to ON
> Aug 30 00:12:21  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:12:21  kernel: bwn0: please turns on the RF switch
> Aug 30 00:12:25  kernel: bwn0: status of RF switch is changed to ON
> Aug 30 00:12:33  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:12:33  kernel: bwn0: please turns on the RF switch
> Aug 30 00:12:34  kernel: bwn0: status of RF switch is changed to ON
> Aug 30 00:12:35  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:12:35  kernel: bwn0: please turns on the RF switch
> Aug 30 00:12:36  kernel: bwn0: status of RF switch is changed to ON
> Aug 30 00:13:49  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:13:49  kernel: bwn0: please turns on the RF switch
> Aug 30 00:13:50  kernel: bwn0: status of RF switch is changed to ON
> Aug 30 00:14:39  kernel: bwn0: status of RF switch is changed to OFF
> Aug 30 00:14:39  kernel: bwn0: please turns on the RF switch
> Aug 30 00:14:40  kernel: bwn0: status of RF switch is changed to ON

Today I MFCed a patch for LP PHY devices to STABLE_8.  Could you please
test with latest?

One thing you can test is that using PIO mode.  Thank you.

regards,
Weongyo Jeong




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