You are not logged in.

#1 2011-11-07 14:14:25

corion
Member
Registered: 2008-09-13
Posts: 36
Website

Macbook Pro 8.1 wireless (Broadcom 4331)

For a few days I try to configure wireless on my Mac using kernel 3.0.x.

For reference (lcpi)

03:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)

I have followed instructions from http://homepage.uibk.ac.at/~c705283/arc … index.html but then I have problem with compilation (probably due to the fact that I use kernel 3.0)

I've found on http://wireless.kernel.org/en/users/Dow … e_releases that there is a version of compat-wireless for kernel 3.0 (I used  compat-wireless-3.0-2.tar.bz2). This time the compilation went fine. Unfortunately after modprobe b43 I see in dmesg only:

Broadcom 43xx driver loaded [ Features: PMNLS, Firmware-ID: FW13 ]

and there is no new interface after ifconfig -a.

Does anyone successfully configure Broadcom 4331 on Mac using kernel 3.0.x?

Offline

#2 2011-11-07 14:50:23

Gusar
Member
Registered: 2009-08-25
Posts: 3,429

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

Which firmware did you install? The correct one is b43-firmware-latest from AUR.

Edit: You did not use the correct compat-wireless package. Stable is not what you're after, bleeding-ege is. To be precise, what you need is the latest package from here: http://linuxwireless.org/download/compat-wireless-2.6/ Then also install b43-firmware-latest from AUR, as I said above.

Last edited by Gusar (2011-11-07 14:54:28)

Online

#3 2011-11-07 18:09:55

corion
Member
Registered: 2008-09-13
Posts: 36
Website

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

I have compiled and installed:

- b43-firmware-latest
- compat-wireless-2011-11-06

then I do:

make wlunload
modprobe b43

an get this in dmesg:

[  439.107529] bcma-pci-bridge 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[  439.107549] bcma-pci-bridge 0000:03:00.0: setting latency timer to 64
[  439.107643] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[  439.107671] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[  439.107732] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[  439.107885] bcma: PMU resource config unknown for device 0x4331
[  439.107887] bcma: Enabling Ext PA lines not implemented
[  439.131626] bcma: Bus registered
[  439.135600] cfg80211: Calling CRDA to update world regulatory domain
[  439.139434] cfg80211: World regulatory domain updated:
[  439.139437] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  439.139440] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  439.139442] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  439.139444] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[  439.139446] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  439.139448] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[  439.142941] b43: Unknown symbol ieee80211_get_tkip_p1k_iv (err 0)
[  439.142964] b43: Unknown symbol bcma_core_disable (err 0)
[  439.143036] b43: Unknown symbol bcma_core_pll_ctl (err 0)
[  439.143082] b43: Unknown symbol bcma_core_set_clockmode (err 0)
[  439.143106] b43: Unknown symbol bcma_core_dma_translation (err 0)
[  439.143145] b43: Unknown symbol bcma_core_pci_irq_ctl (err 0)

And still no wireless interface sad

Offline

#4 2011-11-08 20:36:04

Gusar
Member
Registered: 2009-08-25
Posts: 3,429

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

Kernel 3.2-rc1 is out, I suggest just using that.

Online

#5 2011-11-09 01:52:12

groundnuty
Member
Registered: 2010-11-16
Posts: 17

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

I got it working with no problems with guide you mentioned - not paches needed.
Some info is here as well: https://bbs.archlinux.org/viewtopic.php?id=127405r
If you will still have problems catch me on #archlinux.

Offline

#6 2011-11-09 05:59:31

phantez
Member
Registered: 2011-11-09
Posts: 1

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

On kernel 3.2-rc1 make sure you have the bcma support enabled otherwise (rmmod b43; modprobe b43 will do nothing except writting Broadcom 43xx driver loaded [...])

Offline

#7 2011-11-15 23:00:21

corion
Member
Registered: 2008-09-13
Posts: 36
Website

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

I have solved this by applying this patch. For details see this thread

Patch works for kernel 3.1 and 3.1.1.

There is only one issue: all wireless networks have 30% of power in wicd-curses.

Last edited by corion (2011-11-16 07:55:43)

Offline

#8 2011-11-15 23:36:01

Gusar
Member
Registered: 2009-08-25
Posts: 3,429

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

Can one of you guys with a Macbook do me a favor and post the output of lscpi -vnn and lsmod? I'm curious what these machines actually consist of.

Online

#9 2011-11-16 07:54:42

corion
Member
Registered: 2008-09-13
Posts: 36
Website

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

This is my lspci -vnn and lsmod.

Offline

#10 2011-11-17 11:47:26

Gusar
Member
Registered: 2009-08-25
Posts: 3,429

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

corion wrote:

This is my lspci -vnn and lsmod.

Nice, thanks. Very informative. I see you have a Broadcom Ethernet card using the tg3 driver. I've seen lots of mentions that it requires loading the broadcom module for it to work, but I do not see broadcom in your lsmod output. Does the network card work for you, even without that module, with just tg3 loaded?

Online

#11 2011-11-20 13:55:01

corion
Member
Registered: 2008-09-13
Posts: 36
Website

Re: Macbook Pro 8.1 wireless (Broadcom 4331)

Gusar wrote:
corion wrote:

This is my lspci -vnn and lsmod.

Nice, thanks. Very informative. I see you have a Broadcom Ethernet card using the tg3 driver. I've seen lots of mentions that it requires loading the broadcom module for it to work, but I do not see broadcom in your lsmod output. Does the network card work for you, even without that module, with just tg3 loaded?

Yes, it works out of the box. I have checked my lsmod twice and I do not have a broadcom module, so apparently it works without this module. I haven't any troubles with my ethernet card.

Last edited by corion (2011-11-22 09:29:35)

Offline

Board footer

Powered by FluxBB