ASL help with latest acpi and compaq presario 2800t
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings.
I have been running nicely on my presario 2800t for a while, but with kernel 2.4.18 and a pretty old acpi version.
So, what better to do on a lazy sunday than try and upgrade to 2.4.21-pre4 and the newest acpi? :)
I pulled down the 2.4.21-pre4 kernel. Applied the acpi-20030125-2.4.21-pre3.diff.gz diff to it.
Then applied the patch-acpi-acpi20030125-swsusp18.gz software suspend+acpi patch to that.
First I tried just compiling that and seeing how acpi would work. It came up, but of course with no battery/ac, etc due to the broken compaq dsdt.
So, I pulled down acpidump and iasl-linux-20030123.tar.gz dumped out the dsdt and tried to compile it.
56 errors.
I first fixed all the "String must be entirely alphanumeric" errors (compaq seems to like putting * in all their names.)
I realize it's against the spec, but could something be added to change * to nothing if it finds it in a Name?
Fixing those got me down to 21 errors.
(Worth noting that at this point with the old iasl I was using with 2.4.18 there were no further errors here).
Any ideas on any of these:
dsdt.asl-2003-02-09 168: If(\_OSI) {
Error 1028 - Too few arguments ^ (\_OSI requires 1)
dsdt.asl-2003-02-09 169: "Windows 2001"
Error 1037 - ^ parse error, unexpected PARSEOP_STRING_LITERAL
dsdt.asl-2003-02-09 1918: Method(_OFF) {
Warning 2019 - Not all control paths return a value ^ (_OFF)
dsdt.asl-2003-02-09 2206: Method(_OFF) {
Warning 2019 - Not all control paths return a value ^ (_OFF)
dsdt.asl-2003-02-09 2291: Name(_HID, "*SYN0100")
Error 1068 - String must be entirely alphanumeric ^ (*SYN0100)
dsdt.asl-2003-02-09 3293: Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg1), )), Local0, )), Local1, )), Local2)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3318: Subtract(C1BA, 0x0aac, Local1)
Error 1022 - Object does not exist ^ (C1BA)
dsdt.asl-2003-02-09 3321: Subtract(C1BB, 0x0aac, Local1)
Error 1022 - Object does not exist ^ (C1BB)
dsdt.asl-2003-02-09 3362: Store(Match(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg0), )), 0x1, )), MGT, Local1, MTR, 0x0, 0x0), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3365: Store(Match(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg0), )), 0x0, )), MGT, Local1, MTR, 0x0, 0x0), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3385: Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg1), )), 0x1, )), Arg0, )), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3388: Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg1), )), 0x0, )), Arg0, )), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3428: Return(C1C9(0x1, C1B0))
Error 1022 - Object does not exist ^ (C1B0)
dsdt.asl-2003-02-09 3431: C1CA(0x1, C1B0)
Error 1022 - Object does not exist ^ (C1B0)
dsdt.asl-2003-02-09 3434: C1CB(0x1, C1B1)
Error 1022 - Object does not exist ^ (C1B1)
dsdt.asl-2003-02-09 3439: Return(C1C9(0x2, C1B1))
Error 1022 - Object does not exist ^ (C1B1)
dsdt.asl-2003-02-09 3318: Subtract(C1BA, 0x0aac, Local1)
Error 1022 - Object does not exist ^ (C1BA)
dsdt.asl-2003-02-09 3321: Subtract(C1BB, 0x0aac, Local1)
Error 1022 - Object does not exist ^ (C1BB)
dsdt.asl-2003-02-09 3362: Store(Match(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg0), )), 0x1, )), MGT, Local1, MTR, 0x0, 0x0), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3365: Store(Match(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg0), )), 0x0, )), MGT, Local1, MTR, 0x0, 0x0), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3385: Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg1), )), 0x1, )), Arg0, )), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3388: Store(DerefOf(Index(DerefOf(Index(DerefOf(Index(C1AF, C1CD(Arg1), )), 0x0, )), Arg0, )), Local0)
Error 1022 - Object does not exist ^ (C1AF)
dsdt.asl-2003-02-09 3428: Return(C1C9(0x1, C1B0))
Error 1022 - Object does not exist ^ (C1B0)
dsdt.asl-2003-02-09 3431: C1CA(0x1, C1B0)
Error 1022 - Object does not exist ^ (C1B0)
dsdt.asl-2003-02-09 3434: C1CB(0x1, C1B1)
Error 1022 - Object does not exist ^ (C1B1)
dsdt.asl-2003-02-09 3439: Return(C1C9(0x2, C1B1))
Error 1022 - Object does not exist ^ (C1B1)
dsdt.asl-2003-02-09 3442: C1CA(0x2, C1B1)
Error 1022 - Object does not exist ^ (C1B1)
dsdt.asl-2003-02-09 3445: C1CB(0x2, C1B2)
Error 1022 - Object does not exist ^ (C1B2)
dsdt.asl-2003-02-09 3450: Return(C1C9(0x4, C1B2))
Error 1022 - Object does not exist ^ (C1B2)
dsdt.asl-2003-02-09 3453: C1CA(0x4, C1B2)
Error 1022 - Object does not exist ^ (C1B2)
dsdt.asl-2003-02-09 3456: C1CB(0x4, C1B3)
Error 1022 - Object does not exist ^ (C1B3)
dsdt.asl-2003-02-09 3461: Return(C1C9(0x8, C1B3))
Error 1022 - Object does not exist ^ (C1B3)
dsdt.asl-2003-02-09 3464: C1CA(0x8, C1B3)
Error 1022 - Object does not exist ^ (C1B3)
My dsdt.asl is located at:
http://www.scrye.com/~kevin/acpi-2003-02-09/dsdt.asl
Most of those look like thermal handling issues. Commenting those problems out or telling iasl to ignore them for now, I stick my custon dsdt.hex file into the 2.4.21-pre4 kernel and boot and I get:
tbget-0273: *** Info: Table [DSDT] replaced by host OS
tbrsdt-0208: *** Error: Invalid signature where RSDP indicates RSDT/XSDT should be located RSDT/XSDT signature at 2FFF0C84 (2fff0c84) is invalid
tbxface-0085: *** Error: acpi_load_tables: Could not load RSDT: AE_BAD_SIGNATURE
tbxface-0115: *** Error: acpi_load_tables: Could not load tables: AE_BAD_SIGNATURE Unable to load the System Description Tables
Anyone have any ideas on the problem there?
Back to 2.4.18 for now I guess.
Any help or pointers would be appreciated.
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQE+RvYE3imCezTjY0ERArt2AJ4vV/Ka8eZp3Hu5rJkEan+Lk6MshACeJz/R F3IkoiDztOr8GOudpNgW6t0=
=FBk3
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): 20030210004452.1978.qmail-+bl/[email protected]
Quoted 32 lines · Kevin Fenzi
Greetings.
I have been running nicely on my presario 2800t for a while, but with kernel 2.4.18 and a pretty old acpi version.
So, what better to do on a lazy sunday than try and upgrade to 2.4.21-pre4 and the newest acpi? :)
I pulled down the 2.4.21-pre4 kernel. Applied the acpi-20030125-2.4.21-pre3.diff.gz diff to it.
Then applied the patch-acpi-acpi20030125-swsusp18.gz software suspend+acpi patch to that.First I tried just compiling that and seeing how acpi would work. It came up, but of course with no battery/ac, etc due to the broken compaq dsdt.
So, I pulled down acpidump and iasl-linux-20030123.tar.gz dumped out the dsdt and tried to compile it.
56 errors.
I first fixed all the "String must be entirely alphanumeric" errors (compaq seems to like putting * in all their names.)
I realize it's against the spec, but could something be added to change * to nothing if it finds it in a Name?Fixing those got me down to 21 errors.
(Worth noting that at this point with the old iasl I was using with 2.4.18 there were no further errors here).
Quoted 6 lines
Any ideas on any of these:
dsdt.asl-2003-02-09 168:
If(\_OSI){
Error 1028 - Too few arguments ^ (\_OSI requires 1)
dsdt.asl-2003-02-09 169: "Windows 2001"
Error 1037 - ^ parse error, unexpectedPARSEOP_STRING_LITERAL
Try:
dsdt.asl +4 -5
@@ -165,8 +165,7 @@ } If(LOr(LEqual(C009, 0x0), LEqual(C009, 0x3))) { If(CondRefOf(\_OSI, Local0)) { - If(\_OSI) { - "Windows 2001" + If(\_OSI("Windows 2001")) { Store(0x4, C009) } }
@@ -1916,7 +1915,7 @@ } Method(_OFF) { If(LOr(\_SB_.C020, LEqual(0x0, 0x1))) { - Return(0x0) + /* Return(0x0) */ } C132(0x3, 0x0) }
@@ -2202,7 +2201,7 @@ } Method(_OFF) { If(LOr(\_SB_.C023, LEqual(0x0, 0x1))) { - Return(0x0) + /* Return(0x0) */ } C132(0x1, 0x0) }
@@ -2285,7 +2284,7 @@ } } Scope(C162) { - Name(_HID, "*SYN0100") + Name(_HID, "SYN0100") Name(_CID, Package(0x2) { 0x02002e4f, 0x130fd041,
Alas, your DSDT do not contains some of the objects not found. This is likely because you have SDST tables which contains them. You need to force the compilation.
Signature · 10 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): 20030210135740.GG25625-j6u/t2rXLliUoIHC/UFpr9i2O/[email protected]
2.4.21-pre4 + ACPI + Suspend .... Vaio FX401
Firstly, a big thank-you to all who are developing / testing ACPI, it's made life bearable on my laptop :)
A quick question though ... is S3 "snooze" available on the 2.4 series yet, or do I have to start playing with a 2.5 kernel for that?
Again thanks for all your work ...
Proinnsias
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): 1044887004.5575.20.camel-V9GawtfkaPPU6mh3c+q0YFaTQe2KTcn/@public.gmane.org
Re: 2.4.21-pre4 + ACPI + Suspend .... Vaio FX401
Quoted 6 lines · Proinnsias (Dublin)
Firstly, a big thank-you to all who are developing / testing ACPI, it's made life bearable on my laptop :)
A quick question though ... is S3 "snooze" available on the 2.4 series yet, or do I have to start playing with a 2.5 kernel for that?
S3 will be unlikely never ported to 2.4.
Signature · 10 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com
* Ducrot Bruno <[email protected]> skribis 2003-02-10 09:00:
Quoted 6 lines · Kevin Fenzi
Quoted 5 lines
I have been running nicely on my presario 2800t for a while, but with kernel 2.4.18 and a pretty old acpi version.
So, what better to do on a lazy sunday than try and upgrade to 2.4.21-pre4 and the newest acpi? :)
Great minds think alike. I also decided this week-end to update the kernel on my 2800T, and ran into similar problems as you describe.
Quoted 7 lines
Try:
(*snipped changes*)
Alas, your DSDT do not contains some of the objects not found. This is likely because you have SDST tables which contains them. You need to force the compilation.
Thanks Bruno! Those changes worked beautifully. After ignoring the "Object does not exist" errors generated by the compile, the produced dsdt.hex works great.
Kevin: i've placed my modified dsdt.asl on my website:
http://www.wpi.edu/~flicken/linux/laptop/dsdt.asl It includes the
changes Bruno describes, as well as changes the names to more sensible things (ie. FAN0 instead of C1D4).
Cheers,
Noel
Signature · 10 lines
(o_ the penguin says: //\ "Cxiu tial havas sian kial." V_/_ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"flicken" == Noel Flicken <[email protected]> writes:
flicken> * Ducrot Bruno <[email protected]> skribis 2003-02-10 flicken> 09:00:
Quoted 6 lines
Quoted 6 lines
On Sun, Feb 09, 2003 at 05:44:48PM -0700, Kevin Fenzi wrote: > I have been running nicely on my presario 2800t for a while, but with
Quoted 3 lines
kernel 2.4.18 and a pretty old acpi version.
So, what better to do on a lazy sunday than try and upgrade to >
2.4.21-pre4 and the newest acpi? :)
flicken> Great minds think alike. I also decided this week-end to flicken> update the kernel on my 2800T, and ran into similar problems flicken> as you describe.
Quoted 7 lines
Quoted 7 lines
Try:
(*snipped changes*)
Alas, your DSDT do not contains some of the objects not found. This is likely because you have SDST tables which contains them. You need to force the compilation.
flicken> Thanks Bruno! Those changes worked beautifully. After flicken> ignoring the "Object does not exist" errors generated by the flicken> compile, the produced dsdt.hex works great.
flicken> Kevin: i've placed my modified dsdt.asl on my website:
flicken> http://www.wpi.edu/~flicken/linux/laptop/dsdt.asl It includes flicken> the changes Bruno describes, as well as changes the names to flicken> more sensible things (ie. FAN0 instead of C1D4).
Thanks!
With that change and with the pointer from Faye Pearson <[email protected]> to add the right disgnature to my overriding dsdt, acpi works here with 2.4.21-pre4.
One remaining gotcha is that swsusp doesn't seem to work. When I 'echo 4 > /proc/acpi/sleep' the machine just locks. No status or anything.
I will go back and make sure I applied the swsup-acpi patch...
flicken> Cheers,
flicken> Noel
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQE+R9n83imCezTjY0ERAqkaAJsHv+mc3475yUrQrWCPDisoQua+owCffroL CSKE8dOUrynj8fw6PWcjDXw=
=1hZW
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com