linuxmint / mintreport

Troubleshooting tool
19 stars 18 forks source link

Monitors don't wake up after suspend/hibernating #97

Open vidarjb opened 9 months ago

vidarjb commented 9 months ago

I have a Lenovo ThinkPad T470s in a docking station with two monitors. I do not use the laptop screen, only the monitors connected to it. After suspend/hibernate the two monitors fails to start, making it nearly impossible to log on. But if I enter my logins when the indicator shows that the PC is active (though with only black screens), I van login and the screens will wake up. I would expect the PC to start the monitors by itself after suspend/hibernate. I found a solution in the Mint forums, but I hope that this can be fixed, so the problem can be corrected and all monitors wake up without intervention after suspend/hibernate. My system: Lenovo ThinkPad T470s Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 wm: xfwm dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy See the enclosed file The fix: https://forums.linuxmint.com/viewtopic.php?f=46&t=274817&start=20#p1509414 I have written a script that unloads the network drivers before suspend, and reloads them after suspend. The scripts have been copied to the folder /usr/lib/systemd/system-sleep Now the monitors wake up after suspend/hibernate.

The script is enclosed as a txt file: disable-enable-network.txt A file with system info: SystemInfo.txt

SystemInfo.txt disable-enable-network.txt