Broadcom-wl-dkms | newbie question

Hi there! New to manjaro, but this community made me wanted to give it a try, so I thought I’d see if someone could help me with a problem I’m having.

I am trying to install broadcom drivers and have been following this guide:

broadcom-wifi-driver-fails-to-install-properly

but when I get to:

sudo pacman -S broadcom-wl-dkms

I get the following error:

==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
:: Processing package changes...
(1/1) reinstalling linux54-headers                                                                   [############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> ERROR: Missing 5.4.181-2-MANJARO kernel modules tree for module broadcom-wl/6.30.223.271.

I’m not sure why it’s looking for 5.4.181-2-MANJARO, I am on 5.15 and have the headers downloaded. I tried to download the 5.4 headers but that did not resolve the problem either.

If someone could point me in the right direction, it would be greatly appreciated!

Thanks!

Aj

It would be helpful if you told us which broadcom chip that you would like to install the driver for. Please read the following and provide a complete inxi output:

Sure!

The network device is as follows:

Network:
  Device-1: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple driver: N/A bus-ID: 03:00.0

Here is the rest in case it helps.

System:
  Host: stealth Kernel: 5.15.25-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
    Console: pty pts/0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookPro14,3 v: 1.0 serial: 
  Mobo: Apple model: Mac-551B86E5744E2388 v: MacBookPro14,3 serial: 
    UEFI: Apple v: 429.140.8.0.0 date: 06/13/2021
Battery:
  ID-1: BAT0 charge: 65.0 Wh (97.9%) condition: 66.4/76.7 Wh (86.6%) volts: 13.0 min: 11.5
    model: SMP bq20z451 status: Charging
  Device-1: apple_mfi_fastcharge model: N/A charge: N/A status: N/A
CPU:
  Info: quad core model: Intel Core i7-7820HQ bits: 64 type: MT MCP arch: Kaby Lake rev: 9 cache:
    L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 800 min/max: 800/3900 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800
    7: 800 8: 800 bogomips: 46419
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] vendor: Apple
    driver: amdgpu v: kernel bus-ID: 01:00.0
  Display: server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0 driver: gpu: amdgpu
    note:  X driver n/a tty: 168x30 resolution: 2880x1800
  Message: GL data unavailable in console for root.
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3
  Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X] driver: snd_hda_intel
    v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.15.25-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.47 running: no
Network:
  Device-1: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple driver: N/A bus-ID: 03:00.0
  Device-2: TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] type: USB
    driver: r8152 bus-ID: 4-1.2:3
  IF: enp7s0u1u2 state: up speed: 1000 Mbps duplex: full mac: 50:3e:aa:df:3f:f9
Drives:
  Local Storage: total: 465.92 GiB used: 9.72 GiB (2.1%)
  ID-1: /dev/nvme0n1 vendor: Apple model: SSD SM0512L size: 465.92 GiB temp: 27.9 C
Partition:
  ID-1: / size: 457.04 GiB used: 9.71 GiB (2.1%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 510.9 MiB used: 4.6 MiB (0.9%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 27.2 C mobo: N/A gpu: amdgpu temp: 38.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 252 Uptime: 3m Memory: 15.53 GiB used: 849.3 MiB (5.3%) Init: systemd Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: 1139 Shell: Bash v: 5.1.16 inxi: 3.3.13

Thanks!

Why not remove 5.4 if you don’t need it? Afterwards it should automatically install the driver for 5.15.

#check kernel version
#make sure you don't remove a active kernel
uname -r 

#remove 5.4
sudo mhwd-kernel -r linux54

#make sure your system is fully up to date
sudo pacman-mirrors -f 5 && sudo pacman -Syyu

#automatically install the Linux headers packages for all installed kernels
sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

#install the "broadcom-wl-dkms" driver package
sudo pacman -S dkms broadcom-wl-dkms

#reboot

Thank you for the response!

I reran these steps, but sadly with the same result. I’m not savvy enough with Arch to understand where the broadcom-wl-dkms is trying to pull in 5.4.184-1-MANJARO. So again, any help would be greatly appreciated!

Below is the output from reinstalling the headers on.

warning: linux515-headers-5.15.28-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux515-headers-5.15.28-1

Total Installed Size:  132.04 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                       [############################################################] 100%
(1/1) checking package integrity                                                                     [############################################################] 100%
(1/1) loading package files                                                                          [############################################################] 100%
(1/1) checking for file conflicts                                                                    [############################################################] 100%
(1/1) checking available disk space                                                                  [############################################################] 100%
:: Running pre-transaction hooks...
(1/2) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod broadcom-wl/6.30.223.271 -k 5.15.28-1-MANJARO
:: Processing package changes...
(1/1) reinstalling linux515-headers                                                                  [############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 5.15.28-1-MANJARO
==> depmod 5.15.28-1-MANJARO
    ~  sudo pacman -S dkms broadcom-wl-dkms                                                                                           ✔ 
warning: dkms-3.0.3-1 is up to date -- reinstalling
warning: broadcom-wl-dkms-6.30.223.271-28 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) broadcom-wl-dkms-6.30.223.271-28  dkms-3.0.3-1

Total Installed Size:  7.71 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring                                                                       [############################################################] 100%
(2/2) checking package integrity                                                                     [############################################################] 100%
(2/2) loading package files                                                                          [############################################################] 100%
(2/2) checking for file conflicts                                                                    [############################################################] 100%
(2/2) checking available disk space                                                                  [############################################################] 100%
:: Running pre-transaction hooks...
(1/2) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod broadcom-wl/6.30.223.271 -k 5.15.28-1-MANJARO
:: Processing package changes...
(1/2) reinstalling dkms                                                                              [############################################################] 100%
(2/2) reinstalling broadcom-wl-dkms                                                                  [############################################################] 100%

Unload and load kernel modules (wl is provided by broadcom-wl-dkms):

  rmmod b43 b43legacy bcm43xx bcma brcm80211 brcmfmac brcmsmac ssb tg3 wl
  modprobe wl

:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 5.15.28-1-MANJARO
==> depmod 5.15.28-1-MANJARO
==> ERROR: Missing 5.4.184-1-MANJARO kernel modules tree for module broadcom-wl/6.30.223.271.

Did you remove 5.4 kernel and boot into 5.15?

Yes.

To be accurate, it said I did not actually have linux54 installed, but that step was executed.

Error: Kernel not installed.
Currently running: 5.15.28-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux515

And I rebooted afterwards.

It would seem that the broadcom-dkms-wl script is bringing in the 5.4 reference but I don’t know how to verify that.

Do you have dkms installed? The only dependency that I see in Arch PKGBUILD is dkms.
Screenshot_2022-03-14_14-18-39
Then install broadcom-wl-dkms from the oficial/community repository using pamac GUI or via terminal.

It says it’s installed (my understanding is it comes with the headers).

When I try dkms or dkms --list it definitely executes the command.

I guess I’ll keep digging. I appreciate the time you have taken!

Try this topic: [root tip] Kernel - Headers - DKMS

I had issues with my Lenovo and it’s drivers.
After Headers and DKMS are installed, install the driver