suspend on lid close

main
Inga 🏳‍🌈 2 years ago
parent 4fb03243b1
commit 3b2286ae6d
  1. 23
      README.md

@ -249,8 +249,24 @@ What did solve the issue was:
* editing `GRUB_CMDLINE_LINUX_DEFAULT` in `/etc/default/grub` to add the following options:
`acpiphp.disable=1 pcie_aspm=off acpi_osi='Windows 2020' iommu=soft`.
Now after waking up (after being suspended with `doas pm-suspend`) root fs is still readwrite.
But network disappears sometimes after wakeup.
Now after waking up (after being suspended with `doas pm-suspend` from `pm-utils` package) root fs is still readwrite.
But sometimes network disappears after wakeup.
For suspend on lid close and unsuspend on open, follow https://wiki.alpinelinux.org/wiki/Suspend_on_LID_close :
```
doas mkdir -p /etc/acpi/LID
doas nano /etc/acpi/LID/00000080
```
should have the following content
```
#!/bin/sh
exec pm-suspend
```
and then
```
doas chmod +x /etc/acpi/LID/00000080
doas rc-service acpid restart
```
### WiFi
@ -397,8 +413,6 @@ riverctl float-filter-add title 'Firefox — Sharing Indicator'
## TODO
* Fix internal mic
* Clipboard support
* Screenshots support
* Docker
* IDE
* Notifications
@ -406,6 +420,5 @@ riverctl float-filter-add title 'Firefox — Sharing Indicator'
* Make waybar usable (+waybar fonts)
* nushell + starship instead of ash
* Mail client
* Fix standby
* Fix call audio in firefox
* WiFi

Loading…
Cancel
Save