Broadcom BCM4312 rev 02 WiFi not recognised by Hardy

Asked by Ian McMichael

I have a Compaq 6715b laptop that I've been looking forward to running Ubuntu on. With the release of Hardy Heron (8.04) I thought I would give it another go. The only issue I have is the wireless card, which is a Broadcom BCM4312 rev 02 PCI device. Output of lspci -v is below:

30:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
 Subsystem: Hewlett-Packard Company Unknown device 1371
 Flags: bus master, fast devsel, latency 0, IRQ 18
 Memory at c8000000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [40] Power Management version 3
 Capabilities: [58] Vendor Specific Information
 Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
 Capabilities: [d0] Express Endpoint IRQ 0

I've installed the b43-fwcutter package to download and extract the appropriate firmware for my device. However, when I modprobe b43 nothing gets written to either dmesg output or /var/log/syslog. No new Ethernet devices appear and Network Manager cannot see a wireless card.

This appears to be a detection issue with the 2.6.24 kernel which Hardy is running. A patch is available at http://linuxwireless.org/download/b43/patch_2.6.24_for_4311_2 to fix this. Is there a way to get this patch incorporated in an update so that this device works correctly?

Thanks in advance,

Ian.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ian McMichael
Solved:
Last query:
Last reply:
Revision history for this message
PeterDz (pdzwig) said :
#1

Ian,

I was just about to ask pretty much the same question. I am running a Belkin F507010 802.11g card which gets a bit further than you did, but then fails. It used to run fine under Feisty.

I would add that I can see the PCMCIA ethernet card that I use in the same slot so power isn't the problem as far as I can see. I will try the patches to see if that fixes it.

Anyone tried the Belkin Card under Hardy?

Peter

Revision history for this message
PeterDz (pdzwig) said :
#2

OK I have found a solution that works! - well for me anyway!!

Basically, the new kernel has substantially updated support for wireless. Support for bcm43xx has been deprecated and it neds to be replaced with the b43 family for the 7010, for your particular card look at the mapping at:

http://www.linuxwireless.org/en/users/Devices/PCI

its a question of an amended version of the instructions at:

http://ubuntuforums,org/showthread.php?t=185174

In my case this simply became

sudo apt-get install bc43_fwcutter

and then following the instructions on the screen. This did most of it automatically. I then ran

modprobe bc43

and rebooted.

I hope that this helps someone/gives them enough of a sense of direction to sort out their problems.

Peter

Revision history for this message
Ian McMichael (ian-sigma-uk) said :
#3

Peter,

Glad to hear that downloading the firmware worked for you. I'm guessing the Belkin card must be based on one of the Broadcom Revision 01 chipsets? Is there any chance you can post the output of lspcmcia to prove this? You may need a -v switch with that but as I don't have a PCMCIA card I can't see what the output looks like.

Sadly things aren't as simple for the revision 02 hardware. I'm attempting to build a new kernel to test the patch for these chipsets. If anyone knows where I can find the wireless-2.6.git at the correct revision level referred to in http://linuxwireless.org/download/b43/patch_2.6.24_for_4311_2, I'd really appreciate a link to it.

Regards,

Ian.

Revision history for this message
pierrestz (coolos) said :
#4

Hi, this wifi card is also in the HP 6720s.
lspci -v
10:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
        Subsystem: Hewlett-Packard Company Unknown device 1371
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at e4000000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information
        Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0

It is not recognised under hardy.
Thank you for trying to get a patch, i cant test it if you want (that's all i can do to help the community ;o)

Pierre.

Revision history for this message
Janno2 (jan-kijlstra) said :
#5

I have a HP Pavilion DV9500 (on the back)/DV 9000 (on the inside). Vista is installed.

WLAN goes fine via my Apple Xtreme Basisstation.

The onboard Network Controller is the same (lousy?) BCM4312 rev. 02, lspci -v tells me

I did install Ubuntu 8.04 (Dualboot)

And of course: no Internet when using Ubuntu 8.04 (or 7.10, or Knoppix)

I will be very happy if a patch will become available fot that Broadcom-sh....

So I checked the "future discussion"" box.

Keeping my fingers crossed.

Revision history for this message
pierrestz (coolos) said :
#6

I managed to get my BCM4312 rev 02 working on Hardy, thanks to this HowTo :
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff

(it uses ndiswrapper, so this post is not help for coders, it's just a workaround for those who need wifi working to enjoy Hardy Heron!)

Revision history for this message
Bruce Wayne (enyaw-ecurb) said :
#7

BCM4312 rev02 works on 2.6.25 for me. Before trying to patch 2.6.24 and compiling it you may try to compile 2.6.25.

I switched back to 2.6.24 though because of some other problems .25 caused.

Revision history for this message
Ian McMichael (ian-sigma-uk) said :
#8

Bruce,

I've managed to get the BCM4312 rev 02 working on the Hardy kernel by applying the patch at http://linuxwireless.org/download/b43/patch_2.6.24_for_4311_2 and recompiling it. However, I'm only getting up to 2 Mbps to a 54 Mbps access point. Did you have similar issues with 2.6.25?

Ian.

Revision history for this message
johnblodge (johnblodge) said :
#9

Ian,

Please pardon my ignorance, but I am very much a newby and am not clear on what is required to "apply" this patch you speak of. I have downloaded it and it is sitting on my desktop, but when I peer inside, it causes my head to spin.

I've muddled my way through all the other "solutions" and am willing to try pretty much anything to get this working, but is this something where only gurus need apply?

John

Revision history for this message
Janno2 (jan-kijlstra) said :
#10

Well, that's it, for this "dummy", anyway.

There seems to be no out-of-the-box solution for using a Linux-version (Ubuntu 7.10, 8.04, Knoppix) combined
with a WiFi-chipset like that damned Broadcom BCM4312 v. 02.

The same system, using Vista, is having no problem at all!

If a Linux-based OS is not able to perform (at least) at the same level as Windows XP or Vista, that Linux-based Os
just is not suitable for "not-being-a-guru" like me.

So, in the end, I have to admit, for me, being a "Linux-dummy",
there is only one god, his name is Bill Gates, and his church is called Microsoft.

Revision history for this message
Ian McMichael (ian-sigma-uk) said :
#11

For those that want to give the patch a try, I followed the instructions at https://help.ubuntu.com/community/Kernel/Compile and opted to take option 2 to get the kernel source.

Once you have it, cd into the kernel-2.6.24 directory, download and test the patch with:

    wget http://linuxwireless.org/download/b43/patch_2.6.24_for_4311_2
    patch -p1 --dry-run < patch_2.6.24_for_4311_2

If all looks good, re-run the patch command and remove the --dry-run to do it for real. Then run (for i386 only):

    AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-generic

When the compile eventually completes you'll have a new linux-image-2.6.24-*.deb package, which you can install using a dpkg -i command and then reboot onto your new kernel for a working BCM4311/2 rev 02 card.

For those that don't fancy compiling their own, I've shared the kernel I'm running at:

    http://www.sigma-uk.net/hardy/linux-image-2.6.24-16-generic_2.6.24-16.30b43_i386.deb
    http://www.sigma-uk.net/hardy/linux-headers-2.6.24-16-generic_2.6.24-16.30b43_i386.deb

It comes with a complete disclaimer and may well break your machine! However, it's been working well for a couple of weeks here now. The only difference between this kernel and the shipping one is the patch above. I attempted many times to create a Personal Package Archive to share this more easily but cannot get the kernel package to compile in the PPA environment for either i386 or amd64 platforms, even though it does fine on my machine!

Hope this helps a few others who were stuck like me.

Ian.

Revision history for this message
hp3 (hfasteng) said :
#12

Can this patch also be used on a 64 bit system?
From the text "i386 only" I assume no?

Revision history for this message
slayer (antoniochiaravalloti) said :
#13

thank you :)

Revision history for this message
Ian McMichael (ian-sigma-uk) said :
#14

hp3,

I believe the patch did also produce _amd64 packages when I applied it to the kernel and compiled it. As I don't have a laptop with >=4GB of memory in it and a BCM4311/2 rev 02 card, I don't run the 64-bit version. However, if you follow my instructions to download the source and apply the patch you should end up with a working .deb file that you can use on the x64 platform.

Ian.

Revision history for this message
Amit (agarwalamit081) said :
#15