Wake up?

Still working on a problem I've had for a couple of weeks since switching to bazzite. Is it possible to wake up my computer from "sleep"? Im on an AMD laptop. When it goes to sleep it shuts off the controllers and while they turn on, they won't reconnect to the computer. Controllers are connected wirelessly to a dongle. I had wake on wireless lan working temporarily, but it stopped working. Bluetooth wake has never worked.
5 Replies
Drossious
DrossiousOP2w ago
I discovered that while this does work (permission denied) : sudo echo -1 >/sys/module/usbcore/parameters/autosuspend I can do: sudo -i Then: echo -1 >/sys/module/usbcore/parameters/autosuspend I won't know for a couple of days if that solves the issue with wakeup via controller. As for wake on wireless lan. iw phy0 wowlan show Says enabled nmcli connection show Also says enabled. (0x8) So, while wake on wireless lan did work, and stopped working, maybe in a couple of days when I can test again it will work again? Idk. Annoying as hell, but at least Sunshine let's me check the configuration while away from the computer.
HikariKnight
HikariKnight2w ago
echo -1 | sudo tee /sys/module/usbcore/parameters/autosuspend is the correct way to echo anything in sudo to a psuedo system
Drossious
DrossiousOP2w ago
Ah thanks, I've used that for other changes while trying to get this to work, but reverted to the other method today when I decided to check out usbsuspend
HikariKnight
HikariKnight2w ago
rpm-ostree kargs --append-if-missing="usbcore.autosuspend=-1" will make it permanent wake on wireless i dont know anything about sadly
Drossious
DrossiousOP2w ago
Even better, was just about to add it to my enable_wakeup.sh which modified /sys/bus/usb/devices/usb*/power/wakeup It's just beyond me why a gaming OS would have usb suspend in the first place. Even for external storage it's generally a bad idea. The sys usb power wakeup being default to disabled just doesn't make sense. I gathered that bluetooth wake up is bugged. So, okay that is what it is. But, I just wonder what else might be buried in the settings. Like, I should be able to set upower ignorelid=true and wake up the computer with a controller without spending time digging through the system config files. Okay can confirm these settings do not work. USB devices are still shut down when the computer goes to sleep.

Did you find this page helpful?