Bug 13976

Summary: drakhardware installs incorrect driver for Broadcom BCM43228 Wi-Fi card
Product: Mageia Reporter: Nikita Krupenko <krnekit>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: eeeemail, juergen.harms, mageia, megastorage, tadej.panjtar, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: ldetect-lst CVE:
Status comment:
Attachments: lspcidrake output
dmesg log

Description Nikita Krupenko 2014-08-23 18:29:32 CEST
Description of problem:
I have laptop with Broadcom BCM43228 Wi-Fi. In Cauldron (I hadn't tried earlier releases with this PC) my Wi-Fi is not working. I launched drakhardware and it suggested to install bunch of packets, one of them was broadcom-bcma-config. After install I started draknetcenter. The wireless card displayed properly, but when I click on it, I see the following error: "Unable to find network interface for selected device (using bcma driver)" and no available networks was in the list.
After doing some research, I decided to try broadcom-wl driver. I installed broadcom-wl-kernel-desktop-latest package which also removed broadcom-bcma-config because of conflict. After this I've got my Wi-Fi working! And now drakhardware suggests me to install dkms-broadcom-wl, so maybe it can choose proper driver in some situations.
May be b43 or other driver also works with my card, but I have not tried yet. 

Version-Release number of selected component (if applicable):
16.39-1.mga5

Steps to Reproduce:
1. Install Cauldron on machine with Broadcom BCM43228 Wi-Fi
2. Launch drakhardware
3. Install what it suggests
4. Launch draknetcenter: Wi-Fi interface should not work


Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2014-08-25 08:32:16 CEST
What's the output of lspcidrake -v?
(attach it, do not paste it).

eg; run "lspcidrake -v > /tmp/bcm.txt" then attach the /tmp/bcm.txt file

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud, tmb
Source RPM: drakxtools-16.39-1.mga5.src.rpm => ldetect-lst

Comment 2 Nikita Krupenko 2014-08-25 13:26:56 CEST
Created attachment 5364 [details]
lspcidrake output

Hi! Added ouput of lspci.
Thierry Vignaud 2014-08-25 13:33:45 CEST

Attachment 5364 description: lspci output => lspcidrake output

Comment 3 stephane FLAVIGNY 2014-10-14 22:26:38 CEST
Dear,

I have the same problem with MGA4 and cauldron.

After fresh install:

[root@localhost ~]# lspcidrake -v |grep BCM43228
bcma              : Broadcom Corporation|BCM43228 802.11a/b/g/n [NETWORK_OTHER] (vendor:14e4 device:4359 subv:1028 subd:0011

Drakcenter have a message: Not possible to use the selectionned card with the actual driver ( bcma driver).

After manual installation of dkms-broadcom-wl:

[root@localhost ~]# lspcidrake -v |grep BCM43228
wl              : Broadcom Corporation|BCM43228 802.11a/b/g/n [NETWORK_OTHER] (vendor:14e4 device:4359 subv:1028 subd:001

For MGA4:
[root@localhost ~]# rpm -qa |grep broadcom
broadcom-wl-kernel-3.14.18-server-3.mga4-6.30.223.141-38.mga4.nonfree
broadcom-wl-kernel-3.14.18-desktop-3.mga4-6.30.223.141-38.mga4.nonfree
broadcom-wl-kernel-server-latest-6.30.223.141-38.mga4.nonfree
broadcom-wl-common-6.30.223.141-2.mga4.nonfree
broadcom-wl-kernel-desktop-latest-6.30.223.141-38.mga4.nonfree
dkms-broadcom-wl-6.30.223.141-2.mga4.nonfree
[root@localhost ~]# 

Drakcenter can detect wirelless without problem, and the wireless card work correctly.

As written in the errata.

Stephane.

CC: (none) => megastorage

Comment 4 Sander Lepik 2015-03-09 13:33:15 CET
*** Bug 8169 has been marked as a duplicate of this bug. ***

CC: (none) => juergen.harms

Comment 5 Sander Lepik 2015-03-09 13:36:14 CET
It seems that most of the BCM43228 hardware needs wl driver.

I'm adding my info as well (wl driver works on mga4 and on cauldron, bcma doesn't):

(vendor:14e4 device:4359 subv:14e4 subd:05e2)

Keywords: NEEDINFO => (none)
CC: (none) => mageia
Assignee: bugsquad => tmb

Comment 6 Thomas Backlund 2015-03-09 14:07:57 CET
iirc they should work with the in-kernel driver, but there might be some missing firmware... could any of you test without the wl driver and check the logs for a firmware not found message...
Comment 7 Sander Lepik 2015-03-09 15:48:40 CET
I reinstalled broadcom-bcma-config which removed wl driver, but I can't see anything about missing firmware. It just doesn't do anything. So either something else is missing or it just doesn't work with in-kernel driver :/
Comment 8 Sander Lepik 2015-03-10 10:28:34 CET
According to this webpage (https://wireless.wiki.kernel.org/en/users/drivers/brcm80211) BCM43228 seems to be unsupported by those drivers. So the only option seems to be wl driver.
Comment 9 Thomas Backlund 2015-03-10 10:37:20 CET
Ah, indeed, they have updated that page since I last visited it, I will update ldetect-lst to match...
Comment 10 Thomas Backlund 2015-03-10 20:23:48 CET
Actually I forgot that b43 is the one supporting that hw since 3.17
https://wireless.wiki.kernel.org/en/users/drivers/b43#list_of_hardware

the only problem is that it needs fw-cutter to extract firmware from windows drivers as there is no official site that allows sharing the b43/* firmwares

So I guess we should allow wl to be installed on those for better oob experience
Comment 11 Sander Lepik 2015-03-10 20:29:05 CET
Yeah, I prefer wl driver too. Hopefully it will be supported by in-kernel driver soon enough. I'm not a fan for stuff like wl driver, but currently it seems to be our best option.
Comment 12 Sander Lepik 2015-03-12 08:22:27 CET
Is it possible to get this change in before RC release or is it already too late?
claire robinson 2015-03-12 12:40:16 CET

CC: (none) => eeeemail

Comment 13 Mageia Robot 2015-03-14 23:30:13 CET
commit 2ce34cb054b5a59215ed65e490cf52772eea43d2
Author: Thomas Backlund <tmb@...>
Date:   Sun Mar 15 00:25:27 2015 +0200

    use wl driver for BCM43228 (mga#13976)
---
 Commit Link:
   http://gitweb.mageia.org/software/ldetect-lst/commit/?id=2ce34cb054b5a59215ed65e490cf52772eea43d2
Comment 14 Tadej Panjtar 2015-04-26 22:50:56 CEST
Tested and still not working with RC and those packets
broadcom-wl-common-6.30.223.248-2.mga5.nonfree.x86_64.rpm
broadcom-wl-kernel-3.19.4-desktop-2.mga5-6.30.223.248-24.mga5.nonfree.x86_64.rpm

CC: (none) => tadej.panjtar

Comment 15 Tadej Panjtar 2015-05-24 16:00:24 CEST
Solemnly declare that the module now works fine despite some errors in logs.
Instalation was made today via netinst.

[root@localhost ~]# lsmod |grep wl
wl                   6363477  0
cfg80211              534762  1 wl
[root@localhost ~]# rpm -qa |grep broad
dkms-broadcom-wl-6.30.223.248-2.mga5.nonfree
broadcom-wl-common-6.30.223.248-2.mga5.nonfree

$ lspcidrake
wl              : Broadcom Corporation|BCM43228 802.11a/b/g/n [NETWORK_OTHER]

Best regards,
  Tadej Panjtar

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 16 Tadej Panjtar 2015-05-24 16:06:53 CEST
Created attachment 6633 [details]
dmesg log