public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q: swsusp with S5 instead of S4?
@ 2005-05-02 21:13 Ian E. Morgan
  2005-05-30 23:48 ` Jim Crilly
  0 siblings, 1 reply; 7+ messages in thread
From: Ian E. Morgan @ 2005-05-02 21:13 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: pavel

I'm using swsusp on my new HP dv1000 notebook. In general most everything
works just fine, in terms of general computing anyways, after resume.

However, some of the ancilary functions, such as LCD brightness, RF kill
switch, and volume mute button do not work after resuming.

Figuring that some hardware parameters were not being restored, I verified
that by forcing a cold boot (boot up to GRUB, issue the 'halt' command to
power off, then power on again and let the kernel resume from swsusp),
everything works perfectly again just as it should because the BIOS takes
care of the initialisation then, which it normally skips after a soft-off/S4.

Asside from trying to figure out exactly what hardware parameteres are not
being saved/restored, I'm happy to let the BIOS initialise those things.
But, I need a way to perform a normal power-off/S5 after swsusp instead of a
soft-off/S4 so that I don't have to go though the double-grub-boot process
every time. Can this be done?

Regards,
Ian Morgan

-- 
-------------------------------------------------------------------
  Ian E. Morgan          Vice President & C.O.O.       Webcon, Inc.
  imorgan at webcon dot ca       PGP: #2DA40D07       www.webcon.ca
     *  Customized Linux Network Solutions for your Business  *
-------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Q: swsusp with S5 instead of S4?
@ 2005-05-02 21:49 Pavel Machek
  2005-05-30 19:53 ` Ian E. Morgan
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2005-05-02 21:49 UTC (permalink / raw)
  To: kernel list; +Cc: imorgan

[now cc-ed l-k, sorry for duplicate]

Hi!

> works just fine, in terms of general computing anyways, after resume.
> 
> However, some of the ancilary functions, such as LCD brightness, RF kill
> switch, and volume mute button do not work after resuming.
> 
> Figuring that some hardware parameters were not being restored, I verified
> that by forcing a cold boot (boot up to GRUB, issue the 'halt' command to
> power off, then power on again and let the kernel resume from swsusp),
> everything works perfectly again just as it should because the BIOS takes
> care of the initialisation then, which it normally skips after a 
> soft-off/S4.
> 
> Asside from trying to figure out exactly what hardware parameteres are not
> being saved/restored, I'm happy to let the BIOS initialise those things.
> But, I need a way to perform a normal power-off/S5 after swsusp instead of a
> soft-off/S4 so that I don't have to go though the double-grub-boot process
> every time. Can this be done?

echo shutdown > /sys/power/disk should do that. If it does
not... well, see what is different in those two codepaths...

							Pavel
-- 
Boycott Kodak -- for their patent abuse against Java.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-31 17:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02 21:13 Q: swsusp with S5 instead of S4? Ian E. Morgan
2005-05-30 23:48 ` Jim Crilly
2005-05-31 14:35   ` Ian E. Morgan
2005-05-31 17:14     ` Jim Crilly
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02 21:49 Pavel Machek
2005-05-30 19:53 ` Ian E. Morgan
2005-05-30 21:35   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox