Macbook ProのDebianにBroadcom BCM4360をインストールする方法

Macbook ProのDebianにBroadcom BCM4360をインストールする方法

私のMacbook Proにイーサネットポートがないので、ワイヤレスドライバをインストールしようとしていましたが、後でインストールしました。3 Debian ISOローカルストレージなど、ほぼすべての依存関係をインストールします。

それで、Broadcam 4360をインストールしてみました。

https://wiki.debian.org/bcm43xx

https://wiki.debian.org/wl

これをインストールしようとすると:

http://www.broadcom.com/support/802.11/linux_sta.php

次の問題があります。

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/usr/src/linux-headers-3.16-2-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16-2-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  CC [M]  /home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.o
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’:
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:1390:2: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [enabled by default]
  memcpy(params.key, key.data, params.key_len);
  ^
In file included from /usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/string.h:4:0,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/string.h:17,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/bitmap.h:8,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/thread_info.h:23,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/preempt.h:18,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/stat.h:18,
                 from /usr/src/linux-headers-3.16-2-common/include/linux/module.h:10,
                 from /home/cristian/Downloads/broadcom/src/include/linuxver.h:40,
                 from /home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:26:
/usr/src/linux-headers-3.16-2-common/arch/x86/include/asm/string_64.h:32:14: note: expected ‘void *’ but argument is of type ‘const u8 *’
 extern void *memcpy(void *to, const void *from, size_t len);
              ^
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c: At top level:
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: initialization from incompatible pointer type [enabled by default]
  .get_station = wl_cfg80211_get_station,
  ^
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: (near initialization for ‘wl_cfg80211_ops.get_station’) [enabled by default]
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’:
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:2074:4: warning: passing argument 3 of ‘cfg80211_ibss_joined’ makes pointer from integer without a cast [enabled by default]
    cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
    ^
In file included from /home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-3.16-2-common/include/net/cfg80211.h:4002:6: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘unsigned int’
 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
      ^
/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:2074:4: error: too few arguments to function ‘cfg80211_ibss_joined’
    cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
    ^
In file included from /home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-3.16-2-common/include/net/cfg80211.h:4002:6: note: declared here
 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
      ^
/usr/src/linux-headers-3.16-2-common/scripts/Makefile.build:262: recipe for target '/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.o' failed
make[4]: *** [/home/cristian/Downloads/broadcom/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
/usr/src/linux-headers-3.16-2-common/Makefile:1350: recipe for target '_module_/home/cristian/Downloads/broadcom' failed
make[3]: *** [_module_/home/cristian/Downloads/broadcom] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16-2-amd64'                                                                                                                                      
Makefile:140: recipe for target 'all' failed                                                                                                                                                          
make: *** [all] Error 2  

だから誰かがドライバをインストールした場合ブロードコム4360MacでDebianを使用する方法と他の人が私に推奨する方法を教えてください。

ベストアンサー1

編集する

Broadcom 4360には、実際に14E4:4360と14E4:43A0という2つのチップが付属しています。 1つ目はLinuxにドライバがないことです。寸法2番目のドライバに適したドライバです。次のコマンドを使用して、どのようなものがあるかを確認できます。

 lspci -vnn | grep -i net

Mac OSでこれを行うには、Apple - >このMac情報 - >詳細情報 - >システム情報をクリックし、Wi-fiをクリックします。次の行を見つけることができます。

 Card Type: AirPort Extreme  (0x14E4, 0x117)

Wi-Fiカードのベンダー(14E4)と製品(私の場合は117)コードが表示されます。


Broadcom 4360 14E4:4360はLinuxではサポートされていません。これらの質問に関する明確なガイドラインは次のとおりです。Linuxワイヤレス、これは作るこのテーブルにすべてのBroadcommワイヤレスチップと利用可能なLinuxドライバのリストです。ご覧のとおり、BCM4360 14E4:4360 以下にドライバはリストされていません。

同じ表の次の2行は4360を生成しましたが、代わりに独自のドライバによってサポートされている別のチップ14E4:43A0を示しています。寸法。このドライバをインストールする正しい手順については、ここで説明します。Debian Wikiで。 Wheezyの場合は、次の行を追加する必要があります。

   deb http://http.debian.net/debian/ wheezy main contrib non-free

/etc/apt/sources.list ファイルに移動して実行します。

  apt-get update
  apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

最後に、Debianにプリインストールされているいくつかの競合するドライバを削除する必要があります。

 modprobe -r b44 b43 b43legacy ssb brcmsmac

これで始めることができます:

 modprobe wl

次のことも覚えておく必要があります。寸法ドライバー様、お得な内容です。Arch Linux Wiki言わなければならない:

警告する:このドライバは長年にわたって多くの進歩を遂げており、現在非常にうまく機能していますが、デバイスが両方のオープンソースドライバのいずれかでサポートされていない場合にのみ使用することをお勧めします。サポートされているデバイスのリストについては、プロジェクトb43ページを参照してください。

おすすめ記事