From: Andre Eisenbach <andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
To: ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: _PTS call hangs system
Date: Tue, 14 Sep 2004 20:40:09 -0700 [thread overview]
Message-ID: <200409142040.09569.andre@eisenbach.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
Hey guys!
I've done some more debugging to figure out why my notebook won't shut down
anymore. To recap, it works up to 2.8.6.1-mm3, but no kernel thereafter.
The following call in /drivers/acpi/hardware/hwsleep.c hangs:
status = acpi_evaluate_object (NULL, METHOD_NAME__PTS, &arg_list, NULL);
This is in acpi_enter_sleep_state_prep().
When I comment out that line, it continues on just fine and shuts off.
I'm very surprised by this, since a diff -ru between mm3 and mm4 brings up no
changes in drivers/acpi at all. So I don't know why it works in mm3 and not
mm4 (and above).
Also, I've put Debug statements in my DSDT in the _PTS function, but somehow
they are not printed to the console (or dmesg), even so I have
CONFIG_ACPI_DEBUG=y
CONFIG_PM_DEBUG=y
in my kernel config.
Somehow I had managed to get the DSDT debug strings onto the console once
before, but I forgot how to do it. Any tips would be appreciated.
Belo is my DSDT code, method _PTS for reference.
I've downloaded the ACPI specs and will try to read up on what PTS is supposed
to do. Maybe I'll come up with something.
Meanwhile, if you guys have any ideas, please let me know!
Thanks so much for your help!
Regards,
Andre
--- SNIPP ---
Method (_PTS, 1, NotSerialized)
{
If (LEqual (Arg0, 0x01)) {}
If (LEqual (Arg0, 0x03))
{
Store (0x01, \_SB.PCI0.ISA.EC0.WORE)
Store (0x00, \_SB.PCI0.PMU.LLOW)
Store (0x01, \_SB.PCI0.PMU.LHGH)
}
If (LEqual (Arg0, 0x04))
{
Store (0x01, \_SB.PCI0.ISA.EC0.S4FG)
Store (0x00, \_SB.PCI0.ISA.EC0.WORE)
\_SB.PCI0.ISA.HPSS (0x18, 0x00)
}
If (LEqual (Arg0, 0x05))
{
Store (0x00, \_SB.PCI0.ISA.EC0.WORE)
If (\_SB.PCI0.ISA.WOLE)
{
Store (0x01, \_SB.PCI0.ISA.EC0.WOLE)
}
Else
{
Store (0x00, \_SB.PCI0.ISA.EC0.WOLE)
}
\_SB.PCI0.ISA.HPSS (0x02, 0x00)
Sleep (0x07D0)
}
}
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next reply other threads:[~2004-09-15 3:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-15 3:40 Andre Eisenbach [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-16 11:23 re:_PTS call hangs system Starikovskiy, Alexey Y
[not found] ` <6EDC9204B3704C4C8522539D5C1185E5244239-g/v8ENnfjb4gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-16 17:33 ` _PTS " Andre Eisenbach
2004-09-16 18:05 Starikovskiy, Alexey Y
[not found] ` <6EDC9204B3704C4C8522539D5C1185E52443B0-g/v8ENnfjb4gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-17 10:45 ` Andre Eisenbach
[not found] <6EDC9204B3704C4C8522539D5C1185E524462D@mssmsx403.ccr.corp.intel.com>
[not found] ` <6EDC9204B3704C4C8522539D5C1185E524462D-g/v8ENnfjb4gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-17 21:58 ` Andre Eisenbach
2004-09-20 8:05 Starikovskiy, Alexey Y
[not found] ` <6EDC9204B3704C4C8522539D5C1185E52449B7-g/v8ENnfjb4gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-20 21:30 ` Andre Eisenbach
[not found] ` <200409201430.06459.andre-+hZUvIEKc2q1Z/+hSey0Gg@public.gmane.org>
2004-09-24 14:03 ` Stefan Seyfried
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200409142040.09569.andre@eisenbach.com \
--to=andre-+hzuviekc2q1z/+hsey0gg@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox