Ubuntu 16.04.3 LTS 64位挂起后自动恢复且无法唤醒的解决方法
Hey there, sorry to hear you're stuck with this annoying suspend problem—auto-resuming right away and then being stuck with a dead display is super frustrating. Let's go through some tried-and-true fixes that usually sort this out.
1. Check Which Devices Are Waking Your System
Often, a misbehaving USB device or network card is secretly triggering the wake-up. Here's how to track it down:
- Run this command to list all devices that can wake your system:
cat /proc/acpi/wakeup - Look for entries marked
enabled(common culprits are USB controllers likeEHC1/XHC1or network cards likeETH0). - Toggle the state of a suspect device to
disabledwith:echo DEVICE_NAME | sudo tee /proc/acpi/wakeup
(ReplaceDEVICE_NAMEwith the actual entry from the list, e.g.,echo EHC1 | sudo tee /proc/acpi/wakeup) - Try suspending again. If it stays suspended, make this change permanent by adding the command to
/etc/rc.localbefore theexit 0line.
2. Tweak GRUB ACPI Settings
ACPI (Advanced Configuration and Power Interface) conflicts are a common cause of suspend issues. Let's adjust the GRUB boot parameters:
- Open the GRUB config file:
sudo nano /etc/default/grub - Find the line starting with
GRUB_CMDLINE_LINUX_DEFAULT. Add one of these parameters (test them one at a time to see which works):acpi_sleep=nonvs: Disables non-volatile storage during sleep (fixes issues with corrupted sleep states)acpi_sleep=s3_bios: Forces the S3 deep sleep mode via your BIOSacpi_sleep=s3_mode: Another tweak to enforce S3 sleep
Example modified line:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_sleep=nonvs"
- Save the file (press
Ctrl+O, hit Enter, thenCtrl+X), then update GRUB:sudo update-grub - Reboot and test the suspend function.
3. Update Your Kernel
Outdated kernels often have power management bugs. Ubuntu 16.04 supports the Hardware Enablement (HWE) stack, which includes a newer, more stable kernel:
- Run these commands to install the HWE kernel:
sudo apt updatesudo apt install linux-generic-hwe-16.04 - Reboot your system. The new kernel should handle suspend/resume better.
4. Verify Your Graphics Drivers
Proprietary graphics drivers (especially NVIDIA or AMD) can clash with suspend. Let's check or update them:
- Open "Software & Updates" from the Ubuntu dash.
- Switch to the "Additional Drivers" tab.
- Try two options:
- Switch to the open-source driver (e.g.,
nouveaufor NVIDIA) - Or update to the latest version of the proprietary driver listed
- Switch to the open-source driver (e.g.,
- Click "Apply Changes" and reboot. Test suspend after restarting.
5. Restart Power Management Services
Sometimes the system's power management services glitch out. Reset them with:
- Restart the
systemd-logindservice:sudo systemctl restart systemd-logind - Or reset USB HID devices (which can cause wake issues):
sudo modprobe -r usbhid && sudo modprobe usbhid
Bonus: Check BIOS Settings
If none of the above works, boot into your BIOS (usually by pressing F2, Del, or Esc during startup) and check these settings:
- Ensure S3 Sleep State is enabled (it might be labeled "Deep Sleep" or "Suspend to RAM")
- Disable Wake on LAN or Wake on USB features
- Save changes and boot back into Ubuntu to test.
内容的提问来源于stack exchange,提问作者CluelessNoob

