You are not logged in.

#1 2024-03-05 12:39:44

Ciceje
Member
Registered: 2024-03-05
Posts: 3

Broadcom WIFI drivers not working properly

Hi,

I just installed Arch on an old laptop. I can setup WIFI fine before and during Archinstall, but can't get any after Arch is fully installed.

My laptop is a TOSHIBA SATELLITE C70D-B-32V, and the nework controller is

Network controller : Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

I have followed this page of the Arch wiki : https://wiki.archlinux.org/title/broadcom_wireless

I have installed broadcom-wl package several times, but I can't scan any network WIFI, Ethernet works fine.

uname -a
Linux arch-pc 6.7.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 03 Mar 2024 00:30:36 +0000 x86_64 GNU/Linux
pacman -Qlkk broadcom-wl
broadcom-wl /usr/
broadcom-wl /usr/lib/
broadcom-wl /usr/lib/modprobe.d/
broadcom-wl /usr/lib/modprobe.d/broadcom-wl.conf
broadcom-wl /usr/lib/modules/
broadcom-wl /usr/lib/modules/6.7.8-arch1-1/
broadcom-wl /usr/lib/modules/6.7.8-arch1-1/extramodules/
broadcom-wl /usr/lib/modules/6.7.8-arch1-1/extramodules/wl.ko.xz
broadcom-wl /usr/share/
broadcom-wl /usr/share/licenses/
broadcom-wl /usr/share/licenses/broadcom-wl/
broadcom-wl /usr/share/licenses/broadcom-wl/LICENSE
broadcom-wl: 12 total files, 0 altered files
modinfo wl | head
filename:       /lib/modules/6.7.8-arch1-1/extramodules/wl.ko.xz
license:        MIXED/Proprietary
srcversion:     EA840053BF27E881F3BC3B8
alias:          pci:v*d*sv*sd*bc02sc80i*
depends:        cfg80211
retpoline:      Y
name:           wl
vermagic:       6.7.8-arch1-1 SMP preempt mod_unload 
parm:           passivemode:int
parm:           wl_txq_thresh:int
lsmod
Module                  Size  Used by
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
amdgpu              13352960  0
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
gpu_sched              65536  1 amdgpu
drm_buddy              20480  1 amdgpu
kvm_amd               204800  0
joydev                 24576  0
mousedev               24576  0
kvm                  1376256  1 kvm_amd
irqbypass              12288  1 kvm
snd_hda_codec_realtek   200704  1
btusb                  86016  0
crct10dif_pclmul       12288  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
btrtl                  32768  1 btusb
ledtrig_audio          12288  1 snd_hda_codec_generic
uvcvideo              176128  0
snd_hda_codec_hdmi     94208  1
btintel                57344  1 btusb
crc32_pclmul           12288  0
videobuf2_vmalloc      20480  1 uvcvideo
btbcm                  24576  1 btusb
snd_hda_intel          65536  2
uvc                    12288  1 uvcvideo
snd_intel_dspcfg       40960  1 snd_hda_intel
polyval_clmulni        12288  0
btmtk                  12288  1 btusb
wl                   6512640  0
radeon               2076672  47
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
videobuf2_memops       16384  1 videobuf2_vmalloc
polyval_generic        12288  1 polyval_clmulni
videobuf2_v4l2         40960  1 uvcvideo
snd_hda_codec         225280  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
gf128mul               16384  1 polyval_generic
ghash_clmulni_intel    16384  0
videodev              393216  2 videobuf2_v4l2,uvcvideo
i2c_algo_bit           20480  2 amdgpu,radeon
bluetooth            1114112  6 btrtl,btmtk,btintel,btbcm,btusb
snd_hda_core          151552  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
sha512_ssse3           53248  0
r8169                 114688  0
sha256_ssse3           32768  0
drm_suballoc_helper    12288  2 amdgpu,radeon
sha1_ssse3             32768  0
snd_hwdep              20480  1 snd_hda_codec
aesni_intel           360448  0
drm_ttm_helper         12288  2 amdgpu,radeon
ecdh_generic           16384  1 bluetooth
videobuf2_common       94208  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
crypto_simd            16384  1 aesni_intel
wmi_bmof               12288  0
realtek                40960  1
cryptd                 28672  2 crypto_simd,ghash_clmulni_intel
snd_pcm               204800  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
psmouse               233472  0
acpi_cpufreq           32768  0
mc                     90112  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ttm                   110592  3 amdgpu,radeon,drm_ttm_helper
mdio_devres            12288  1 r8169
pcspkr                 12288  0
fam15h_power           12288  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
cfg80211             1343488  1 wl
drm_display_helper    229376  2 amdgpu,radeon
vfat                   20480  1
sp5100_tco             20480  0
cec                    86016  1 drm_display_helper
fat                   106496  1 vfat
snd                   159744  16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
toshiba_acpi           94208  0
i2c_piix4              32768  0
k10temp                16384  0
libphy                233472  3 r8169,mdio_devres,realtek
soundcore              16384  1 snd
sparse_keymap          12288  1 toshiba_acpi
toshiba_bluetooth      20480  0
ccp                   163840  1 kvm_amd
rfkill                 40960  8 toshiba_acpi,toshiba_bluetooth,bluetooth,cfg80211
i2c_scmi               16384  0
industrialio          135168  1 toshiba_acpi
video                  77824  3 toshiba_acpi,amdgpu,radeon
wmi                    45056  3 video,toshiba_acpi,wmi_bmof
mac_hid                12288  0
pkcs8_key_parser       12288  0
i2c_dev                28672  0
crypto_user            20480  0
loop                   40960  0
fuse                  212992  3
dm_mod                225280  0
nfnetlink              20480  1
zram                   45056  2
ip_tables              36864  0
x_tables               69632  1 ip_tables
ext4                 1171456  1
crc32c_generic         12288  0
crc16                  12288  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  221184  1 ext4
serio_raw              16384  0
rtsx_pci_sdmmc         32768  0
atkbd                  40960  0
libps2                 20480  2 atkbd,psmouse
mmc_core              274432  1 rtsx_pci_sdmmc
vivaldi_fmap           12288  1 atkbd
crc32c_intel           16384  2
sr_mod                 28672  0
cdrom                  81920  1 sr_mod
xhci_pci               28672  0
rtsx_pci              131072  1 rtsx_pci_sdmmc
xhci_pci_renesas       24576  1 xhci_pci
i8042                  53248  1 toshiba_acpi
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Root Complex
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 05)
        Subsystem: Toshiba Corporation Mullins [Radeon R4/R5 Graphics]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Toshiba Corporation Kabini HDMI/DP Audio
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
        Subsystem: Toshiba Corporation Family 16h Processor Functions 5:1
        Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
        Subsystem: Toshiba Corporation Family 16h Processor Functions 5:1
        Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
        Subsystem: Toshiba Corporation Family 16h Processor Functions 5:1
        Kernel driver in use: pcieport
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Kabini/Mullins PSP-Platform Security Processor
        Subsystem: Advanced Micro Devices, Inc. [AMD] Kabini/Mullins PSP-Platform Security Processor
        Kernel driver in use: ccp
        Kernel modules: ccp
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 11)
        Subsystem: Toshiba Corporation FCH USB XHCI Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
        Subsystem: Toshiba Corporation FCH SATA Controller [AHCI mode]
        Kernel driver in use: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
        Subsystem: Toshiba Corporation FCH USB EHCI Controller
        Kernel driver in use: ehci-pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
        Subsystem: Toshiba Corporation FCH USB EHCI Controller
        Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 42)
        Subsystem: Toshiba Corporation FCH SMBus Controller
        Kernel modules: i2c_piix4, sp5100_tco
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
        Subsystem: Toshiba Corporation FCH Azalia Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
        Subsystem: Toshiba Corporation FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 3
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 4
        Kernel driver in use: fam15h_power
        Kernel modules: fam15h_power
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h (Models 30h-3fh) Processor Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
        Subsystem: Toshiba Corporation RTL810xE PCI Express Fast Ethernet controller
        Kernel driver in use: r8169
        Kernel modules: r8169
05:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
        Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n
        Kernel driver in use: wl
        Kernel modules: wl
06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
        Subsystem: Toshiba Corporation RTS5229 PCI Express Card Reader
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:8c:fa:87:7c:8e brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.21/24 brd 192.168.1.255 scope global dynamic noprefixroute enp1s0
       valid_lft 42899sec preferred_lft 42899sec
    inet6 2a01:e0a:18e:6770:87b7:43a7:9893:19a7/64 scope global dynamic noprefixroute 
       valid_lft 86303sec preferred_lft 86303sec
    inet6 fe80::1c27:c738:8e9f:c0bc/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT group default qlen 1000
    link/ether 72:98:7c:cc:f7:b0 brd ff:ff:ff:ff:ff:ff permaddr 4c:bb:58:1a:ee:85

Thank you a lot, this is probably nothing but I can't connect to the WIFI at all.

Last edited by Ciceje (2024-03-05 14:38:09)

Offline

#2 2024-03-05 14:00:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,714
Website

Re: Broadcom WIFI drivers not working properly

Please edit your post and replace the quote tags with code tags. (edit: thanks)

From the last code block it looks like the driver is working fine and the wlan0 interface is available.  Getting the right driver will only get you to that point.  Now you need to connect to a network (you've finished step 1 of the next page, not move on to 2):
https://wiki.archlinux.org/title/Networ … n/Wireless

Last edited by Trilby (2024-03-06 00:46:16)


To Be A Dev: propose idea; invite feedback; mock, ridicule, and ostracize any critical feedback; but be warm and kind to those who kiss your ring.

Offline

#3 2024-03-05 14:51:45

Ciceje
Member
Registered: 2024-03-05
Posts: 3

Re: Broadcom WIFI drivers not working properly

As I stated, I was able to connect to wireless during pre-install of Arch. But I cannot scan any device after install.

Here's the result of

iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 46:c6:2f:1a:d8:ea
type managed
ip link show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_coldel state DORMANT mode DORMANT group default qlen 1000
link/ether 46:c6:2f:1a:d8:ea brd ff:ff:ff:ff:ff:ff permaddr 4c:bb:58:1a:ee:85
sudo iw dev wlan0 scan | less
command failed: invalid argument (-22)

My secure boot is turned off

With iwd =>

device list
wlan0 76:3c:9f:b7:06:b8 on phy0 station
station wlan0 scan
Argument type is wrong

This step works when I set up the wifi for archinstall, but fails after I install. I tried several fresh installs, with different DE (Hyprland & KDE), and it's impossible to scan the WIFI points. The KDE GUI shows no WIFI access points even though there should be ~10 around me.

Edit: I just noticed this while booting with systemd:

kernel: ERROR @wl_cfg80211_scan :
kernel: WLC_SCAN error (-22)
wpa_supplicant[448]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-22
wpa_supplicant[448]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-22
kernel: ERROR @wl_cfg80211_scan :
kernel: WLC_SCAN error (-22)
iwd[352]: Received error during CMD_TRIGGER_SCAN: Invalid argument (22)

Last edited by Ciceje (2024-03-05 15:13:04)

Offline

#4 2024-03-05 15:26:02

Ciceje
Member
Registered: 2024-03-05
Posts: 3

Re: Broadcom WIFI drivers not working properly

Ok, I found the solution after Googling a bit more and getting lucky.

For future readers, to whoever comes across this broadcom issue and this post, refer to this message: https://bbs.archlinux.org/viewtopic.php … 2#p1850642

Ok I think I solved it: the problem associate to the message "CTRL-EVENT-SCAN-FAILED ret=-22 retry=1" is simply due to the fact the WiFi device was turned off by the Fn button of the laptop, and that rfkill instead reported it as active, after having turned it on it works even with the latest wpa_suplican (2.8) from Arch repos.
I don't know why but pressing the Fn button to disable the WiFi, rkill does not read it as off, it simply hides the bluetooth part from the list of the available devices.

In short, press Fn + F12 (wifi symbol) to turn on your WIFI if you can't scan any WIFI access point.

This issue can be marked as SOLVED. Thank you.

Last edited by Ciceje (2024-03-05 15:26:51)

Offline

Board footer

Powered by FluxBB