New Broadcom board slow wifi

OK, so according to what I’ve seen online, the correct driver for the adapter, is wl. But it’s not in use here:

So all I can recommend is blacklisting the current module:

sudo echo "blacklist bcma-pci-bridge" > /etc/modprobe.d/bcma-pci-bridge.conf

And then, before restarting, installing the broadcom-wl-dkms from the community repository:

pamac install broadcom-wl-dkms

Very important is to ensure that during/at5 the end of the installation, no extra steps are given. If you’re unsure, provide the output here before restarting.

If no errors occurred, it should be safe to reboot.

It it’s still not working, post a

sudo inxi --admin --verbosity=7 --filter --no-host --width

…before uninstalling the drivers again.

If you need to have it working to do anything, just reverse the instructions for installing it:

Uninstall the broadcom-wl-dkms drivers:

pamac remove broadcom-wl-dkms

Unblacklist the bcma-pci-bridge driver:

sudo rm /etc/modprobe.d/bcma-pci-bridge.conf

…and rebooting. Then you should, again, be using the current driver which, as you say, is slow.

If you want to use wl on kernel 6.0 and don’t want to wait for the working version to migrate to stable branch, manual migration is possible.

The package is compatible and builds with 6.0 and older kernels.

Steps:

  1. install headers for kernels you have installed

For example

pamac install linux60-headers linux519-headers
  1. Download the specific version of the package

Choose a mirror from /etc/pacman.d/mirrorlist

Download these two files

unstable/community/x86_64/
    broadcom-wl-dkms-6.30.223.271-35-x86_64.pkg.tar.zst
    broadcom-wl-dkms-6.30.223.271-35-x86_64.pkg.tar.zst.sig
  1. Install the package
sudo pacman -U ./broadcom-wl-dkms-6.30.223.271-35-x86_64.pkg.tar.zst

EDIT - as of Stable update 2022-11-02, this workaround is no longer needed.

thankyou you for the copius amounts of info! i’ll try and make it work.

FYI my Blue tooth stopped working .

If you have a blue tooth, I suggest a dentist.

Couldn't resist. Also, it's bluetooth, BTW.

:smile: :innocent:

1 Like

I tried your fix and got the following
bash: /etc/modprobe.d/bcma-pci-bridge.conf: Permission denied

good one

That means the user you’re using don’t have permission to do it. Which I tried, and it worked. I suspect you forgot the sudo in front…

all i did was a copy paste…

will try again

davec@davec-notebookpc ~]$ sudo echo “blacklist bcma-pci-bridge” > /etc/modprobe.d/bcma-pci-bridge.conf
bash: /etc/modprobe.d/bcma-pci-bridge.conf: Permission denied

this is what happened

:confused: :thinking:

Try the following:

  1. Enter a root environment in the terminal:
su -

Use your root password to authenticate when requested.

  1. If successfully authenticated, run the command from within the root terminal:
echo “blacklist bcma-pci-bridge” > /etc/modprobe.d/bcma-pci-bridge.conf

The sudo part shouldn’t be necessary.

:bangbang::bangbang: Be extremely careful in the root terminal, as there is the very real danger of breaking you system completely :bangbang::bangbang:


:bangbang: Tip:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

i tried to build it like you said but I must be missing or not understanding some of the steps

If you provide output for the following, I can tailor steps 1 and 2 to your setup.

mhwd-kernel -li
head -20 /etc/pacman.d/mirrorlist

Howdy Mirdarthos
I was able to backlist the “bcma-pci-bridge” and then do the “pamac install broadcom-wl-dkms”. I’m back to having to select the kernel i want to boot with and all goes well and back to working properly including my acking Bluetooth :grinning: . When I reboot without first selecting a kernel I go back to no Wifi or Bluetooth but whats weird is the led on the function button(F12) is lite like the Wifi is working but the Icons in the tray show nothing.

Go figure

[davec@davec-notebookpc ~]$ sudo inxi --admin --verbosity=7 --filter --no-host --width
[sudo] password for davec: 
System:
  Kernel: 5.15.74-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: initrd=\amd-ucode.img initrd=\initramfs-5.15-x86_64.img
    root=UUID=15ae93bd-7aa0-4cb5-b394-1834c590a474 rw
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
    v: 4.16.1 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion g6 Notebook PC
    v: 088B110000305910000620100 serial: <filter> Chassis: type: 10 serial: N/A
  Mobo: Hewlett-Packard model: 1849 v: 57.35 serial: <filter> UEFI: Insyde
    v: F.26 date: 02/21/2013
Battery:
  ID-1: BAT0 charge: 30.1 Wh (100.0%) condition: 30.1/30.1 Wh (100.0%)
    volts: 12.3 min: 10.8 model: Hewlett-Packard Primary type: Li-ion
    serial: N/A status: full
Memory:
  RAM: total: 7.24 GiB used: 1.81 GiB (25.0%)
  Array-1: capacity: 8 GiB slots: 2 EC: None max-module-size: 4 GiB
    note: est.
  Device-1: Bottom-Slot 1(top) type: DDR3 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: spec: 1600 MT/s actual: 800 MT/s
    volts: N/A width (bits): data: 64 total: 64 manufacturer: Ramaxel
    part-no: RMT3160ED58E9W1600 serial: <filter>
  Device-2: Bottom-Slot 2(under) type: DDR3 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: spec: 1600 MT/s actual: 800 MT/s
    volts: N/A width (bits): data: 64 total: 64
    manufacturer: A-DATA Technology part-no: AM1U16BC4P2-B19H serial: <filter>
CPU:
  Info: model: AMD A4-4300M APU with Radeon HD Graphics socket: FS1 (FT1)
    note: check bits: 64 type: MT MCP arch: Piledriver level: v2 built: 2012-13
    process: GF 32nm family: 0x15 (21) model-id: 0x10 (16) stepping: 1
    microcode: 0x6001119
  Topology: cpus: 1x cores: 2 smt: enabled cache: L1: 96 KiB desc: d-2x16
    KiB; i-1x64 KiB L2: 1024 KiB desc: 1x1024 KiB
  Speed (MHz): avg: 2150 high: 2500 min/max: 1400/2500 boost: enabled
    base/boost: 2500/2500 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 1800 2: 2500 bogomips: 9985
  Flags: 3dnowprefetch abm aes aperfmperf apic arat avx bmi1 clflush cmov
    cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists
    extapic extd_apicid f16c flushbyasid fma fma4 fpu fxsr fxsr_opt ht
    hw_pstate ibs lahf_lm lbrv lm lwp mca mce misalignsse mmx mmxext monitor
    msr mtrr nodeid_msr nonstop_tsc nopl npt nrip_save nx osvw pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_nb pfthreshold pge pni
    popcnt pse pse36 rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 svm svm_lock syscall tbm tce topoext tsc tsc_scale vmcb_clean
    vme vmmcall wdt xop xsave
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Trinity 2 [Radeon HD 7420G] vendor: Hewlett-Packard
    driver: radeon v: kernel arch: TeraScale-3 code: Northern Islands
    process: TSMC 32nm built: 2010-13 ports: active: LVDS-1
    empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:9992 class-ID: 0300
  Device-2: Chicony HP Truevision HD type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 04f2:b34f class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
    loaded: radeon unloaded: modesetting alternate: fbdev,vesa dri: r600
    gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: LVDS-1 mapped: LVDS model: AU Optronics 0x22ec built: 2011
    res: 1366x768 hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") ratio: 16:9 modes: max: 1366x768 min: 640x480
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: AMD Trinity HDMI Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:01.1 chip-ID: 1002:9902
    class-ID: 0403
  Device-2: AMD FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
  Sound API: ALSA v: k5.15.74-3-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.58 running: yes
Network:
  Device-1: Broadcom BCM43228 802.11a/b/g/n driver: wl v: kernel modules: bcma
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 14e4:4359
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 05:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  IF-ID-1: pan1 state: down mac: <filter>
  IP v4: <filter> scope: global
  WAN IP: <filter>
Bluetooth:
  Device-1: Broadcom HP Portable Bumble Bee type: USB driver: btusb v: 0.8
    bus-ID: 4-4:3 chip-ID: 0a5c:21f1 class-ID: fe01 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 223.57 GiB used: 85.47 GiB (38.2%)
  ID-1: /dev/sda maj-min: 8:0 vendor: PNY model: CS900 240GB SSD
    family: Driven SSDs size: 223.57 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.2 speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: 0613 temp: 33 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 143d 10h cycles: 440
    written: 3500 GiB
  Optical-1: /dev/sr0 vendor: hp model: DVDRAM GT50N rev: MP01
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 223.27 GiB size: 218.71 GiB (97.96%) used: 85.32 GiB
    (39.0%) fs: ext4 block-size: 4096 B dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 15ae93bd-7aa0-4cb5-b394-1834c590a474
  ID-2: /boot raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 153 MiB
    (51.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
    label: NO_LABEL uuid: CF77-56F6
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 77.2 MiB (1.9%) priority: -2
    file: /swapfile
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 5 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-3:2 info: Chicony HP Truevision HD type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 04f2:b34f class-ID: 0e02 serial: <filter>
  Hub-2: 2-0:1 info: Full speed or root hub ports: 5 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-3: 3-0:1 info: Full speed or root hub ports: 5 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-4: 4-0:1 info: Full speed or root hub ports: 5 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 4-4:3 info: Broadcom HP Portable Bumble Bee type: Bluetooth
    driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 0a5c:21f1
    class-ID: fe01 serial: <filter>
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-7: 7-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-8: 8-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 56.2 C mobo: N/A gpu: radeon temp: 48.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 188 Uptime: 28m wakeups: 1 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 11
  clang: 14.0.6 Packages: 1469 pm: pacman pkgs: 1451 libs: 422 tools: pamac
  pm: flatpak pkgs: 12 pm: snap pkgs: 6 Shell: Bash (sudo) v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.22
[davec@davec-notebookpc ~]$ 

Howdy Mishmosh
hope the following info you requested is useful

davec@davec-notebookpc ~]$ mhwd-kernel -li
head -20 /etc/pacman.d/mirrorlist
Currently running: 5.15.74-3-MANJARO (linux515)
The following kernels are installed in your system:
   * linux510
   * linux515
   * linux60
##
## Manjaro Linux default mirrorlist
## Generated on 2022-10-21 07:14
##
## Please use 'pacman-mirrors -f [NUMBER] [NUMBER]' to modify mirrorlist
## (Use 0 for all mirrors)
##

## Country : Sweden
Server = https://ftpmirror1.infania.net/mirror/manjaro/stable/$repo/$arch

## Country : Turkey
Server = http://ftp.linux.org.tr/manjaro/stable/$repo/$arch

## Country : United_Kingdom
Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch

## Country : Poland
Server = https://repo.skni.umcs.pl/manjaro/stable/$repo/$arch

[davec@davec-notebookpc ~]$ 

That might be because your grub doesn’t boot the last used kernel, which would be the working one, but the latest kernel, which is version 6. I’d need the output of

uname -r

…from both the working, as well as the non-working boots to confirm/deny that theory.

Your custom steps, to get broadcom-wl-dkms working on kernel 6.0:

  1. install headers for kernels you have installed
pamac install linux510-headers linux515-headers linux60-headers 
  1. Download the newer version of the package broadcom-wl-dkms
curl --remote-name "https://ftpmirror1.infania.net/mirror/manjaro/unstable/community/x86_64/broadcom-wl-dkms-6.30.223.271-35-x86_64.pkg.tar.zst"

curl --remote-name "https://ftpmirror1.infania.net/mirror/manjaro/unstable/community/x86_64/broadcom-wl-dkms-6.30.223.271-35-x86_64.pkg.tar.zst.sig"
  1. Install the package
sudo pacman -U ./broadcom-wl-dkms-6.30.223.271-35-x86_64.pkg.tar.zst

EDIT - the steps can be run on any of the three kernels, but steps 1 and 2 need working internet,

EDIT 2 - as of Stable update 2022-11-02, this workaround is no longer needed.

This is when I had selected the Kernel to boot(F12)

davec@davec-notebookpc ~]$ uname -r
5.15.74-3-MANJARO

This is a reboot without selecting the kernel

[davec@davec-notebookpc ~]$ uname -r
6.0.2-2-MANJARO

You are right!!!

Howdy Mishmosh
Your custom code worked great, I was able to build a working driver that worked with the 6.02 kernel. I now have working high speed Wifi on 2.4 and 5g and BT to boot with 25+ft range. I works even after multiple boots without having to select a kernal.Not bad for a $10 board.

1 Like

I really appreciate the help of crew on this problem. Mirdarthos, Mishmosh and j8a all gave good direction and I was able to learn some new things to put in to my tool box for later use. I ended up having two different fixes I could have gone with, being able to build a fix to use with the new kernel was what I ended up going with.

Than you all for your hard work
Dave C

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.