Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Suspend doesnt work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Mon Sep 30, 2013 11:48 am    Post subject: Suspend doesnt work Reply with quote

Hi,
recently I found problem with suspending on my ThinkPad SL510. Sometimes it works, sometimes doesnt, but mostly it fails. There isnt problem with wakeup, but with suspending. Laptop freezes with black screen when trying to suspend. I should tell that I used to use it for years without problem.

I have tried:
- kernels 3.7, 3.8 and 3.10
- s2ram from sys-power/suspend and pm-suspend from sys-power/pm-utils
- look into /var/log/messages and dmesg

I have:
Code:
*  sys-power/pm-utils
      Latest version installed: 1.4.1-r2

*  sys-power/suspend
      Latest version installed: 1.0


$[FrostyX  ~]-> equery u pm-utils
 + + alsa               : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - debug              : Enable extra debug codepaths, like asserts and extra output. If you want to get
                          meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - ntp                : Install support for net-misc/ntp
 + + video_cards_intel  : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_radeon : VIDEO_CARDS setting to build driver for ATI radeon video cards

$[FrostyX  ~]-> equery u suspend
 + + crypt    : Allows suspend and resume from encrypted disk
 - - fbsplash : Add support for framebuffer splash
 - - threads  : Add threads support for various packages. Usually pthreads


My graphics card:
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


My drivers:
Code:
*  x11-drivers/xf86-video-intel
      Latest version installed: 2.20.13

$[FrostyX  ~]-> eselect mesa list
i915 (Intel 915, 945)
  [1]   classic
  [2]   gallium *
i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic
  [2]   gallium *


Logs:
Code:
sudo cat /var/log/messages |grep s2ram
# Only lines like this:
Sep 29 18:12:35 localhost sudo:  frostyx : TTY=pts/2 ; PWD=/home/frostyx ; USER=root ; COMMAND=/usr/sbin/s2ram

sudo cat /var/log/messages |grep suspend
# Only lines like this:
Sep 29 18:12:44 localhost sudo:  frostyx : TTY=tty1 ; PWD=/home/frostyx ; USER=root ; COMMAND=/usr/sbin/pm-suspend

$[FrostyX  ~]-> sudo dmesg |grep s2ram
$[FrostyX  ~]-> sudo dmesg |grep pm-suspend
$[FrostyX  ~]-> sudo dmesg |grep suspend
[    1.713408] hub 1-0:1.0: hub_suspend
[    1.713412] usb usb1: bus auto-suspend, wakeup 1
[    1.713415] ehci-pci 0000:00:1a.7: suspend root hub
[    1.737854] hub 2-0:1.0: hub_suspend
[    1.737858] usb usb2: bus auto-suspend, wakeup 1
[    1.737861] ehci-pci 0000:00:1d.7: suspend root hub
[    1.761046] hub 3-0:1.0: hub_suspend
[    1.761050] usb usb3: bus auto-suspend, wakeup 1
[    1.761053] usb usb3: suspend_rh
[    1.779035] hub 4-0:1.0: hub_suspend
[    1.779038] usb usb4: bus auto-suspend, wakeup 1
[    1.779040] usb usb4: suspend_rh
[    1.798075] hub 5-0:1.0: hub_suspend
[    1.798080] usb usb5: bus auto-suspend, wakeup 1
[    1.798083] usb usb5: suspend_rh
[    1.816497] hub 6-0:1.0: hub_suspend
[    1.816501] usb usb6: bus auto-suspend, wakeup 1
[    1.816503] usb usb6: suspend_rh
[    1.835044] hub 7-0:1.0: hub_suspend
[    1.835048] usb usb7: bus auto-suspend, wakeup 1
[    1.835049] usb usb7: suspend_rh
[    1.891032] hub 8-0:1.0: hub_suspend
[    1.891036] usb usb8: bus auto-suspend, wakeup 1
[    1.891039] usb usb8: suspend_rh
[   30.661641] uhci_hcd 0000:00:1a.0: uhci_pci_suspend
[   30.661768] uhci_hcd 0000:00:1a.0: hcd_pci_runtime_suspend: 0
[   30.662201] uhci_hcd 0000:00:1a.1: uhci_pci_suspend
[   30.662296] uhci_hcd 0000:00:1a.1: hcd_pci_runtime_suspend: 0
[   30.662699] uhci_hcd 0000:00:1a.2: uhci_pci_suspend
[   30.662794] uhci_hcd 0000:00:1a.2: hcd_pci_runtime_suspend: 0
[   30.663305] ehci-pci 0000:00:1a.7: hcd_pci_runtime_suspend: 0
[   30.676461] uhci_hcd 0000:00:1d.0: uhci_pci_suspend
[   30.676559] uhci_hcd 0000:00:1d.0: hcd_pci_runtime_suspend: 0
[   30.676949] uhci_hcd 0000:00:1d.1: uhci_pci_suspend
[   30.677058] uhci_hcd 0000:00:1d.1: hcd_pci_runtime_suspend: 0
[   30.677453] uhci_hcd 0000:00:1d.2: uhci_pci_suspend
[   30.677545] uhci_hcd 0000:00:1d.2: hcd_pci_runtime_suspend: 0
[   30.678027] ehci-pci 0000:00:1d.7: hcd_pci_runtime_suspend: 0
[   31.953041] usb usb4: suspend_rh (auto-stop)
[   31.953057] usb usb3: suspend_rh (auto-stop)
[   32.203067] usb usb6: suspend_rh (auto-stop)
[   32.203073] usb usb5: suspend_rh (auto-stop)
[   32.203107] usb usb8: suspend_rh (auto-stop)
[   32.203114] usb usb7: suspend_rh (auto-stop)


My emerge --info is here http://pastebin.com/v1dcHGbc


Can you please help me fix my problem? Its very frustrating. Mainly in school.
Thank you, FrostyX
Back to top
View user's profile Send private message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Wed Oct 02, 2013 9:46 am    Post subject: Reply with quote

By tip from IRC I changed galium drivers to classic.
Code:
$[FrostyX  ~]-> eselect mesa list
i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic *
  [2]   gallium

Unfortunatelly didnt help
Back to top
View user's profile Send private message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Mon Oct 07, 2013 4:47 am    Post subject: Reply with quote

I have also tried
Code:
echo mem > /sys/power/state

but it didnt work either.

Also I have updated and etc-updated my system. Of course still same problem.
Back to top
View user's profile Send private message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Tue Oct 08, 2013 6:23 pm    Post subject: Reply with quote

I am one step closer to solution.
I found that suspending works only when I am on AC adapter. When laptop runs from battery it always fails.
Back to top
View user's profile Send private message
FrostyX
n00b
n00b


Joined: 13 Mar 2012
Posts: 59
Location: Czech Republic

PostPosted: Sun Nov 24, 2013 1:05 pm    Post subject: Reply with quote

Also tried:

  • sys-kernel/hardened-sources
  • sys-kernel/vanilla-sources
  • sys-kernel/tuxonice-sources


None of them helped
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum