You are not logged in.

#1 2016-10-15 17:17:06

amatika
Member
Registered: 2016-03-17
Posts: 58

[SOLVED] Wifi is not working anymore | XPS13 9350 with BCM4350

Hi,

Wifi is not working anymore. I just stopped working out of the blue one day. Maybe after upgrading the packages or something.
I have not been able to solve this.

I'm running on linux 4.7.6-1.

Only ethernet interface is shown:

$ ip link 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:e0:4c:68:40:45 brd ff:ff:ff:ff:ff:ff

The last boot gives the following error:

$ journalctl -p err -xb

ERROR @wl_cfg80211_detach : NULL ndev->ieee80211ptr, unable to deref wl

Wifi adapter info:

$ lspci -nnk

3a:00.0 Network controller [0280]: Broadcom Corporation BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 08)
        Subsystem: Dell Device [1028:0023]
        Kernel modules: brcmfmac, wl

I have wl drivers from AUR:

$ yaourt -S broadcom-wl

   
Thanks in advance.

Last edited by amatika (2016-10-16 07:18:53)

Offline

#2 2016-10-15 17:51:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Wifi is not working anymore | XPS13 9350 with BCM4350


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-10-15 20:05:07

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Wifi is not working anymore | XPS13 9350 with BCM4350

Did you rebuild Broadcom-wl after the new kernel installed?

Offline

#4 2016-10-16 04:33:00

amatika
Member
Registered: 2016-03-17
Posts: 58

Re: [SOLVED] Wifi is not working anymore | XPS13 9350 with BCM4350

Yes, I uninstalled and re-installed broadcom-wl package.

Offline

#5 2016-10-16 05:44:41

amatika
Member
Registered: 2016-03-17
Posts: 58

Re: [SOLVED] Wifi is not working anymore | XPS13 9350 with BCM4350

Got the interface showing up and wifi working by:

* Removing broadcom-wl
* Cloning linux-firmware from here https://wireless.wiki.kernel.org/en/use … rted_chips
* Copying linux-firmware/brcm/* to /usr/lib/firmware/brcm/
* Creating blacklist.conf to /etc/modprobe.d/ with the following values:

blacklist b43
blacklist b43legacy
#blacklist bcm43xx
blacklist brcmsmac
#blacklist brcmfmac
#blacklist brcm80211
blacklist bcma
blacklist wl

After reboot the wifi interface shows up:

$ ip link
wlp58s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DORMANT group default qlen 1000

Connecting the network with nmcli works fine:

$ nmcli dev wifi connect mywifi password 123456
Device 'wlp58s0' successfully activated with...

Now brcmfmac module is loaded w/o wl module, and brcmfmac driver is correctly in use:

$ lspci -nnk

3a:00.0 Network controller [0280]: Broadcom Corporation BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 08)
        Subsystem: Dell Device [1028:0023]
        Kernel driver in use: brcmfmac
        Kernel modules: brcmfmac

In summary, it seems that replacing the broadcom-wl driver with brcmfmac driver was the key. Also blacklisting the other modules was important.

Last edited by amatika (2016-10-16 07:26:32)

Offline

#6 2016-11-24 08:36:16

EchoJoe
Member
Registered: 2016-09-27
Posts: 11

Re: [SOLVED] Wifi is not working anymore | XPS13 9350 with BCM4350

Hey Guys,

I have a similar issue with my XPS13. The wireless suddenly stopped working after one update.

only the Ethernet interface is shown in

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp57s0u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff

Wifi adaptor

lspci -vnn -d 14e4:
3a:00.0 Network controller [0280]: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 08)
	Subsystem: Dell Device [1028:0021]
	Flags: fast devsel, IRQ 16
	Memory at dc400000 (64-bit, non-prefetchable) [size=32K]
	Memory at dc000000 (64-bit, non-prefetchable) [size=4M]
	Capabilities: <access denied>
	Kernel modules: brcmfmac

last boot

journalctl -p err -xb

kernel: brcmfmac: brcmf_chip_recognition: chip backplane 
kernel: brcmfmac: brcmf_pcie_probe: failed 14e4:43a3

I created the modprobe.conf as @amatika sugested adding the blacklist modules. I also reinstalled linux-firmware using yaourt -S linux-firmware
since BCM4350 is supported, but nothing...

I tried installing alternatives like broadcom-wl-dkms but it doesn't seem to work ether. Can somebody tell me what I am doing wrong?

** Edit
So I forgot to edit /etc/mkinitcpio.conf to add:

...
FILES="/etc/modprobe.d/modprobe.conf"
...

to then rebuild with:

mkinitcpio -p linux

Last edited by EchoJoe (2016-11-24 10:38:47)

Offline

Board footer

Powered by FluxBB