Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: hiro on August 02, 2011, 07:08:06 AM

Title: suspend
Post by: hiro 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?
Title: Re: suspend
Post by: Juanito 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?
Title: Re: suspend
Post by: hiro 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.
Title: Re: suspend
Post by: Juanito 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
Title: Re: suspend
Post by: hiro 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.
Title: Re: suspend
Post by: hiro 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.
Title: Re: suspend
Post by: Juanito on August 02, 2011, 10:54:54 AM
'glad to hear things are starting to work..
Title: Re: suspend
Post by: hiro 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