You are not logged in.

#1 2018-06-25 06:32:36

CountStarlight
Member
Registered: 2018-06-25
Posts: 4

Broadcom wifi chip be found in lspci but can't see in 'ip link' output

The device is GPD Win, and had installed "gpd-pocket-support" according to Archlinux GPD Pocket, everything works fine, but after a kernel upgrade, can't see wifi chip in "ip link":

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

"uname -a":

Linux aiicy 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux

Broadcom chip can be found in "lspci -k"

01:00.0 Network controller: Broadcom Limited BCM4356 802.11ac Wireless Network Adapter (rev 02)
	Subsystem: Gemtek Technology Co., Ltd BCM4356 802.11ac Wireless Network Adapter
	Kernel driver in use: brcmfmac
	Kernel modules: brcmfmac

and "lspci -v"

01:00.0 Network controller: Broadcom Limited BCM4356 802.11ac Wireless Network Adapter (rev 02)
	Subsystem: Gemtek Technology Co., Ltd BCM4356 802.11ac Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 136
	Memory at a1400000 (64-bit, non-prefetchable) [size=32K]
	Memory at a1000000 (64-bit, non-prefetchable) [size=4M]
	Capabilities: <access denied>
	Kernel driver in use: brcmfmac
	Kernel modules: brcmfmac

"dmseg | grep brcm"  output:

[    4.424480] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
[    4.424486] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
[    4.482385] usbcore: registered new interface driver brcmfmac
[    4.482465] brcmfmac 0000:01:00.0: enabling device (0000 -> 0002)
[    4.591053] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie for chip BCM4356/2
[    4.813837] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie for chip BCM4356/2
[    4.813908] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4356-pcie.clm_blob failed with error -2
[    4.813913] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    4.814462] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Oct 23 2017 05:12:10 version 7.35.180.176 (r674455 CY) FWID 01-7386a497
[    4.822428] Modules linked in: intel_rapl joydev(+) rndis_host intel_powerclamp snd_soc_sst_cht_bsw_rt5645(+) bq24190_charger coretemp cdc_ether r8152 usbnet mii hid_generic(+) mousedev kvm_intel i915(+) kvm nls_iso8859_1 nls_cp437 vfat fat ofpart cmdlinepart intel_spi_platform intel_spi spi_nor mtd irqbypass crct10dif_pclmul crc32_pclmul gpio_keys brcmfmac ghash_clmulni_intel pcbc brcmutil aesni_intel snd_intel_sst_acpi snd_intel_sst_core aes_x86_64 wdat_wdt pcspkr crypto_simd cryptd glue_helper intel_cstate i2c_algo_bit snd_soc_sst_atom_hifi2_platform cfg80211 snd_soc_rt5645 snd_soc_acpi i2c_cht_wc snd_soc_rl6231 extcon_intel_cht_wc snd_soc_acpi_intel_match drm_kms_helper snd_soc_core usbhid hid intel_xhci_usb_role_switch snd_compress roles kxcjk_1013 ac97_bus hci_uart industrialio_triggered_buffer
[    4.822735]  brcmf_cfg80211_attach+0xd9f/0x1100 [brcmfmac]
[    4.822755]  ? brcmf_feat_attach+0x13e/0x2d0 [brcmfmac]
[    4.822771]  brcmf_attach+0x1fb/0x4f0 [brcmfmac]
[    4.822796]  ? brcmf_pcie_setup+0x99c/0xe50 [brcmfmac]
[    4.822812]  brcmf_pcie_setup+0xa4f/0xe50 [brcmfmac]
[    4.822830]  brcmf_fw_request_done+0x14f/0x1e0 [brcmfmac]

I have tried installing "broadcom-wl" or "broadcom-wl-dkms", but not solve, how to solve this problem?

Last edited by CountStarlight (2018-06-25 07:01:34)

Offline

#2 2018-06-25 08:21:26

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Broadcom wifi chip be found in lspci but can't see in 'ip link' output

Welcome to the arch linux forums CountStarlight.  Please provide the full dmesg.  Also the full dmesg from a boot when broadcom-wl or broadcom-wl-dkms was installed if you wish to pursue that option.

Offline

#3 2018-06-25 08:53:30

chrisaw
Member
Registered: 2018-06-25
Posts: 1

Re: Broadcom wifi chip be found in lspci but can't see in 'ip link' output

Hey!

I'm the chap who wrote a lot of that wiki content! smile

This is a known issue in the latest linux-firmware package:

More info: https://www.reddit.com/r/GPDPocket/comm … n_4172_in/

Breaking change: https://git.kernel.org/pub/scm/linux/ke … 5c8ac92519

There's various options to workaround this though thankfully!

- Upgrade to a newer kernel (linux-git, for example.)
- Download a copy of the old brcmfmac4371-pcie.bin from somewhere and overwrite the newer (broken) one.
- Downgrade to linux-firmware 20180518.2a9b2cf-1 instead of the latest version.

Hope this helps!

Offline

#4 2018-06-25 09:01:49

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Broadcom wifi chip be found in lspci but can't see in 'ip link' output

@chrisaw do you know which commit from the mainline tree resolves the issue so and if it is scheduled for backport?
Edit:
possibly https://git.kernel.org/pub/scm/linux/ke … 0f3356d1bc

Last edited by loqs (2018-06-25 09:13:11)

Offline

#5 2018-06-25 14:03:39

CountStarlight
Member
Registered: 2018-06-25
Posts: 4

Re: Broadcom wifi chip be found in lspci but can't see in 'ip link' output

chrisaw wrote:

Hey!

I'm the chap who wrote a lot of that wiki content! smile

This is a known issue in the latest linux-firmware package:

More info: https://www.reddit.com/r/GPDPocket/comm … n_4172_in/

Breaking change: https://git.kernel.org/pub/scm/linux/ke … 5c8ac92519

There's various options to workaround this though thankfully!

- Upgrade to a newer kernel (linux-git, for example.)
- Download a copy of the old brcmfmac4371-pcie.bin from somewhere and overwrite the newer (broken) one.
- Downgrade to linux-firmware 20180518.2a9b2cf-1 instead of the latest version.

Hope this helps!

I downgraded linux-firmware to 20180518.2a9b2cf-1 from pacman cache:

sudo pacman -U /var/cache/pacman/pkg/linux-firmware-20180518.2a9b2cf-1-any.pkg.tar.xz

And wifi can work! Thank you!

Offline

Board footer

Powered by FluxBB