Author Topic: Unable resume from suspend to RAM in AMD E450 laptop  (Read 1263 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Unable resume from suspend to RAM in AMD E450 laptop
« on: September 08, 2012, 09:09:08 AM »
I have recently bought a Samsung NP305U1A laptop with AMD E450 APU, Radeon HD 6320 graphics.

Whenever the laptop suspends (automatically or manually) it is unable to resume.
There is no response to any key-press.
Laptop power LED will be blinking in a slow rhythmic manner.

If I press the power button, there is some hard disk activity, power comes on, but display remains switched off.
At this point if I press Ctrl-Alt-Del or Ctrl-Backspace occasionally HDD LED blinks, but the screen NEVER shows any activity.

The only way to shutdown is by longpressing the physical power button, and this results in an immediate poweroff and a file system check on reboot.

There have been some reports of this happening while using AMD graphics driver over at the brown distro forum. They seem to say that it works OK with the open source driver, so the trouble may be with AMD driver.

I have appended a few files thinking that they may give a clue.

xorg.conf :

Code: [Select]
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1366x768"
    HorizSync 31.5-53.0
    VertRefresh 56.0-69.0
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Advanced Micro Devices [AMD] nee ATI"
    BoardName "ATI Radeon HD 2000 and later (radeon/fglrx)"
    Driver "fglrx"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

lspci output :

Code: [Select]
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6320]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2)
00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

lsusb ouptput :

Code: [Select]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 2232:1008 
Bus 003 Device 002: ID 0a5c:219c Broadcom Corp.

Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #1 on: September 12, 2012, 09:22:34 AM »
While trawling the internet, another user (of another distro) posted that this problem does not occur with fglrx and not open-source ati driver.

So I did a second TEST install and removed fglrx drivers completely.

And... yes, now the netbook suspends and resumes properly.

I hope ATi/AMD fix this thing in a forthcoming driver release.
-SS.

Is there any workaround for this?
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #2 on: September 12, 2012, 10:17:30 AM »
What kernel are you using?  Have you tried a different one to see if that has any effect?

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #3 on: September 12, 2012, 10:48:27 AM »
3.2.18-pclos2.bfs at present.

Thanks for this idea :)
I should try 2.6 series. May be it will work better there. But then I have to worry about my Broadcom BCM4313 WiFi too (which already is spotty at best)

-SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #4 on: September 12, 2012, 01:37:24 PM »
3.2.18-pclos2.bfs at present.

Thanks for this idea :)
I should try 2.6 series. May be it will work better there. But then I have to worry about my Broadcom BCM4313 WiFi too (which already is spotty at best)

-SS.

You could briefly test the 2.6.38 kernel to see if it allows suspending and recovery correctly.
You don't have to keep using it ....  you can boot into the 3.2.18 kernel afterwards  ;)
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #5 on: September 13, 2012, 10:53:41 AM »
I have not yet installed 2.6 series kernel.
In the meanwhile, there are some spotty reports of Catalyst 12.8 drivers fixing / not fixing this at phoronix.
http://phoronix.com/forums/showthread.php?72955-AMD-Catalyst-12-8-Driver-For-Linux-Not-Exciting
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1899
  • Certified Windows Hater
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #6 on: September 13, 2012, 12:08:54 PM »
My Toshiba laptop sports a Core2Duo T6600 @2.2GHz processor with a Mobility Radeon HD 4650 and never had any problems with Suspend/Hibernate. I'm using the 3.2.18-pclos2.pae.bfs kernel and Catalyst 12.4 proprietary drivers. Do you have the same problems with 12.4?
« Last Edit: September 13, 2012, 12:46:14 PM by agmg »
For the whole world, you are someone.
For someone, you are the whole world.

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #7 on: September 13, 2012, 12:30:53 PM »
This isn't just a laptop problem. I suppose most people don't use suspend on desktops, but sometimes it could be useful. And if I try to there is no way of restoring the system. It worked on my last desktop.

But of course it's not that important on desktops.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #8 on: September 13, 2012, 12:32:37 PM »
This isn't just a laptop problem. I suppose most people don't use suspend on desktops, but sometimes it could be useful. And if I try to there is no way of restoring the system. It worked on my last desktop.

But of course it's not that important on desktops.


I use it regularly on my desktop, which is why I have to stick with 2.6.38 kernels ......  none of the later kernels allow this PC to do suspend properly .....  either S2R or S2D

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #9 on: September 13, 2012, 12:49:54 PM »
2 things.

1. There is a package called "hibernate" in the repo which is supposed to prepare the computer for this. Has anyone used it?

2. There are 2 versions of kernel in the repo for both 2.6 and 3.2 versions. Why?
kernel-2.6.38.8-pclos1 and kernel-2.6.38.8-pclos3.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1899
  • Certified Windows Hater
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #10 on: September 13, 2012, 12:59:00 PM »
2 things.

2. There are 2 versions of kernel in the repo for both 2.6 and 3.2 versions. Why?
kernel-2.6.38.8-pclos1 and kernel-2.6.38.8-pclos3.


http://www.pclinuxos.com/forum/index.php/topic,106664.0.html
« Last Edit: September 13, 2012, 01:11:31 PM by agmg »
For the whole world, you are someone.
For someone, you are the whole world.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10654
  • MLUs Forever!
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #11 on: September 13, 2012, 01:01:11 PM »
2 things.

1. There is a package called "hibernate" in the repo which is supposed to prepare the computer for this. Has anyone used it?


The package 'suspend' which is the default on PCLOS I believe, does both S2R and S2D




MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #12 on: September 13, 2012, 01:39:56 PM »
So that rules out a solution with "hibernate"

Also even though I roughly get what is KMS, I do not know what is the exact implications of it.
I believe it will be better for me to go with pclos3 version then.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #13 on: September 13, 2012, 02:50:58 PM »
This isn't just a laptop problem. I suppose most people don't use suspend on desktops, but sometimes it could be useful. And if I try to there is no way of restoring the system. It worked on my last desktop.

But of course it's not that important on desktops.


I use it regularly on my desktop, which is why I have to stick with 2.6.38 kernels ......  none of the later kernels allow this PC to do suspend properly .....  either S2R or S2D

I've tried downgrading to kernel 2.6.38 on both my 64 bit systems. Suspend still didn't work. (Or actually the suspend part of suspending to RAM appeared to work; reawakening the system didn't.) I suppose I have to test it on my normal 32 bit system tomorrow.  :( :'(
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Unable resume from suspend to RAM in AMD E450 laptop
« Reply #14 on: September 21, 2012, 10:23:47 AM »
It must have been the video driver. I just tried the 12.9 driver from AMD in my test install and it works. Both suspend and hibernate.
So there is hope yet :) that once it lands in our repository my laptop will be fully functional.
-SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6