Problem with the WiFi on Pinebook Pro

Hello everyone,

I have got problem with the WiFi on Pinebook Pro.

I cannot properly connect to network and if I managed, the connection is extremely slow.

I assume it may be related to the firmware/driver?

Thank you for advice and suggestions.

[ 7.778600] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[ 7.799624] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.pine64,pinebook-pro.bin failed with error -2
[ 7.813862] usbcore: registered new interface driver brcmfmac
[ 8.131500] brcmfmac_wcc: brcmf_wcc_attach: executing
[ 8.147843] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3
[ 3419.316401] brcmfmac_wcc: brcmf_wcc_attach: executing
[ 3419.329026] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3
[ 3448.643866] mt7601u 2-1.1:1.0: Error: MCU response pre-completed!
[ 3448.690923] mt7601u 2-1.1:1.0: EEPROM ver:0d fae:00
[ 3448.722676] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 3449.571789] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 49
[ 3449.589254] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[ 3449.589622] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.pine64,pinebook-pro.bin failed with error -2
[ 3449.684398] brcmfmac_wcc: brcmf_wcc_attach: executing
[ 3449.696491] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3
[ 8413.996325] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[ 8413.996945] brcmfmac: brcmf_sdio_bus_stop: Failed to force clock for F2: err -110
[ 8413.998048] brcmfmac_wcc: brcmf_wcc_detach: executing
[12430.426007] brcmfmac: brcmf_sdiod_probe: Failed to set F1 blocksize
[12430.426022] brcmfmac: brcmf_ops_sdio_resume: Failed to probe device on resume
[12430.426036] brcmfmac mmc0:0001:2: PM: dpm_run_callback(): pm_generic_resume+0x0/0x44 returns -110
[12430.426067] brcmfmac mmc0:0001:2: PM: failed to resume async: error -110
[12430.443645] mt7601u 2-1.1:1.0: Error: MCU response pre-completed!
[12430.474941] mt7601u 2-1.1:1.0: EEPROM ver:0d fae:00
1 Like

Update: I have installed postmarketOS and no issue with the driver or WiFi, thus I expect the problem is with ManjaroARM and the driver

Please confirm the kernel version when you faced the wifi issue.

I got my pinebookpro out a couple of months ago and installed the xfce image. I have had issues with the wifi connecting at times. One thing that always been an issue was rebooting after an update. If I shut it down and waited a little bit it would connect but sometimes it would not. Asking strit he said the reboot problem was a known issue.

Today I looked at the firmware brcmfmac: “Direct firmware load error” and the firmware in /lib/firmware/brcm. My kernel is 6.4.2-1-MANJARO-ARM.

error:

[manjaro@manjaro-pc ~]$ dmesg | grep brcmfmac
[    8.004257] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    8.009535] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.pine64,pinebook-pro.bin failed with error -2
[    8.024539] usbcore: registered new interface driver brcmfmac
[    8.215052] brcmfmac_wcc: brcmf_wcc_attach: executing
[    8.228383] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    8.228767] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3

Original Firmware in /lib/firmware/brcm/ regarding the pinebook pro:

[manjaro@manjaro-pc firmware]$ ls -la /lib/firmware/brcm/brcmfmac43456*
-rw-r--r-- 1 root root   2552 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.AP6256.txt
-rw-r--r-- 1 root root 585884 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.bin
-rw-r--r-- 1 root root  14036 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.clm_blob
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt -> brcmfmac43456-sdio.AP6256.txt

I made 2 other links for the pinebookpro for the .bin and .clm_blob:

-rw-r--r-- 1 root root   2552 May 15  2022 brcmfmac43456-sdio.AP6256.txt
-rw-r--r-- 1 root root 585884 May 15  2022 brcmfmac43456-sdio.bin
-rw-r--r-- 1 root root  14036 May 15  2022 brcmfmac43456-sdio.clm_blob
lrwxrwxrwx 1 root root     22 Jul 16 06:55 brcmfmac43456-sdio.pine64,pinebook-pro.bin -> brcmfmac43456-sdio.bin
lrwxrwxrwx 1 root root     27 Jul 16 06:59 brcmfmac43456-sdio.pine64,pinebook-pro.clm_blob -> brcmfmac43456-sdio.clm_blob
lrwxrwxrwx 1 root root     29 May 15  2022 brcmfmac43456-sdio.pine64,pinebook-pro.txt -> brcmfmac43456-sdio.AP6256.txt

dmesg After links made:

[manjaro@manjaro-pc brcm]$ dmesg | grep brcmfmac
[    8.003856] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    8.005394] usbcore: registered new interface driver brcmfmac
[    8.405172] brcmfmac_wcc: brcmf_wcc_attach: executing
[    8.418907] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    8.419262] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3

The brcmfmac: brcmf_c_preinit_dcmds: err appears from looking on the internet to be checking for a blob specific to apple devices.

After making the links the wifi seems to be popping in faster. It still has issues doing a reboot connecting to the wifi though. I still have to shutdown.

I do not have the other devices below but I wonder if some links need to be made for them:

lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.pine64,quartz64-a.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.pine64,quartz64-b.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.pine64,rockpro64-v2.1.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.radxa,rockpi4b.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.radxa,rockpi4c.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.radxa,zero2.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.radxa,zero.txt -> brcmfmac43456-sdio.AP6256.txt
lrwxrwxrwx 1 root root     29 May 15  2022 /lib/firmware/brcm/brcmfmac43456-sdio.rockchip,rk3399-orangepi.txt -> brcmfmac43456-sdio.AP6256.txt
1 Like

Currently it is 6.3.9-1-MANJARO-ARM, but I have been experiencing for some time, so it was with previous versions as well.

For your information, yesterday I installed Manjaro ARM with the same kernel on ROCKPro 64 with similar (and other) issues:

[    0.148031] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148043] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148051] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148059] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148067] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148074] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148082] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148090] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148098] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148105] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148113] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148121] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148128] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148136] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.148143] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present!
[    0.149647] Initialise system trusted keyrings
[    0.239866] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    0.239908] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    0.239930] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    0.240939] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
[    0.241049] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
[    0.685475] Freeing initrd memory: 8164K
[    0.822817] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    0.822861] rockchip-pcie: probe of f8000000.pcie failed with error -110
 [    1.255747] rk808-regulator rk808-regulator.3.auto: there is no dvs0 gpio
[    1.255800] rk808-regulator rk808-regulator.3.auto: there is no dvs1 gpio
[    1.270423] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[    1.272945] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    1.274066] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    1.274086] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.274099] usb usb5: Product: EHCI Host Controller
[    1.274109] usb usb5: Manufacturer: Linux 6.3.9-1-MANJARO-ARM ehci_hcd
[    1.274118] usb usb5: SerialNumber: fe380000.usb
[    1.275278] hub 5-0:1.0: USB hub found
[    1.275461] hub 5-0:1.0: 1 port detected
[    6.092671] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.096810] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.pine64,rockpro64-v2.1.bin failed with error -2
[    6.254628] brcmfmac_wcc: brcmf_wcc_attach: executing
[    6.263588] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[    6.773056] Bluetooth: hci0: BCM4345C0
[    6.773084] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    6.773600] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[    6.773621] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.pine64,rockpro64-v2.1.hcd'
[    6.773626] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.hcd'
[    6.773630] Bluetooth: hci0: BCM: 'brcm/BCM.pine64,rockpro64-v2.1.hcd'
[    6.773635] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[   10.253780] rk_gmac-dwmac fe300000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   10.373020] rk_gmac-dwmac fe300000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   10.382880] rk_gmac-dwmac fe300000.ethernet end0: No Safety Features support found
[   10.382924] rk_gmac-dwmac fe300000.ethernet end0: PTP not supported by HW
[   10.383438] rk_gmac-dwmac fe300000.ethernet end0: configuring for phy/rgmii link mode
[   13.088235] brcmfmac: brcmf_set_channel: set chanspec 0x100c fail, reason -52
[   13.088550] brcmfmac: brcmf_set_channel: set chanspec 0x100d fail, reason -52
[   13.088844] brcmfmac: brcmf_set_channel: set chanspec 0x100e fail, reason -52
[   13.089128] brcmfmac: brcmf_set_channel: set chanspec 0xd022 fail, reason -52
[   13.208171] brcmfmac: brcmf_set_channel: set chanspec 0xd026 fail, reason -52
[   13.318396] brcmfmac: brcmf_set_channel: set chanspec 0xd02a fail, reason -52
[   13.427560] brcmfmac: brcmf_set_channel: set chanspec 0xd02e fail, reason -52
[   13.548476] brcmfmac: brcmf_set_channel: set chanspec 0xd034 fail, reason -52
[   13.548950] brcmfmac: brcmf_set_channel: set chanspec 0xd038 fail, reason -52
[   13.549337] brcmfmac: brcmf_set_channel: set chanspec 0xd03c fail, reason -52
[   13.549673] brcmfmac: brcmf_set_channel: set chanspec 0xd040 fail, reason -52
[   13.550008] brcmfmac: brcmf_set_channel: set chanspec 0xd064 fail, reason -52
[   13.550343] brcmfmac: brcmf_set_channel: set chanspec 0xd068 fail, reason -52
[   13.550677] brcmfmac: brcmf_set_channel: set chanspec 0xd06c fail, reason -52
[   13.551011] brcmfmac: brcmf_set_channel: set chanspec 0xd070 fail, reason -52
[   13.551345] brcmfmac: brcmf_set_channel: set chanspec 0xd074 fail, reason -52
[   13.551677] brcmfmac: brcmf_set_channel: set chanspec 0xd078 fail, reason -52
[   13.552011] brcmfmac: brcmf_set_channel: set chanspec 0xd07c fail, reason -52
[   13.552346] brcmfmac: brcmf_set_channel: set chanspec 0xd080 fail, reason -52
[   13.552681] brcmfmac: brcmf_set_channel: set chanspec 0xd084 fail, reason -52
[   13.556884] brcmfmac: brcmf_set_channel: set chanspec 0xd088 fail, reason -52
[   13.557506] brcmfmac: brcmf_set_channel: set chanspec 0xd08c fail, reason -52
[   13.558098] brcmfmac: brcmf_set_channel: set chanspec 0xd090 fail, reason -52
[   14.311984] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   15.200898] hdmi-audio-codec hdmi-audio-codec.8.auto: Only one simultaneous stream supported!
[   15.200913] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   15.200926]  ff8a0000.i2s-i2s-hifi: ASoC: error at __soc_pcm_open on ff8a0000.i2s-i2s-hifi: -22
[   15.302781] Bluetooth: RFCOMM TTY layer initialized
[   15.302825] Bluetooth: RFCOMM socket layer initialized
[   15.302858] Bluetooth: RFCOMM ver 1.11
[   16.887878] hdmi-audio-codec hdmi-audio-codec.8.auto: Only one simultaneous stream supported!
[   16.887890] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   16.887901]  ff8a0000.i2s-i2s-hifi: ASoC: error at __soc_pcm_open on ff8a0000.i2s-i2s-hifi: -22
[   17.114741] platform sound-dit: deferred probe pending
[   20.004584] hdmi-audio-codec hdmi-audio-codec.8.auto: Only one simultaneous stream supported!
[   20.004600] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   20.004613]  ff8a0000.i2s-i2s-hifi: ASoC: error at __soc_pcm_open on ff8a0000.i2s-i2s-hifi: -22
[   23.066401] hdmi-audio-codec hdmi-audio-codec.8.auto: Only one simultaneous stream supported!
[   23.066421] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   23.066441]  ff8a0000.i2s-i2s-hifi: ASoC: error at __soc_pcm_open on ff8a0000.i2s-i2s-hifi: -22
[   26.121491] hdmi-audio-codec hdmi-audio-codec.8.auto: Only one simultaneous stream supported!
[   26.121506] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   26.121518]  ff8a0000.i2s-i2s-hifi: ASoC: error at __soc_pcm_open on ff8a0000.i2s-i2s-hifi: -22
[27767.423288] brcmfmac: brcmf_set_channel: set chanspec 0x100c fail, reason -52
[27767.424079] brcmfmac: brcmf_set_channel: set chanspec 0x100d fail, reason -52
[27767.424758] brcmfmac: brcmf_set_channel: set chanspec 0x100e fail, reason -52
[27767.425419] brcmfmac: brcmf_set_channel: set chanspec 0xd022 fail, reason -52
[27767.543015] brcmfmac: brcmf_set_channel: set chanspec 0xd026 fail, reason -52
[27767.663709] brcmfmac: brcmf_set_channel: set chanspec 0xd02a fail, reason -52
[27767.782904] brcmfmac: brcmf_set_channel: set chanspec 0xd02e fail, reason -52
[27767.903021] brcmfmac: brcmf_set_channel: set chanspec 0xd034 fail, reason -52

You are not giving giving some info such as ipv4/ipv6, 5GHz network or type of encryption scheme if used. There has been issues involving using these with the brcmfmac firmware.

Going from what I can remember first the regulatory domain for your country needs to be set in /etc/conf.d/wireless-regdom.

https://wiki.archlinux.org/title/Network_configuration/Wireless#Respecting_the_regulatory_domain

Using a 5GHz network sometimes one has to set in the router/NetworkManager a lower channel like say channel 6.

Sometimes the type of encryption scheme needs to be changed.

Sometimes an update with the router’s firmware needs to be performed.