Bug 20634

Summary: harddrake selects broadcom-wl driver instead of b43 for the BCM43228 Wi-Fi
Product: Mageia Reporter: Nikita Krupenko <krnekit>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: mageiatools, marja11, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: ldetect-lst, broadcom-wireless-config CVE:
Status comment:
Attachments: fix driver for a broadcom card (mga#20634)

Description Nikita Krupenko 2017-04-05 13:38:40 CEST
Description of problem:
I have a laptop with the Broadcom Limited BCM43228 802.11a/b/g/n network controller.

broadcom-wl driver works quite bad with my Wi-Fi: seems, it cannot properly control the power of the transmitter.

But there is already another driver in the repository - b43. I had already b43-fwcutter package installed and I only need to install b43-firmware-install package (I also have b43-openfwwf package installed, but seems it doesn't required). After that, b43 driver works fine, much better than broadcom-wl.


Version-Release number of selected component (if applicable): 17.77-1.mga6
Rémi Verschelde 2017-04-05 13:50:12 CEST

CC: (none) => mageiatools
Assignee: bugsquad => kernel

Comment 1 Thierry Vignaud 2017-04-05 14:15:51 CEST
The issue likely is in ldetect-lst & broadcom-wireless-config.
What's the output of "lspcidrake -v|grep -i broadcom" ?

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud, tmb
Source RPM: drakxtools-17.77-1.mga6.src.rpm => ldetect-lst, broadcom-wireless-config

Comment 2 Nikita Krupenko 2017-04-05 14:22:53 CEST
wl              : Broadcom Limited|BCM43228 802.11a/b/g/n [NETWORK_OTHER] (vendor:14e4 device:4359 subv:105b subd:e04b)
btusb           : Broadcom Corp|BCM20702A0 (vendor:0489 device:e046)
Comment 3 Thierry Vignaud 2017-04-05 15:52:29 CEST
Please install broadcom-bcma-config then reboot.
Does it work better?
Comment 4 Nikita Krupenko 2017-04-06 06:40:16 CEST
I installed. What should change?
Comment 5 Thierry Vignaud 2017-04-06 06:45:12 CEST
"lspcidrake -v|grep -i broadcom" output should be different and so if you use drakx-net it should uses a new driver for this network device
Comment 6 Nikita Krupenko 2017-04-06 06:59:39 CEST
I checked. No, the output is the same.

Well, there is a change: I have no Wi-Fi now.

$ cat /etc/modprobe.d/broadcom-bcma-blacklist.conf
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist wl

I used b43 driver and now it's blacklisted.
Comment 7 Thierry Vignaud 2017-04-06 07:09:54 CEST
Created attachment 9190 [details]
fix driver for a broadcom card (mga#20634)

if your testing is OK, here's the change we need
Comment 8 Nikita Krupenko 2017-04-06 07:35:50 CEST
Why bcma?
Comment 9 Thierry Vignaud 2017-04-06 09:26:49 CEST
(In reply to Nikita Krupenko from comment #6)
Sorry, try installing "broadcom-ssb-config" instead then
Comment 10 Nikita Krupenko 2017-04-06 09:44:43 CEST
I installed broadcom-ssb-config, and no wi-fi device (broadcom-bcma-config not installed).

$ cat /etc/modprobe.d/broadcom-ssb-blacklist.conf
blacklist bcma
blacklist brcmsmac
blacklist wl
Comment 11 Marja Van Waes 2017-04-08 16:35:04 CEST
This comment got lost, re-adding:

https://bugs.mageia.org/show_bug.cgi?id=20634

--- Comment #11 from Thierry Vignaud <thierry.vignaud@gmail.com> ---
Did you tried rebooting after installing broadcom-ssb-config?

CC: (none) => marja11

Comment 12 Marja Van Waes 2017-04-08 16:41:06 CEST
Comment on attachment 9190 [details]
fix driver for a broadcom card (mga#20634)

@ Thierry,

The new attachment got lost, too, just like *your* comment 12

https://bugs.mageia.org/show_bug.cgi?id=20634

Thierry Vignaud <thierry.vignaud@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9190 [details]|0                           |1
        is obsolete|                            |

--- Comment #12 from Thierry Vignaud <thierry.vignaud@gmail.com> ---
Created attachment 9191 [details]
  --> https://bugs.mageia.org/attachment.cgi?id=9191&action=edit
fix driver for a broadcom card (mga#20634)

Attachment 9190 is obsolete: 0 => 1

Comment 13 Nikita Krupenko 2017-04-08 16:54:37 CEST
Yes, I tried to reboot - no Wi-Fi.

I removed config and Wi-Fi device is available and works (b43 firmware is installed).

dmesg:
[   34.865479] b43-phy0: Broadcom 43228 WLAN found (core revision 30)
[   34.865901] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 16
[   34.865909] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2057, Revision 9, Version 1
[   34.866397] Broadcom 43xx driver loaded [ Features: PNLS ]
[   34.951916] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   34.957023] b43 bcma0:1 wlp4s0b1: renamed from wlan0

$ sudo lsmod | grep b43
b43                   442368  0
mac80211              663552  1 b43
cfg80211              577536  2 b43,mac80211
ssb                    69632  1 b43
rng_core               16384  1 b43
bcma                   57344  1 b43
mmc_core              139264  4 b43,sdhci,ssb,sdhci_pci

Seems, bcma driver active which also use b43. So, may be broadcom-bcma-config shouldn't blacklist b43?
Marja Van Waes 2017-04-09 06:48:37 CEST

Keywords: NEEDINFO => (none)