0

when trying to run my Laptop after suspend .

I have a black screen and nothing work. keyboard,mouse,touch bad .

My PC : Laptop Dell Inspiron 15 R

Ram :4 GB

graphic Card :Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A]

any help

Ahmed
  • 1

1 Answers1

0

Actually there is a bug which you can find in Launchpad.net

Best thing is that there is also a patch through which you can solve this issue.

Follow these steps hope it works for you also:

Open terminal and execute these steps:

1 - Backup old settings

sudo cp /etc/default/grub /etc/default/grub_back

2 - Open file to edit

sudo gedit /etc/default/grub

3 - Replace the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force"

4 - Save the file Ctrl+S and close Ctrl+Q

Note: The next line to the line mentioned above should be GRUB_CMDLINE_LINUX="" not GRUB_CMDLINE_LINUX="acpi_osi=Linux"

5 - Now execute following command to update the grub

sudo update-grub

Re-start your system once.

Note: If you have trouble in brightness also and above method doesn't fix it then you can test by adding these lines in place I mentioned above.

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

or

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor pcie_aspm=force"

or

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"

or

GRUB_CMDLINE_LINUX_DEFAULT="pcie_aspm=force"

or

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"

Note: You have to do a sudo update-grub and a system restart every time you change the grub file

Different system would need different options, if any of the option works, I request to mention that in the comment.

6 - Edit/create the file

gksudo gedit /etc/pm/sleep.d/01_switchvt

7 - copy and paste this code and save

#!/bin/sh

# Switch to a VC before suspending and back after resume

case "$1" in
        resume|thaw)
            chvt 7
        ;;
        suspend|hibernate)
            chvt 1
        ;;
esac

8 - make it executable:

chmod 755 /etc/pm/sleep.d/01_switchvt

sources: https://askubuntu.com/a/387676/265172 and https://askubuntu.com/a/361706/265172