Ubuntu 14.04 doesn't wake up after screen is locked and blank
I had similar issues with Ubuntu 14.04 and 16.04 more recently.
After struggling for a while, I found that disabling USB auto suspend, solved (worked around) the problem.
This feature is a part of usbcore
which is compiled in the kernel in Ubuntu.
From https://unix.stackexchange.com/a/175035,
Edit the
/etc/default/grub
file and change theGRUB_CMDLINE_LINUX_DEFAULT
line to add theusbcore.autosuspend=-1
option:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
Note that
quit splash
were already present options. So keep other options you have too.After save the file, update grub:
sudo update-grub
And reboot.
Now check
autosuspend
value:cat /sys/module/usbcore/parameters/autosuspend
And it should display
-1
.
Related videos on Youtube
Lesik2008
Updated on September 18, 2022Comments
-
Lesik2008 almost 2 years
When I lock the screen (Super+L or Ctrl+Alt+L) and wait until the screen goes dark, I can't resume anymore. I move my mouse and press my keyboard, but screen stays blank. My monitor goes into standby mode, if I turn it off and on again it says "no input".
I suppose that pressing any keyboard key or moving the mouse doesn't wake it up because the keyboard is not working. The caps lock and num lock buttons don't light up when I press them (they usually do). Why is the keyboard turned off when screen is locked?
It's Ubuntu 14.04 on a DELL Optiplex GX620, the mouse is wireless (Logitech Unifying Receiver) and the keyboard is connected via USB. I tried connecting a different mouse or keyboard to a different port. The mouse's red laser at the bottom does light up, but the PC does not resume.
I have used Debian Sid, Arch Linux and elementaryOS on this computer before Ubuntu, and this problem did not occur. Ubuntu is the only distro which locks the screen with
LightLocker
, so maybe the problem is with LightLocker...The weird thing: This does not happen if I leave the PC alone and wait until it locks itself automatically! Only if I manually lock it.
Edit: I can't access TTY1-6 either.
-
Admin about 10 yearsTry pressing the brightess up button on your keyboard if you have one
-
Admin about 10 years@DusanMilosevic No, it's a PC...
-
Admin about 10 yearsOK, some keyboards have that button, it doesn't matter if you connect it to laptop or PC. If you don't have that button, that's OK. I am experiencing similar issue, and I'm solving it by pressing brightness button(up or down).
-
Admin almost 10 yearsI have this same issue. Except that it doesn't matter whether it locks automatically or I lock it manually - if I leave it locked long enough, I won't be able to turn it back on. I'm using the 3.16.3 kernel on 14.04.
-
-
Marecky almost 6 yearsThis answer is correct for Ubuntu Budgie 18.04
-
Learning over 4 yearsAlso true for Ubuntu Budgie 19.10