Skip to contentSkip to conversation

New device in MacBook Pro, yet unsupported?

DISCUSSION Christian Schäfer 6 participants 19 messages Mar 27, 2011 – Jun 12, 2011

lore
Share & tools
lore
#0 lore raw

Hi there,

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:

03:00.0 0280: 14e4:4331 (rev 02)
Subsystem: 106b:00d6
Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at a0600000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 83-0e-47-ff-ff-36-e0-f8
Capabilities: [16c] Power Budgeting <?>

To my current knowledge, the only way to get it working is by means of ndiswrapper. Are there any plans already to get this device supported natively? Please let me know if you need further information regarding the device.

Thanks,
Chris

Signature · 5 lines
Dipl.-Bioinf. Christian Schaefer
Technical University Munich
Department for Bioinformatics / Rostlab
http://www.rostlab.org/~schaefer
http://gsish.tum.edu/
#1 lore raw

2011/3/27 Christian Sch?fer <[email protected]>:

Quoted 19 lines

Hi there,

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:

03:00.0 0280: 14e4:4331 (rev 02)
? ?Subsystem: 106b:00d6
? ?Flags: bus master, fast devsel, latency 0, IRQ 11
? ?Memory at a0600000 (64-bit, non-prefetchable) [size=16K] ? ?Capabilities: [40] Power Management version 3
? ?Capabilities: [58] Vendor Specific Information: Len=78 <?> ? ?Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ ? ?Capabilities: [d0] Express Endpoint, MSI 00
? ?Capabilities: [100] Advanced Error Reporting
? ?Capabilities: [13c] Virtual Channel
? ?Capabilities: [160] Device Serial Number 83-0e-47-ff-ff-36-e0-f8 ? ?Capabilities: [16c] Power Budgeting <?>

Quoted 4 lines

To my current knowledge, the only way to get it working is by means of ndiswrapper. Are there any plans already to get this device supported natively? Please let me know if you need further information regarding the device.

What about

modprobe b43
dmesg | grep b43
?

This is new card without real entry in pciid, someone just typed some dumb BCM4331 in http://pci-ids.ucw.cz/read/PC/14e4/4331

Signature · 1 line
Rafa?
#2 lore raw

W dniu 27 marca 2011 11:42 u?ytkownik Rafa? Mi?ecki <[email protected]> napisa?:

Quoted 25 lines

2011/3/27 Christian Sch?fer <[email protected]>:

Quoted 19 lines

Hi there,

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:

03:00.0 0280: 14e4:4331 (rev 02)
? ?Subsystem: 106b:00d6
? ?Flags: bus master, fast devsel, latency 0, IRQ 11
? ?Memory at a0600000 (64-bit, non-prefetchable) [size=16K] ? ?Capabilities: [40] Power Management version 3
? ?Capabilities: [58] Vendor Specific Information: Len=78 <?> ? ?Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ ? ?Capabilities: [d0] Express Endpoint, MSI 00
? ?Capabilities: [100] Advanced Error Reporting
? ?Capabilities: [13c] Virtual Channel
? ?Capabilities: [160] Device Serial Number 83-0e-47-ff-ff-36-e0-f8 ? ?Capabilities: [16c] Power Budgeting <?>

Quoted 4 lines

To my current knowledge, the only way to get it working is by means of ndiswrapper. Are there any plans already to get this device supported natively? Please let me know if you need further information regarding the device.

Quoted 5 lines

What about

modprobe b43
dmesg | grep b43
?

Please, provide also dmesg | grep ssb.

This can be AI card, not ssb.

Signature · 1 line
Rafa?
#3 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:

[...]

Quoted 9 lines
Quoted 7 lines
Quoted 4 lines

To my current knowledge, the only way to get it working is by means of ndiswrapper. Are there any plans already to get this device supported natively? Please let me know if you need further information regarding the device.

What about
modprobe b43
dmesg | grep b43

Please, provide also dmesg | grep ssb.
This can be AI card, not ssb.

modprobe b43
dmesg | grep b43
dmesg | grep ssb

returns nothing. The modprobe however produces the following:

cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain,
max_eirp)

  cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
  cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
  cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
  cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
  cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

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

Chris

Signature · 5 lines
Dipl.-Bioinf. Christian Schaefer
Technical University Munich
Department for Bioinformatics / Rostlab
http://www.rostlab.org/~schaefer
http://gsish.tum.edu/
#4 lore raw

W dniu 28 marca 2011 11:06 u?ytkownik Christian Schaefer <[email protected]> napisa?:

Quoted 5 lines
Quoted 3 lines

modprobe b43
dmesg | grep b43
dmesg | grep ssb

returns nothing. The modprobe however produces the following:

Try brcm80211

Signature · 1 line
Rafa?
#5 lore raw
Quoted 5 lines · Rafa? Mi?ecki
Quoted 4 lines
Quoted 3 lines

modprobe b43
dmesg | grep b43
dmesg | grep ssb

returns nothing. The modprobe however produces the following:

Try brcm80211

This doesn't seem to be very fruitful either:

brcm80211: module is from the staging directory, the quality is unknown, you have been warned.

btw, uname -r gives:
2.6.38-7-generic

Perhaps support for the device is included in recent development kernels?

Thanks,
Chris

Signature · 5 lines
Dipl.-Bioinf. Christian Schaefer
Technical University Munich
Department for Bioinformatics / Rostlab
http://www.rostlab.org/~schaefer
http://gsish.tum.edu/
#6 lore raw
In reply to Rafał Miłecki

2011/3/27 Rafa? Mi?ecki <[email protected]>:

Quoted 2 lines

This is new card without real entry in pciid, someone just typed some dumb BCM4331 in http://pci-ids.ucw.cz/read/PC/14e4/4331

BCM4331 seems to be correct:

<http://lxr.linux.no/#linux+v2.6.38/drivers/staging/brcm80211/include/bcmdevs.h#L53>:

#define BCM4331_D11N_ID 0x4331 /* 4331 802.11n dualband id */

Since this is a three stream device, this is most likely an AI card. So if any driver might support it, then it's brcm80211 from staging.

Jonas

#7 lore raw
In reply to Christian Schäfer

2011/3/27 Christian Sch?fer <[email protected]>:

Quoted 5 lines

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:

03:00.0 0280: 14e4:4331 (rev 02)

Any chance you can see how it's labeled? Is that possible to open MacBook's slot to see this wifi card?

I mean something like BCM943....

I could not find you card on ebay.

Signature · 1 line
Rafa?
#8 lore raw

W dniu 30 marca 2011 20:20 u?ytkownik Rafa? Mi?ecki <[email protected]> napisa?:

Quoted 5 lines

2011/3/27 Christian Sch?fer <[email protected]>:

Quoted 4 lines

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:

Quoted 8 lines
Quoted 1 line

03:00.0 0280: 14e4:4331 (rev 02)

Any chance you can see how it's labeled? Is that possible to open MacBook's slot to see this wifi card?

I mean something like BCM943....

I could not find you card on ebay.

Ping?

Signature · 1 line
Rafa?
#9 lore raw
Quoted 9 lines · Rafa? Mi?ecki
Quoted 8 lines
Quoted 4 lines

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty). The wireless device seems to be currently unsupported by the b43 driver (as of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:
03:00.0 0280: 14e4:4331 (rev 02)

Any chance you can see how it's labeled? Is that possible to open MacBook's slot to see this wifi card?
I mean something like BCM943....
I could not find you card on ebay.

Ping?

I fear I cannot be of any help with this. The MacBook is from my employer and has a warranty seal on its back, which I'm not willing to break.
Perhaps remote access to my machine could help you? Let me know.

Chris

Signature · 5 lines
Dipl.-Bioinf. Christian Schaefer
Technical University Munich
Department for Bioinformatics / Rostlab
http://www.rostlab.org/~schaefer
http://gsish.tum.edu/
#10 lore raw

W dniu 7 kwietnia 2011 12:09 u?ytkownik Christian Schaefer <[email protected]> napisa?:

Quoted 15 lines · Rafa? Mi?ecki
Quoted 14 lines
Quoted 13 lines
Quoted 8 lines

I've got here a recent 13" MacBook Pro (8,1), running Ubuntu on it (natty).
The wireless device seems to be currently unsupported by the b43 driver (as
of kernel 2.6.38). It seems to be a bcm4331, lspci -vn gives the following:
03:00.0 0280: 14e4:4331 (rev 02)

Any chance you can see how it's labeled? Is that possible to open MacBook's slot to see this wifi card?
I mean something like BCM943....
I could not find you card on ebay.

Quoted 5 lines
Quoted 1 line

Ping?

I fear I cannot be of any help with this. The MacBook is from my employer and has a warranty seal on its back, which I'm not willing to break. Perhaps remote access to my machine could help you? Let me know.

Not right now, but in future, I think I could support it this way. We need to introduce support for AI first. Maybe before that 4331 cards will appear on ebays? I'll ping you when support for AI is done :)

Signature · 1 line
Rafa?
#13 lore raw

W dniu 10 kwietnia 2011 11:16 u?ytkownik Andy Botting <[email protected]> napisa?:

Quoted 6 lines

Hi Rafa?,

I compiled it into my 2.6.38.2 kernel and booted it. When I modprobe'd it, I get nothing in dmesg.

Anything else I can try?

Ah, sorry.

Can you modify axi_pci_bridge_tbl in host_pci.c on you own, adding entry for your PCI ID?

If lspci -nn gives you 14e4:4331, try adding:
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4331) },
(which exuals to:
{ PCI_DEVICE(0x14e4, 0x4331) },
).

Signature · 1 line
Rafa?
#14 lore raw
In reply to Rafał Miłecki
Quoted 3 lines · Rafa? Mi?ecki

Not right now, but in future, I think I could support it this way. We need to introduce support for AI first. Maybe before that 4331 cards will appear on ebays? I'll ping you when support for AI is done :)

The brcm80211 driver seems to have lots of references to 4331, although it doesn't include 0x4331 in its PCI device table. Might be interesting just to load it and make it bind to the device.

I just bought a new MBP, and am stuck with one of these. Who wants it, if it isn't currently working?

And what can I use in its place? I don't recognise the form factor at
http://guide-images.ifixit.net/igi/MIYRQcks54DunO3k.huge

Signature · 1 line
dwmw2
#15 lore raw

W dniu 11 czerwca 2011 00:23 u?ytkownik David Woodhouse <[email protected]> napisa?:

Quoted 8 lines · Rafa? Mi?ecki
Quoted 3 lines

Not right now, but in future, I think I could support it this way. We need to introduce support for AI first. Maybe before that 4331 cards will appear on ebays? I'll ping you when support for AI is done :)

The brcm80211 driver seems to have lots of references to 4331, although it doesn't include 0x4331 in its PCI device table. Might be interesting just to load it and make it bind to the device.

It does not include the most important one: support for the HT PHY.

Quoted 5 lines

I just bought a new MBP, and am stuck with one of these. Who wants it, if it isn't currently working?

And what can I use in its place? I don't recognise the form factor at
http://guide-images.ifixit.net/igi/MIYRQcks54DunO3k.huge

Were you able to find Windows driver for this card? The one you could use with ndiswrapper?

I'm interested in playing with such a card, if Windows driver exists.

Signature · 1 line
Rafa?
#16 lore raw

W dniu 11 czerwca 2011 00:35 u?ytkownik Rafa? Mi?ecki <[email protected]> napisa?:

Quoted 17 lines

W dniu 11 czerwca 2011 00:23 u?ytkownik David Woodhouse <[email protected]> napisa?:

Quoted 8 lines · Rafa? Mi?ecki
Quoted 3 lines

Not right now, but in future, I think I could support it this way. We need to introduce support for AI first. Maybe before that 4331 cards will appear on ebays? I'll ping you when support for AI is done :)

The brcm80211 driver seems to have lots of references to 4331, although it doesn't include 0x4331 in its PCI device table. Might be interesting just to load it and make it bind to the device.

It does not include the most important one: support for the HT PHY.

Quoted 3 lines

I just bought a new MBP, and am stuck with one of these. Who wants it, if it isn't currently working?

Quoted 7 lines
Quoted 2 lines

And what can I use in its place? I don't recognise the form factor at
http://guide-images.ifixit.net/igi/MIYRQcks54DunO3k.huge

Were you able to find Windows driver for this card? The one you could use with ndiswrapper?

I'm interested in playing with such a card, if Windows driver exists.

I've read a little about this card on Ubuntu forum. It seems to be problematic to be used with ndiswrapper:
1) Standard Windows driver uses NDIS 6 API, which is not supported by ndiswrapper
2) 64-bit Windows driver [0] can be used with ndiswrapper but causes instabilities after some time of using

I've asked for tests of mmiotracer and ndiswrapper on Ubuntu forum [1] [2].

We can at least see what does Windows driver does for this card. How much does it differ from N-PHY, etc.

[0] http://ubuntuforums.org/showpost.php?p=10504930&postcount=11
[1] http://ubuntuforums.org/showpost.php?p=10927272&postcount=478
[2] http://ubuntuforums.org/showpost.php?p=10927276&postcount=479

Signature · 1 line
Rafa?
#17 lore raw
Quoted 1 line · Rafa? Mi?ecki

I've asked for tests of mmiotracer and ndiswrapper on Ubuntu forum [1] [2].

I can do that but it will probably take a while; I may just use the box with wired and Bluetooth networking for now, or not use it at all until I'm not quite so snowed under with other things.

If you send me a SSH public key I can give you root access on the box over the wired connection and you can play with it yourself, which might be a lot faster all round?

Signature · 1 line
dwmw2
#18 lore raw
Quoted 10 lines · David Woodhouse
Quoted 1 line · Rafa? Mi?ecki

I've asked for tests of mmiotracer and ndiswrapper on Ubuntu forum [1] [2].

I can do that but it will probably take a while; I may just use the box with wired and Bluetooth networking for now, or not use it at all until I'm not quite so snowed under with other things.

If you send me a SSH public key I can give you root access on the box over the wired connection and you can play with it yourself, which might be a lot faster all round?

If you are using Ubuntu David, you can get the mmio trace without recompiling the kernel.
Just do

echo mmiotrace > /sys/kernel/debug/tracing/current_tracer cat /sys/kernel/debug/tracing/trace_pipe > /tmp/dump.txt &

echo "Modprobe start" > /sys/kernel/debug/tracing/trace_marker modprobe ndiswrapper
echo "Modprobe end" > /sys/kernel/debug/tracing/trace_marker

echo "ifconfig wlan1 up start" > /sys/kernel/debug/tracing/trace_marker ifconfig wlan1 up
echo "ifconfig wlan1 up end" > /sys/kernel/debug/tracing/trace_marker

killall cat