* Re: Problems waking up from S3 (2.5.25-dj2)
[not found] ` <20020720170919.GA9308-V1rPnKwUOrA59+mn7qD7y50iERQUc4G+@public.gmane.org>
@ 2002-07-29 14:23 ` Pavel Machek
[not found] ` <20020729142333.GA977-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2002-07-29 14:23 UTC (permalink / raw)
To: Charl P. Botha; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> I would like to make use of the S3 (suspend to ram) sleep state.
Good.
> I've done
> the prerequisite searching on lists and on google, but it's difficult to
> find conclusive answers. It _seems_ that S3 _could_ be working on 2.5
> kernels, but it also seems that many people have had the problem of not
> being able to trigger a wake-up from S3.
S3 works for me, somehow on Omnibook XE3. Works once on toshiba
4030cdt. Crashes but can be solved by not calling bios on desktop
athlon.
> I have this same problem and would like to know what possible courses of
> action there are. I am experimenting with 2.5.25-dj2 (acpi-20020611
> integrated) on a i845 laptop with Phoenix BIOS 4.0 release 6. For the
> moment, swsusp will not work on this laptop (due to the fact that the Radeon
> has the switch to VT X freezing problem) so I'm looking at S3 as a temporary
> alternative.
Perhaps it is easier to make swsusp working?
> The laptop goes to sleep nicely when I do "echo 3 > /proc/acpi/sleep". It
> ends up with the power led flashing (which, according to documentation,
> should happen during S3) and everything quiet. However, nothing I do then
> can make it wake-up again: no amount of pressing keyboard keys, the power
> button, the sleep button, etc. will result in any activity. Eventually, I
> have to keep the power button depressed for 4 seconds after which the laptop
> actually switches off completely.
>
> My question is this: Is S3 supposed to work with this kernel? If so, how
> can I configure it (perhaps build new ACPI tables?) so that the laptop will
> wake-up from S3 sleep?
Yep.
> I saw this bit in hwsleep.c:
> /*
> * _PSW methods could be run here to enable wake-on keyboard, LAN, etc.
> */
> status = acpi_get_sleep_type_data (sleep_state,
> &acpi_gbl_sleep_type_a, &acpi_gbl_sleep_type_b);
>
> Which does look suspicious (in a good way) but I wouldn't know what to do
> with it.
There's some line you might want to comment out... lets see...
Comment this out:
status = acpi_hw_disable_non_wakeup_gpes();
if (ACPI_FAILURE (status)) {
return_ACPI_STATUS (status);
}
Pavel
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems waking up from S3 (2.5.25-dj2)
[not found] ` <20020729142333.GA977-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2002-07-29 14:32 ` Charl P. Botha
2002-07-29 14:37 ` Daniel Jacobowitz
1 sibling, 0 replies; 4+ messages in thread
From: Charl P. Botha @ 2002-07-29 14:32 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, Jul 29, 2002 at 04:23:33PM +0200, Pavel Machek wrote:
> > I have this same problem and would like to know what possible courses of
> > action there are. I am experimenting with 2.5.25-dj2 (acpi-20020611
> > integrated) on a i845 laptop with Phoenix BIOS 4.0 release 6. For the
> > moment, swsusp will not work on this laptop (due to the fact that the Radeon
> > has the switch to VT X freezing problem) so I'm looking at S3 as a temporary
> > alternative.
>
> Perhaps it is easier to make swsusp working?
Heh, you were right. I have since fixed the VT switch bug with the help of
Michel Dänzer and Mike Harris. That was still not enough to get swsusp
working, as the Radeon hardware does not get reconfigured correctly on
resume (this is not so easy).
So I modified the DRI drivers to de-init and re-init the Radeon with every
VT switch. People on this list might also be interested:
http://cpbotha.net/dri_reinit_kludge.html
Thanks for your help Pavel. I will have to try 2.5.x again later.
Best regards,
Charl
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems waking up from S3 (2.5.25-dj2)
[not found] ` <20020729142333.GA977-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2002-07-29 14:32 ` Charl P. Botha
@ 2002-07-29 14:37 ` Daniel Jacobowitz
[not found] ` <20020729143735.GA3691-8IREb8QmQ68pkBQKrCC3VA@public.gmane.org>
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-07-29 14:37 UTC (permalink / raw)
To: Pavel Machek; +Cc: Charl P. Botha, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, Jul 29, 2002 at 04:23:33PM +0200, Pavel Machek wrote:
> Hi!
>
> > I would like to make use of the S3 (suspend to ram) sleep state.
>
> Good.
>
> > I've done
> > the prerequisite searching on lists and on google, but it's difficult to
> > find conclusive answers. It _seems_ that S3 _could_ be working on 2.5
> > kernels, but it also seems that many people have had the problem of not
> > being able to trigger a wake-up from S3.
>
> S3 works for me, somehow on Omnibook XE3. Works once on toshiba
> 4030cdt. Crashes but can be solved by not calling bios on desktop
> athlon.
>
> > I have this same problem and would like to know what possible courses of
> > action there are. I am experimenting with 2.5.25-dj2 (acpi-20020611
> > integrated) on a i845 laptop with Phoenix BIOS 4.0 release 6. For the
> > moment, swsusp will not work on this laptop (due to the fact that the Radeon
> > has the switch to VT X freezing problem) so I'm looking at S3 as a temporary
> > alternative.
>
> Perhaps it is easier to make swsusp working?
>
> > The laptop goes to sleep nicely when I do "echo 3 > /proc/acpi/sleep". It
> > ends up with the power led flashing (which, according to documentation,
> > should happen during S3) and everything quiet. However, nothing I do then
> > can make it wake-up again: no amount of pressing keyboard keys, the power
> > button, the sleep button, etc. will result in any activity. Eventually, I
> > have to keep the power button depressed for 4 seconds after which the laptop
> > actually switches off completely.
> >
> > My question is this: Is S3 supposed to work with this kernel? If so, how
> > can I configure it (perhaps build new ACPI tables?) so that the laptop will
> > wake-up from S3 sleep?
>
> Yep.
>
> > I saw this bit in hwsleep.c:
> > /*
> > * _PSW methods could be run here to enable wake-on keyboard, LAN, etc.
> > */
> > status = acpi_get_sleep_type_data (sleep_state,
> > &acpi_gbl_sleep_type_a, &acpi_gbl_sleep_type_b);
> >
> > Which does look suspicious (in a good way) but I wouldn't know what to do
> > with it.
>
> There's some line you might want to comment out... lets see...
>
> Comment this out:
>
> status = acpi_hw_disable_non_wakeup_gpes();
> if (ACPI_FAILURE (status)) {
> return_ACPI_STATUS (status);
> }
With that change, my laptop doesn't even enter S3 any more - just locks up
with the screen and backlight still on.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems waking up from S3 (2.5.25-dj2)
[not found] ` <20020729143735.GA3691-8IREb8QmQ68pkBQKrCC3VA@public.gmane.org>
@ 2002-07-29 14:42 ` Pavel Machek
0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2002-07-29 14:42 UTC (permalink / raw)
To: Daniel Jacobowitz
Cc: Pavel Machek, Charl P. Botha,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > There's some line you might want to comment out... lets see...
> >
> > Comment this out:
> >
> > status = acpi_hw_disable_non_wakeup_gpes();
> > if (ACPI_FAILURE (status)) {
> > return_ACPI_STATUS (status);
> > }
>
> With that change, my laptop doesn't even enter S3 any more - just locks up
> with the screen and backlight still on.
That change is wrong thing to do, but if it helps this particular
person, we have a datapoint. So it is still worth trying.
Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-29 14:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20020720170919.GA9308@dutidad.twi.tudelft.nl>
[not found] ` <20020720170919.GA9308-V1rPnKwUOrA59+mn7qD7y50iERQUc4G+@public.gmane.org>
2002-07-29 14:23 ` Problems waking up from S3 (2.5.25-dj2) Pavel Machek
[not found] ` <20020729142333.GA977-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2002-07-29 14:32 ` Charl P. Botha
2002-07-29 14:37 ` Daniel Jacobowitz
[not found] ` <20020729143735.GA3691-8IREb8QmQ68pkBQKrCC3VA@public.gmane.org>
2002-07-29 14:42 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox