Date: Thu, 24 May 2018 23:21:55 +0200 From: Iain Whitehead <iain.james@gmail.com> To: freebsd-questions@freebsd.org Subject: Problems loading the Broadcom 4322 wifi card Message-ID: <060D3D1C-09F1-472E-9B38-87661283A32C@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi There,
I=E2=80=99m hoping someone can help me out or at least point me in the =
right direction. I thought it would be fun to try out FreeBSD and had an =
old MacBook Pro (13 =E2=80=9C mid 2009) which I could screw around with. =
Everything was going pretty good until I tried to connect to my wifi =
network. I=E2=80=99ve got a Broadcom 4322 wifi card in the machine. =
After a bit of poking around the hand book, old mailing lists, Landon =
Fuller=E2=80=99s blog, Adrian Chadd=E2=80=99s blog and so on. I =
ascertained that it requires the bwn driver with the GPL options. I =
tethered my laptop to the internet using my phone and did the following =
things:
1) Make install cleaned the ports/net/bwn-firmware-kmod
2) In the makefile for the /sys/modules/bwn/Makefile I've uncommented =
the ".PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n" and the "SRC+=3D if_bwn=E2=80=
=A6" lines
3) recompiled the kernel with the "device bwn=E2=80=9D line uncommented =
in the kernel config file and I added the =E2=80=9Cdevice firmware=E2=80=9D=
 line at this point as well (its now in there)
4) added the following to the /boot/loader.conf
If_bwn_load=3D=E2=80=9CYES=E2=80=9D
bwn_v4_ucode_load=3D=E2=80=9CYES=E2=80=9D
# and then to be safe
bwn_v4_n_ucode_load=3D=E2=80=9CYES=E2=80=9D
bwn_v4_lp_ucode_load=3D=E2=80=9CYES=E2=80=9D
So the results of a dmesg | grep bwn: bwn0: bwn_phy_n_attach: =
BWN_GPL_PHY not in the kernel config; no PHY-N support
Now this is were it gets confusing for me:
I added the line
options BWN_GPL_PHY=20
To the kernel config file and tried to recompile the kernel and it exits =
with an error in the linker saying that it can=E2=80=99t find the =
definitions for a number of nphy_op_ functions. I have however found the =
functions that it couldn=E2=80=99t link against in the =
if_bwn_phy_n_core.c file in the /sys/gnu/dev/bwn/phy_n directory so I am =
now somewhat confused.
If anyone could help me out I=E2=80=99d be greatly appreciative.
Thanks
Iain=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?060D3D1C-09F1-472E-9B38-87661283A32C>
