t2linux / wiki

Repository for the t2linux.org wiki
https://wiki.t2linux.org
Creative Commons Attribution Share Alike 4.0 International
181 stars 65 forks source link

working wifi suspend workaround for debian #570

Closed dullbananas closed 2 months ago

dullbananas commented 2 months ago

I needed it in Debian

Also idk if it requires chmod +x but if it does then that should be documented

AdityaGarg8 commented 2 months ago

If you want to change something, open a PR, not an issue.

dullbananas commented 2 months ago

Based on further testing, it seems like this actually doesn't work in Debian. But I did get Wi-Fi after suspend to work by changing suspend-fix-t2.service to contain the systemctl commands that unload-wifi.sh has. I will make that change in the wiki. I'm guessing the unload-wifi.sh instructions should be removed because it's redundant, is that correct?

AdityaGarg8 commented 2 months ago

Based on further testing, it seems like this actually doesn't work in Debian. But I did get Wi-Fi after suspend to work by changing suspend-fix-t2.service to contain the systemctl commands that unload-wifi.sh has. I will make that change in the wiki. I'm guessing the unload-wifi.sh instructions should be removed because it's redundant, is that correct?

They are the same as making a service, so no, they are correct.

dullbananas commented 2 months ago

I take that back. Neither method completely fixed the problem.

dullbananas commented 2 months ago

I'm now trying nmcli radio wifi off and nmcli radio wifi on

dullbananas commented 2 months ago

Now trying RUNTIME_PM_DISABLE in tlp.conf (if it works, I will explain it in my PR)

dullbananas commented 2 months ago

trying apt install firmware-brcm80211/bookworm-backports