From owner-freebsd-questions@freebsd.org Thu May 24 21:21:59 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DA5BEFE926 for ; Thu, 24 May 2018 21:21:59 +0000 (UTC) (envelope-from iain.james@gmail.com) Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 067DC84DA9 for ; Thu, 24 May 2018 21:21:59 +0000 (UTC) (envelope-from iain.james@gmail.com) Received: by mail-wr0-x22a.google.com with SMTP id r13-v6so5605972wrj.10 for ; Thu, 24 May 2018 14:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=9WGkZ1GZR9BSk1sohON7b9gptIayAiZsBmuIHn6dQug=; b=EjEoYu3jIeQzyuVsbG/m7dJJf9kNSr+7wLTmgBR7dgBBIt6UhOjGzZ/L5ubfAX9E2G 95x3+oPfeRLl7DYZWwhTCTuyX9EgplhGLG68WU+M5AV+AeDmXimpZTvaDQ1fH7kw/nEI ed+QL4SvDF0YAytcwxxll5VAcE1FfC2EHpbEBHBbainCGqDRGHL1liw9lsJUPts6aAKW U/rYItXq4jQtyg+++AqxvgSg8XBh9dVFOgA0bJLCACpxI0ci/xvkYiAbzT+91GMtKyCj YmmAOtmZMJulqqQ5NzDTKwWyIscXejM2N3VKzvURS0WjrAY82td+3MlhGWaflBm9CFk9 Rftw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=9WGkZ1GZR9BSk1sohON7b9gptIayAiZsBmuIHn6dQug=; b=erIzMUGuPokKna9BDqAhWgORAB5y8EIbG/RClTWUovEAVmOkR4JwiZYbxL4UreWVG5 srWdgBOsQz3itTC1dJoc3K+S59t2mIHsyTWl461Z7U73wvOe83OBRbBLysxtegUNMdkS fREAKWEl9K63/yaYxStqBuffot1jV3c/6u22WFc6tZfC7u4+XaHWtwDVo2KXn1jTKH8y nCcOB6qen42gepSFj0/ovClKyNmFO/c1hLMNcaqszAQ8enIV4P8W3LEjoFU6gFEDotG3 VGNkFBAgoDR21fTMq9/qnlu89hg5gQ32QuAM6wMJgtuz6fJfBdpQcTTziV6vdlwSm3NW FR4g== X-Gm-Message-State: ALKqPwfUSyaTyq+vtb8KxyYExes/f6FmGNL7v/xhg10QR/c7sQOsO5qF w41Ni/UGqrwv+qHd6XhNEsFdwWwF X-Google-Smtp-Source: AB8JxZpGVclxeOaM6shndBjzOS1/Uz5eBpZAvOt3Em5OlFWKT8iKM/A8btAO1u3Cz+HlWZqhzApW/g== X-Received: by 2002:adf:80ad:: with SMTP id 42-v6mr8631918wrl.211.1527196917310; Thu, 24 May 2018 14:21:57 -0700 (PDT) Received: from p2003006244176727f4b493faa5a224de.dip0.t-ipconnect.de (p2003006244176727F4B493FAA5A224DE.dip0.t-ipconnect.de. [2003:62:4417:6727:f4b4:93fa:a5a2:24de]) by smtp.gmail.com with ESMTPSA id 75-v6sm5705617wmw.37.2018.05.24.14.21.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 14:21:56 -0700 (PDT) From: Iain Whitehead Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Problems loading the Broadcom 4322 wifi card Message-Id: <060D3D1C-09F1-472E-9B38-87661283A32C@gmail.com> Date: Thu, 24 May 2018 23:21:55 +0200 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3445.6.18) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 21:21:59 -0000 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=