[PING] lwfinger - BCM43224 driver with 3.0.x kernel

Hi Larry
I’m wondering if you can provide some guidance on this?

On openSUSE 12.1 the wireless card is working fine, however on SLE with
the 3.0.x kernel the extra staging drivers don’t seem to be present?


openSUSE 12.1
02:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
Subsystem: Dell Wireless 1520 Half-size Mini PCIe Card [1028:000e]
Kernel driver in use: brcmsmac

3.0.x kernel
2:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma

There are some boot messages, but that’s about it…


boot.msg:<6>   14.056151] bcma-pci-bridge 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
boot.msg:<7>   14.056350] bcma-pci-bridge 0000:02:00.0: setting latency timer to 64
boot.msg:<6>   14.056439] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
boot.msg:<6>   14.056609] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
boot.msg:<6>   14.056809] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
boot.msg:<6>   14.088141] bcma: Bus registered

Is just building a KMP of the brcm80211 staging modules enough, or is
there a simpler solution?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.9-1.4-desktop
up 1:15, 3 users, load average: 0.00, 0.01, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On 02/08/2012 07:47 PM, malcolmlewis wrote:
> Hi Larry
> I’m wondering if you can provide some guidance on this?
>
> On openSUSE 12.1 the wireless card is working fine, however on SLE with
> the 3.0.x kernel the extra staging drivers don’t seem to be present?
>
>


> openSUSE 12.1
> 02:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
> Subsystem: Dell Wireless 1520 Half-size Mini PCIe Card [1028:000e]
> Kernel driver in use: brcmsmac
>
> 3.0.x kernel
> 2:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
> Kernel driver in use: bcma-pci-bridge
> Kernel modules: bcma
> 

There are some boot messages, but that’s about it…


> boot.msg:<6>   14.056151] bcma-pci-bridge 0000:02:00.0: PCI INT A ->  GSI 17 (level, low) ->  IRQ 17
> boot.msg:<7>   14.056350] bcma-pci-bridge 0000:02:00.0: setting latency timer to 64
> boot.msg:<6>   14.056439] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
> boot.msg:<6>   14.056609] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
> boot.msg:<6>   14.056809] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
> boot.msg:<6>   14.088141] bcma: Bus registered
> 

>
> Is just building a KMP of the brcm80211 staging modules enough, or is
> there a simpler solution?

Malcolm,

In later kernels, brcmsmac has been moved from staging to the
drivers/net/wireless tree, thus you can get the latest version of that driver
from the bleeding-edge compat-wireless source code. Building that on SLE will
give you even later and better drivers than the ones from openSUSE 12.1.

Larry

Hi Larry
Many thanks for the pointer :slight_smile: So if I follow the guide here to grab
the code?
http://linuxwireless.org/en/developers/Documentation/git-guide

Or is there a way to just grab the specific driver?

I have got to build as a KMP rpm now with a few tweaks to the
makefiles. Seems I needed to blacklist the bcma as well and it all fired
into life :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.9-1.4-desktop
up 0:06, 4 users, load average: 0.21, 0.43, 0.26
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On 02/08/2012 10:11 PM, malcolmlewis wrote:
> Hi Larry
> Many thanks for the pointer :slight_smile: So if I follow the guide here to grab
> the code?
> http://linuxwireless.org/en/developers/Documentation/git-guide
>
> Or is there a way to just grab the specific driver?

That gets you the entire wireless-testing kernel. If you get the file from
http://wireless.kernel.org/en/users/Download#Where_to_download_bleeding_edge
then you will get just the wireless drivers.

> I have got to build as a KMP rpm now with a few tweaks to the
> makefiles. Seems I needed to blacklist the bcma as well and it all fired
> into life :slight_smile:

OK, be aware that brcmsmac now uses bcma and that your blacklist trick will fail
for kernels after that switch was made.