* suspend/resume success and failure report and questions
@ 2004-07-10 8:30 Norbert Preining
2004-07-11 16:00 ` Alexander Gran
2004-07-13 19:36 ` Pavel Machek
0 siblings, 2 replies; 4+ messages in thread
From: Norbert Preining @ 2004-07-10 8:30 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton
Hi friends!
I want to report on success and failure of suspend2disk and suspend2ram.
First, here the specs of my laptop/software:
- kernel 2.6.7-mm5
- debian/sid
- acer travelmate 654LCi
- graphic: radeon mobility m7 (7500)
What is working:
- Suspend2Disk via pmdisk (echo -n disk > /sys/power/state)
Nice thing is that it even works with uhci and ehci compiled
into the kernel AND X running with agp and dri AND radeon
framebuffer. So this is really nice and suprising for me.
Interestingly, I have to stop mysql server, otherwise it wouldn't
suspend (cannot stop tasks)
But generally, big thanks to the pmdisk developer(s), it is
working great! Even multiple suspend/resume cycles etc.
Only thing I am missing is some way of post-resume script.
- partial Suspend2Ram via mem > /sys/power/state
Here all the usb stuff has to be compile modular and has to be
unloaded, no radeon framebuffer and no X is allowed.
Then suspend to ram works, resume too, but the video card is
not initialized again. Black screen. But I can shut down.
What is not working:
- S2R
framebuffer
X
usb
restoring of video output
- general
clock is completely wrong - where is a post-resume script (see below)
What I don't know/haven't tested till now:
- wlan drivers (orinoco)
- network drivers (b44)
- acerhk working
So now here are my questions:
- Is it possible to get S2R to the level of S2D without problems?
- is there a way to get things done BEFORE the suspend (this I managed via
the acpi script), but also AFTER the resume.
I need this for fixing the clock and starting mysql and some more stuff
probably
Best wishes
Norbert
-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at> Technische Universität Wien
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
TUMBY (n.)
The involuntary abdominal gurgling which fills the silence following
someone else's intimate personal revelation.
--- Douglas Adams, The Meaning of Liff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: suspend/resume success and failure report and questions
2004-07-10 8:30 suspend/resume success and failure report and questions Norbert Preining
@ 2004-07-11 16:00 ` Alexander Gran
2004-07-13 19:36 ` Pavel Machek
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Gran @ 2004-07-11 16:00 UTC (permalink / raw)
To: linux-kernel
Am Samstag, 10. Juli 2004 10:30 schrieben Sie:
> - general
> clock is completely wrong - where is a post-resume script (see below)
Same here. The kernelclock is restored after resuming, but not set to the rtc.
> - Is it possible to get S2R to the level of S2D without problems?
Not yet, I suppose. But "we" are working in this area.
> - is there a way to get things done BEFORE the suspend (this I managed via
> the acpi script), but also AFTER the resume.
Don't know. With acpid or apmd this could work.
regards
Alex
--
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: suspend/resume success and failure report and questions
2004-07-10 8:30 suspend/resume success and failure report and questions Norbert Preining
2004-07-11 16:00 ` Alexander Gran
@ 2004-07-13 19:36 ` Pavel Machek
2004-07-13 20:01 ` Norbert Preining
1 sibling, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2004-07-13 19:36 UTC (permalink / raw)
To: Norbert Preining; +Cc: linux-kernel, Andrew Morton
Hi!
> But generally, big thanks to the pmdisk developer(s), it is
> working great! Even multiple suspend/resume cycles etc.
> Only thing I am missing is some way of post-resume script.
echo 4 > /proc/acpi/sleep; post_resume_script
> - partial Suspend2Ram via mem > /sys/power/state
> Here all the usb stuff has to be compile modular and has to be
> unloaded, no radeon framebuffer and no X is allowed.
> Then suspend to ram works, resume too, but the video card is
> not initialized again. Black screen. But I can shut down.
>
See video.txt. Perhaps usb & radeon need some more
suspend/resume support?
> - network drivers (b44)
Should work ok.
> - is there a way to get things done BEFORE the suspend (this I managed via
> the acpi script), but also AFTER the resume.
> I need this for fixing the clock and starting mysql and some more stuff
Yes.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: suspend/resume success and failure report and questions
2004-07-13 19:36 ` Pavel Machek
@ 2004-07-13 20:01 ` Norbert Preining
0 siblings, 0 replies; 4+ messages in thread
From: Norbert Preining @ 2004-07-13 20:01 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel, Andrew Morton
Hi Pavel!
On Die, 13 Jul 2004, Pavel Machek wrote:
> > Only thing I am missing is some way of post-resume script.
>
> echo 4 > /proc/acpi/sleep; post_resume_script
Thanks for this, I realized it after playing around a bit.
> > - partial Suspend2Ram via mem > /sys/power/state
>
> See video.txt. Perhaps usb & radeon need some more
> suspend/resume support?
Ok, I have to get this patched video driver to work, means recompiling
debian/sid package with this fix.
For usb, no idea, but I can live with /etc/init.d/hotplug stop ; sleep ;
... start.
> > - network drivers (b44)
>
> Should work ok.
They do, meanwhile I have tested them.
And orinoco from cvs also works.
Thanks a lot and best wishes
Norbert
-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at> Technische Universität Wien
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
TYNE and WEAR (nouns)
The 'Tyne' is the small priceless or vital object accidentally dropped
on the floor (e.g. diamond tie clip, contact lens) and the 'wear' is
the large immovable object (e.g. Welsh dresser, car-crusher) that it
shelters under.
--- Douglas Adams, The Meaning of Liff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-13 21:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-10 8:30 suspend/resume success and failure report and questions Norbert Preining
2004-07-11 16:00 ` Alexander Gran
2004-07-13 19:36 ` Pavel Machek
2004-07-13 20:01 ` Norbert Preining
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®