PINE64

Full Version: Manjaro - HIbernate - brcmfmac clk issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After using towboot & fedora with an nvme drive with dissapointing battery life and no suspend i have decided to have a go at a vanilla manjaro gnome image with u-boot.

I have got Suspend working well, and hibernate also working consistnent sadly without being able to recover the wireless adapter after resuming.

I have worked out from dmesg and journalctl what are normal errors, and have rmmod -f and re added the brcmfmac modules. Sadly though no success.

The relevent error from the device in dmesg and journalctl is 
Code:
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

No amount of kernel module removal or reloading will get it to play post hibernate.

Hopefully this is enough info for someone more hardware oriented than me.

Code:
#Working sleep.conf
[Sleep]
Code:
AllowSuspend=yes
Code:
AllowHibernation=yes
Code:
AllowSuspendThenHibernate=yes
Code:
#AllowHybridSleep=yes
Code:
SuspendMode=suspend
Code:
SuspendState=freeze mem
Code:
HibernateMode=
Code:
HibernateState=disk
Code:
#HybridSleepMode=suspend platform shutdown
Code:
#HybridSleepState=disk
Code:
HibernateDelaySec=5000
Code:
SuspendEstimationSec=60min
I think you should disabling power management for the wireless adapter: Sometimes, power management settings can cause issues with resuming after hibernate. You can try disabling power management for the wireless adapter by creating a configuration file. Run the following command to create the file:


Code:
bash
sudo nano /etc/udev/rules.d/10-wifi-power-management.rules

Add the following line to the file:

Code:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*", RUN+="/usr/bin/iw dev %k set power_save off"

Save the file (Ctrl+O) and exit (Ctrl+X).