118ed Is it possible to use the broadcom BCM4313 ? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #1  
Old September 25th, 2011, 17:17
shokry shokry is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default Is it possible to use the broadcom BCM4313 ?

I have a laptop with the broadcom bcm4313 wifi card and I really want to install FreeBSD (8.2 or 9.0 as I see a bunch of improvements in 9.0) on this laptop but from what I've read so far it's not supported and isn't going to work, Are there any workarounds to make it work, or if there's a driver for it already how can I install it?

Last edited by DutchDaemon; September 26th, 2011 at 01:29.
Reply With Quote
  #2  
Old September 26th, 2011, 01:58
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,387
Thanks: 60
Thanked 145 Times in 130 Posts
Default

I've one with the same or a similar chip; I read online how to replace it with an intel (laptop disassembly); tried and failed ndisgen'ing the driver (still newbie); settled on an edimax ew-7318usg, an inexpensive usb wifi dongle. (Huge antenna on it, maybe you'd prefer that for the improved range (theoretically) )
Reply With Quote
  #3  
Old September 26th, 2011, 05:56
redw0lfx redw0lfx is online now
Junior Member
 
Join Date: Aug 2011
Posts: 95
Thanks: 18
Thanked 14 Times in 13 Posts
Default

I been trying to get FreeBSD on my HP Mini 210 which also has a broadcom BCM4313 chip. From what I read so far (and tried), the existing bwn and bwi drivers don't work with this card. I tried to use ndiswrapper as all, but couldn't find any Windows XP drivers for the card either.

I have gotten the card to work under Linux using the driver from Broadcom, Broadcom-STA, but that driver hasn't been ported over to FreeBSD yet.
Reply With Quote
  #4  
Old September 26th, 2011, 19:35
shokry shokry is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes, this card worked perfectly out of the box with newer linux distros with that driver .
Well, I think I'll have to wait until it's ported to FreeBSD (or until I change the laptop :p).

Anyone else want to share experience with that chip?

Last edited by DutchDaemon; September 26th, 2011 at 23:45. Reason: It's "FreeBSD"
Reply With Quote
  #5  
Old September 26th, 2011, 20:13
b7j0c b7j0c is offline
Junior Member
 
Join Date: Mar 2009
Posts: 42
Thanks: 3
Thanked 4 Times in 4 Posts
Default

For the time being its probably just safe to avoid buying hardware that uses Broadcom NICs unless you have specific and clear reports of a specific chipset working, and I mean without NDIS.

Intel and Atheros NICs *tend* to have better support, but with regards to Intel specifically, you also have to keep an eye on Sandy Bridge support, which is still not quite there.

Last edited by DutchDaemon; September 26th, 2011 at 23:46.
Reply With Quote
  #6  
Old July 7th, 2012, 11:11
nox@ nox@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Posts: 66
Thanks: 1
Thanked 38 Times in 14 Posts
Default Use ndisulator aka Project Evil

There's a link to a Windows XP driver that can be used for this nic with ndis(4) on FreeBSD/PCBSD >= 9.0 in the PCBSD wiki: http://wiki.pcbsd.org/index.php/Wireless_Testing. If you are on amd64 like me you may get a panic "Unregistered use of FPU in kernel", the fix for that is in gnats: http://www.freebsd.org/cgi/query-pr.cgi?pr=165622.

PS: Assuming you have kernel sources installed and the patch from that ticket applies to 9.0 too (I only tested head) you can just rebuild and install ndis.ko instead of rebuilding the entire kernel:
# cd /usr/src/sys/modules/ndis && make && make install

HTH,
Juergen
Reply With Quote
The Following 2 Users Say Thank You to nox@ For This Useful Post:
niflheim (August 4th, 2012), wblock@ (July 7th, 2012)
  #7  
Old August 3rd, 2012, 23:39
niflheim niflheim is offline
Junior Member
 
Join Date: Aug 2012
Location: Sweden
Posts: 4
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by nox@ View Post
There's a link to a Windows XP driver that can be used for this nic with ndis(4) on FreeBSD/PCBSD >= 9.0 in the PCBSD wiki: http://wiki.pcbsd.org/index.php/Wireless_Testing. If you are on amd64 like me you may get a panic "Unregistered use of FPU in kernel", the fix for that is in gnats: http://www.freebsd.org/cgi/query-pr.cgi?pr=165622.

PS: Assuming you have kernel sources installed and the patch from that ticket applies to 9.0 too (I only tested head) you can just rebuild and install ndis.ko instead of rebuilding the entire kernel:
# cd /usr/src/sys/modules/ndis && make && make install

HTH,
Juergen
I just got my Broadcom BCM4313 up and running yesterday by checking out that PC-BSD Wiki!

I just downloaded the drivers on my Windows computer, extracted the driver files, and transferred the necessary ones (bcmwl5.inf, bcmwl564.sys, bcm43xx64.cat and bcmwlcoi64.dll, since I am running amd64) over to my FreeBSD machine using a USB memory stick.

I then had to convert the files to FreeBSD kernel modules by using ndisgen, however, since one of the driver files was encoded in UTF-8 ndisgen required converters/libiconv, so that had to be installed first:# cd /usr/ports/converters/libiconv && make install cleanAll I had to do next was to run ndisgen and follow the instructions. I should mention that, for some reason, I had to run ndisgen from another directory than the driver files were located in, otherwise ndisgen failed to build the kernel modules.

Once ndisgen had finished I ended up with three .KO files, which I placed in the /boot/modules directory. I was unable to load these files using /boot/loader.conf, so I ended up making a /etc/rc.d script which can be found here. Save the script to /etc/rc.d/bcm4313 and run:# chmod a-w+rx /etc/rc.d/bcm4313

Done!
Reply With Quote
The Following 2 Users Say Thank You to niflheim For This Useful Post:
Cliff (October 12th, 2012), Nicholas (December 8th, 2012)
  #8  
Old August 14th, 2012, 08:37
DwBSD DwBSD is offline
Junior Member
 
Join Date: Aug 2012
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did not have a native driver for use as in linux using the wl driver?
I would not want to use the windows driver, in fact I tried it once and does not work, epseremos we can give a better answer. regards
Reply With Quote
  #9  
Old August 14th, 2012, 12:30
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,387
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Since my post above, I got the chip in the laptop working and removed the edimax (not on purpose; the latter was due to a battery that needed replacing.) I believe threads in this forum detail how to install the driver from ports... and even the bios settings that may work best with it.
Reply With Quote
Reply

Tags
bcm4313

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom WiFi lissyara Mobile Computing 294 December 22nd, 2012 21:23
Broadcom bcm4313 0x4727 wireless entombed System Hardware 2 May 29th, 2011 21:20
Broadcom bcm57711 Drivers bcm57711 System Hardware 1 June 6th, 2010 19:42
Broadcom Input Errors Karrj Networking 0 December 24th, 2008 18:08
BroadCom NetXtreme Ethernet? Weinter System Hardware 0 November 17th, 2008 09:42


All times are GMT +1. The time now is 03:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0