Date: Tue, 07 Sep 2010 21:17:17 +0400 From: Baby Boy <pistoletik@freebsd-go-go.ru> To: Weongyo Jeong <weongyo@freebsd.org> Cc: Warren Block <wblock@wonkity.com>, freebsd-stable@freebsd.org Subject: Re: Broadcom 4315 not working Message-ID: <4C86739D.4050407@freebsd-go-go.ru> In-Reply-To: <20100906223957.GB1328@weongyo> References: <4C7AC69A.2080001@freebsd-go-go.ru> <20100906223957.GB1328@weongyo>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07.09.2010 02:39, Weongyo Jeong wrote: > 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 > Hello everybody! All operations are executed on a completely new/clean OS. Access Point ASUS WL-330gE, Authentication Method selected Open System. ################################################################### === PREPARATION === # svn checkout svn://svn.freebsd.org/base/stable/8 /usr/src ... ... # uname -a FreeBSD 8.1-STABLE FreeBSD 8.1-STABLE #0 r212293: Tue Sep 7 19:21:04 MSD 2010 dm@:/usr/obj/usr/src/sys/GENERIC i386 Update ports and: # cd /usr/ports/net/bwn-firmware-kmod && make install clean ... ===> Registering installation for bwn-firmware-kmod-0.1.0 ===> Cleaning for b43-fwcutter-012 ===> Cleaning for bwn-firmware-kmod-0.1.0 # rehash # pciconf -lvbc none2@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 cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) # echo if_bwn_load=\"YES\" >> /boot/loader.conf # shutdown -r now # kldstat Id Refs Address Size Name 1 8 0xc0400000 bc242c kernel 2 1 0xc0fc3000 37248 if_bwn.ko 3 2 0xc0ffb000 a26c 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 ################################################################### === DMA === # 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 5 (2432 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 # ifconfig wlan0 up list ap SSID/MESH ID BSSID CHAN RATE S:N INT CAPS dlink home 11 00:1c:f0:e2:96:c5 6 54M -132:-95 100 EPS WME ATH WPS ASUS 00:1d:60:16:d5:16 1 11M -107:-95 100 E WME <<-- Is my my_home_net... 00:1c:f0:3d:5f:d9 1 54M -140:-95 100 EPS RSN WPA ATH DIR300.Augur 00:1e:58:81:50:61 1 54M -141:-95 100 EPS ATH WPS dlink DIR-400 00:01:23:45:67:89 2 54M -140:-95 100 EPS WPA WPS # cat /var/log/messages ... Sep 7 20:41:51 kernel: wlan0: Ethernet address: 0c:ee:e6:a1:50:cc Sep 7 20:42:01 kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) Sep 7 20:42:01 kernel: wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost Sep 7 20:42:01 kernel: Sep 7 20:42:04 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:42:04 kernel: bwn0: please turns on the RF switch Sep 7 20:42:05 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:42:29 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:42:29 kernel: bwn0: please turns on the RF switch Sep 7 20:42:30 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:42:33 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:42:33 kernel: bwn0: please turns on the RF switch Sep 7 20:42:34 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:43:32 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:43:32 kernel: bwn0: please turns on the RF switch Sep 7 20:43:40 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:43:53 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:43:53 kernel: bwn0: please turns on the RF switch ..... If manually press on switch WiFi On/Off, then OS response by pressing in the form of output status (ON or OFF) on monitor. ################################################################### === PIO === (Warren Block, thanks for the help) # echo hw.bwn.usedma=0 >> /boot/loader.conf # shutdown -r now # 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 3 (2422 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 # cat /var/log/messages ... Sep 7 20:57:34 kernel: wlan0: Ethernet address: 0c:ee:e6:a1:50:cc Sep 7 20:57:38 kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) Sep 7 20:57:39 kernel: wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost Sep 7 20:58:18 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:58:18 kernel: bwn0: please turns on the RF switch Sep 7 20:58:19 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:59:17 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:59:17 kernel: bwn0: please turns on the RF switch Sep 7 20:59:21 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:59:23 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:59:23 kernel: bwn0: please turns on the RF switch Sep 7 20:59:25 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:59:26 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:59:26 kernel: bwn0: please turns on the RF switch Sep 7 20:59:27 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:59:29 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:59:29 kernel: bwn0: please turns on the RF switch Sep 7 20:59:33 kernel: bwn0: status of RF switch is changed to ON Sep 7 20:59:34 kernel: bwn0: status of RF switch is changed to OFF Sep 7 20:59:34 kernel: bwn0: please turns on the RF switch # ifconfig wlan0 up list ap SSID/MESH ID BSSID CHAN RATE S:N INT CAPS ASUS 00:1d:60:16:d5:16 1 11M -106:-95 100 E WME <<-- Is my dlink home 11 00:1c:f0:e2:96:c5 6 54M -132:-95 100 EPS WME ATH WPS my_home_net... 00:1c:f0:3d:5f:d9 1 54M -140:-95 100 EPS RSN WPA ATH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C86739D.4050407>