Resuming after suspend problem ,Freezing and multible errors on wakeup

Solution 1:

In my case, this looks like a problem with the 5.3 kernel not handling the nvidia gpu usb-c driver properly. See here on Launchpad for a detailed and well written description of the bug. I was having the same problem as that person (seeing a 50 second hang on resume). On that page, a temporary solution is given, namely to 'blacklist ucsi_ccg'. When I implemented that fix, my hang on resume went away and I saw no errors.

My steps to fix...

  1. Ran ls /etc/modprobe.d and found a catchall blacklist.conf file that looked like it might be a good spot to add my new blacklist line.

  2. Ran sudo nano /etc/modprobe.d/blacklist.conf and add a line blacklist ucsi_ccg to the bottom of the file. Save file and exit nano.

  3. Reboot, then suspend my machine to test the fix. When I open the lid, the machine immediately starts back up with no errors.

Note that since that driver is blacklisted, you might lose your ability to use the usb-c port on your machine, but I wasn't using mine so it wasn't a big deal for me. The trick for me will be to remember in 6 months why my usb-c port doesn't work when I plug something into it. :)

Solution 2:

I had the same issue when I upgraded debian 9 to debian 10 buster. This happens when I plugged something in my USB 3.0 port when the suspends coming up it freezes completely all my USB ports including keyboard and mouse. My solution was to not plug anything in the USB 3.0 ports, only on 2.0. I am using kernel 5.4 and nvidia driver but it seems a problem from the xhci firmware. Hope it helps.