Re: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT]

From: Sanjoy Mahajan
Date: Thu Mar 23 2006 - 20:15:45 EST


>> So perhaps I should bisect in _SST and put in the debug lines there?
>> Here's another idea, which is a terrible hack. But there are lots of
>> lines in the DSDT like
>> If (LOr (SPS, WNTF))
>> which I imagine is saying "If something or if WinNT". So,
>> what if Linux
>> pretends to be WinNT (or W98F -- which is another common
>> test), at least
>> for the 600x? Maybe those code paths are known to work.
>>

> Yes, you can try that.

I tried the patch below.

It went to sleep fine. It wouldn't wake up with the Fn key or
closing/opening the lid (both methods wake up Linux sleep). But the
power switch did the trick, and it made it through most of the wakeup.
But the screen came back toofull of garbage and not taking keyboard
input (at least not to X), and it might have been stuck in PCI0._INI.
That was the last Execute Method on the serial console, and after that
line it was just printing dots one at a time: .......

So I had to power it down (by holding the power switch until it turned
off) and could never try the second sleep.

-Sanjoy


summary: Pretend to be Windows 98 in DSDT.

diff -r bf1b330b9a7f -r 8109ef6f6d19 dsdt/600x.dsl
--- a/dsdt/600x.dsl Tue Mar 21 12:11:19 2006 -0500
+++ b/dsdt/600x.dsl Thu Mar 23 19:49:10 2006 -0500
@@ -1090,7 +1090,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1,
})
Method (_INI, 0, NotSerialized)
{
- If (LEqual (SCMP (\_OS, "Microsoft Windows"), Zero))
+ If (One) /* LEqual (SCMP (\_OS, "Microsoft Windows"), Zero)) */
{
Store (One, W98F)
}




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/