WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: suspend  (Read 2805 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
suspend
« on: August 02, 2011, 07:08:06 AM »
suspend hasn't been working here for a long time now. Not even from a base norestore boot.

Does anybody still have a working scenario for s2ram?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: suspend
« Reply #1 on: August 02, 2011, 07:55:14 AM »
Working with what, Xvesa or Xorg-7.5?

The reason I ask is that suspend works for me (the last time I tried anyway) with Xvesa and Xorg-7.4, but not Xorg-7.5.

Does the in-kernel way:
Code: [Select]
echo -n "mem" | sudo tee /sys/power/state >/dev/null
..work for you?

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend
« Reply #2 on: August 02, 2011, 08:04:09 AM »
Neither Xorg-7.5, nor Xvesa. When I kill X I can't even suspend from console.
The pc always freezes in console mode before properly suspending.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: suspend
« Reply #3 on: August 02, 2011, 08:09:27 AM »
Is your machine on the whitelist or otherwise mentioned here:

http://en.opensuse.org/SDB:Suspend_to_RAM

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend
« Reply #4 on: August 02, 2011, 08:39:36 AM »
It's a thinkpad x60s with an intel graphics card, which used to work out of the box in older tinycore releases.
When I remove my sd card suspending works but the pc doesn't wake up any more. Hard drives start spinning, but sleep led stays on and display off.
I'll try some quirks from that suse page.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend
« Reply #5 on: August 02, 2011, 09:38:14 AM »
This is so strange.

After realizing it not being a graphics problem I changed some random BIOS settings (must have been hidden modem or serial device or something like that)  and now resume works (with Xorg-7.5).

My original problem can now be narrowed down to the following device:
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
When I have my tce on an SD card suspend doesn't work because it can't be unmounted.
I'm still searching for a fix for this.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: suspend
« Reply #6 on: August 02, 2011, 10:54:54 AM »
'glad to hear things are starting to work..

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend
« Reply #7 on: August 02, 2011, 03:16:59 PM »
The sdhc driver doesn't suspend with a mounted tce dir, but I think it will be possible with newer kernels (not sure though how to find out the mainline kernel version where this patch got introduced) according to this post: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/202490/comments/142