resolved the issue where the laptop **immediately woke from suspend**
by disabling specific ACPI wakeup devices.

#### 🛠️ Fix (temporary):

```bash
echo XHCI > /proc/acpi/wakeup
echo RP05 > /proc/acpi/wakeup
```

This made suspend/resume work correctly.

#### 🔄 Automation (persistent across reboots):

Created `/etc/rc.local`:

```bash
#!/bin/bash
echo XHCI > /proc/acpi/wakeup
echo RP05 > /proc/acpi/wakeup
exit 0
```

Created and enabled a `systemd` unit at `/etc/systemd/system/rc-
local.service` to run it at boot:

```ini
[Unit]
Description=/etc/rc.local compatibility
ConditionPathExists=/etc/rc.local

[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99

[Install]
WantedBy=multi-user.target
```

Enabled with:

```bash
sudo systemctl enable rc-local
```

#### ✅ Result:

Suspend/resume now works reliably across reboots. `XHCI` and `RP05` stay
disabled as wakeup sources.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1981141

Title:
  Acer Swift SF114-34 standby/suspend/resume issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1981141/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to