dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
702 stars 106 forks source link

wpa_supplicant 2.11 breaks Broadcom Wi-Fi #654

Open maxrdz opened 4 weeks ago

maxrdz commented 4 weeks ago

Device info (please complete the following information)

Describe the bug Cannot connect to Wi-Fi network.

To Reproduce Unknown, not sure if it was after a system upgrade.

Logfiles and additional information Cannot provide logs since SSH is no available due to the issue.

Before submitting a bug report, please be sure that you have done the following:

maxrdz commented 4 weeks ago

Running doas systemctl status NetworkManager shows some warns logged by netman.

Two lines seem to address the issue:

(wlan0): Activation: (wifi) association took too long
(wlan0): state change: config -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Danct12 commented 4 weeks ago

Add brcmfmac.feature_disable=0x82000 to the kernel command line and wait for a fix.

maxrdz commented 4 weeks ago

Add brcmfmac.feature_disable=0x82000 to the kernel command line and wait for a fix.

I tried to do this by editing the GRUB configuration, which should be at /etc/default/grub, but no file exists on my system. Which method do you recommend to append this kernel parameter?

maxrdz commented 4 weeks ago

Oh I might be clueless. I assume GRUB is not installed on the Pinephone is it :p

maxrdz commented 3 weeks ago

Add brcmfmac.feature_disable=0x82000 to the kernel command line and wait for a fix.

Tried doas sysctl brcmfmac.feature_disable=0x82000 to set it at runtime, but it says the file does not exist under /proc/sys/....

Danct12 commented 3 weeks ago

No, this is a kernel cmdline.

You need to edit boot.txt and run ./mkscr script in /boot.

maxrdz commented 3 weeks ago

This workaround fixed my issue, thank you!

Danct12 commented 2 weeks ago

This workaround is now a part of c2b933bbc4b5c4f1bae4a869c272f6669429fe14