public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ASL help with latest acpi and compaq presario 2800t
@ 2003-02-10  0:44 Kevin Fenzi
       [not found] ` <20030210004452.1978.qmail-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Kevin Fenzi @ 2003-02-10  0:44 UTC (permalink / raw)
  To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----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

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

* ASL help with latest acpi and compaq presario 2800t
@ 2003-02-10  0:51 Kevin Fenzi
  0 siblings, 0 replies; 15+ messages in thread
From: Kevin Fenzi @ 2003-02-10  0:51 UTC (permalink / raw)
  To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----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

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

* Re: ASL help with latest acpi and compaq presario 2800t
       [not found] ` <20030210004452.1978.qmail-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org>
@ 2003-02-10 13:57   ` Ducrot Bruno
       [not found]     ` <20030210135740.GG25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Ducrot Bruno @ 2003-02-10 13:57 UTC (permalink / raw)
  To: Kevin Fenzi; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sun, Feb 09, 2003 at 05:44:48PM -0700, Kevin Fenzi wrote:
> 
> 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


Try:

--- dsdt.asl	2003/02/10 13:49:25	1.1
+++ dsdt.asl	2003/02/10 13:54:53
@@ -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.

-- 
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

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

* Re: ASL help with latest acpi and compaq presario 2800t
       [not found]     ` <20030210135740.GG25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
@ 2003-02-10 16:32       ` Noel Flicken
       [not found]         ` <20030210163230.GA31844-G7ypqgNYaQI3r0Ub5QXD9Q@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Noel Flicken @ 2003-02-10 16:32 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: Kevin Fenzi, Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

* Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> skribis 2003-02-10 09:00:
> 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
> > 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.

> 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

-- 
(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

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

* Re: ASL help with latest acpi and compaq presario 2800t
       [not found]         ` <20030210163230.GA31844-G7ypqgNYaQI3r0Ub5QXD9Q@public.gmane.org>
@ 2003-02-10 16:57           ` Kevin Fenzi
  0 siblings, 0 replies; 15+ messages in thread
From: Kevin Fenzi @ 2003-02-10 16:57 UTC (permalink / raw)
  To: Noel Flicken; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "flicken" == Noel Flicken <flicken-bQtQpA3LQaY@public.gmane.org> writes:

flicken> * Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> skribis 2003-02-10
flicken> 09:00:
>> 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
>> > 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.

>> 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
<faye-6JSjyQ0Qj1ReoWH0uzbU5w@public.gmane.org> 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

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

* RE: ASL help with latest acpi and compaq presario 2800t
@ 2003-02-10 21:25 Moore, Robert
       [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19BAA1-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Moore, Robert @ 2003-02-10 21:25 UTC (permalink / raw)
  To: 'Ducrot Bruno', Kevin Fenzi
  Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>>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.

Or add ASL "Extern" statements for each symbol that is not found.

I'm thinking about having the disassembler add extern statements
automatically.

Bob

-----Original Message-----
From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org] 
Sent: Monday, February 10, 2003 5:58 AM
To: Kevin Fenzi
Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] ASL help with latest acpi and compaq presario 2800t

On Sun, Feb 09, 2003 at 05:44:48PM -0700, Kevin Fenzi wrote:
> 
> 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


Try:

--- dsdt.asl	2003/02/10 13:49:25	1.1
+++ dsdt.asl	2003/02/10 13:54:53
@@ -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.

-- 
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
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* Re: ASL help with latest acpi and compaq presario 2800t
       [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19BAA1-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
@ 2003-02-11 14:51   ` Ducrot Bruno
  0 siblings, 0 replies; 15+ messages in thread
From: Ducrot Bruno @ 2003-02-11 14:51 UTC (permalink / raw)
  To: Moore, Robert
  Cc: 'Ducrot Bruno', Kevin Fenzi,
	Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi Bob,

On Mon, Feb 10, 2003 at 01:25:38PM -0800, Moore, Robert wrote:
> >>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.
> 
> Or add ASL "Extern" statements for each symbol that is not found.
> 
> I'm thinking about having the disassembler add extern statements
> automatically.
> 

Could we have something like this if those symbols are in
some SSDT tables?  It should be just fine, I guess.

Cheers,

-- 
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

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

* RE: ASL help with latest acpi and compaq presario 2800t
@ 2003-04-09  3:33 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F84272264-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Yu, Luming @ 2003-04-09  3:33 UTC (permalink / raw)
  To: Kevin Fenzi
  Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Brown, Len,
	Grover, Andrew, Moore, Robert

Is dsdt.asl modified version. I compiled it, and my error message is slightly different with yours.

Would you please send the original dsdt.asl to me?

Thanks,
Luming

-----Original Message-----
From: Kevin Fenzi [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org]
Sent: 2003?2?10? 8:51
To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [ACPI] 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
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

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

* RE: ASL help with latest acpi and compaq presario 2800t
       [not found] ` <3ACA40606221794F80A5670F0AF15F84272264-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-04-09 17:30   ` Kevin Fenzi
  0 siblings, 0 replies; 15+ messages in thread
From: Kevin Fenzi @ 2003-04-09 17:30 UTC (permalink / raw)
  To: Yu, Luming; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Is dsdt.asl modified version. I compiled it, and my error
Luming> message is slightly different with yours.  Would you please
Luming> send the original dsdt.asl to me?

You can get the dsdt.dat and dsdt.dsl from: 

http://www.scrye.com/~kevin/dsdt.dat-20030409
http://www.scrye.com/~kevin/dsdt.dsl-20030409

Those are from my laptop today using the iasl-20030228

Let me know if you need any more info. 

Luming> Thanks, Luming

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+lFil3imCezTjY0ERAiNVAJ0RbLT1+K532UBaz31tLeIODB6tAwCdF/OF
37iSC0J5jiZDJiEmC8G3QT8=
=5jP8
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

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

* RE: ASL help with latest acpi and compaq presario 2800t
@ 2003-04-28  9:29 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F842722C5-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Yu, Luming @ 2003-04-28  9:29 UTC (permalink / raw)
  To: Kevin Fenzi; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I have made a patch for fixing compiling time error of http://www.scrye.com/~kevin/dsdt.dsl-20030409
Would you please apply it and see what's unusual and send boot log to me.

42,51d41
< {
< 
< External (C1AF)
< External (C1BA)
< External (C1BB)
< External (C1B0)
< External (C1B1)
< External (C1B2)
< External (C1B3)
< 
52a43
> {
177,178c168,169
<                 If(\_OSI("Windows 2001")) 
< 		{
---
>                 If(\_OSI) {
>                     "Windows 2001"
2297c2288
<                 Name(_HID, "SYN0100")
---
>                 Name(_HID, "*SYN0100")


Thanks,
Luming


-----Original Message-----
From: Kevin Fenzi [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org]
Sent: 2003?4?10? 1:30
To: Yu, Luming
Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [ACPI] ASL help with latest acpi and compaq presario 2800t


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Is dsdt.asl modified version. I compiled it, and my error
Luming> message is slightly different with yours.  Would you please
Luming> send the original dsdt.asl to me?

You can get the dsdt.dat and dsdt.dsl from: 

http://www.scrye.com/~kevin/dsdt.dat-20030409
http://www.scrye.com/~kevin/dsdt.dsl-20030409

Those are from my laptop today using the iasl-20030228

Let me know if you need any more info. 

Luming> Thanks, Luming

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+lFil3imCezTjY0ERAiNVAJ0RbLT1+K532UBaz31tLeIODB6tAwCdF/OF
37iSC0J5jiZDJiEmC8G3QT8=
=5jP8
-----END PGP SIGNATURE-----


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* RE: ASL help with latest acpi and compaq presario 2800t
       [not found] ` <3ACA40606221794F80A5670F0AF15F842722C5-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-05-12 17:15   ` Kevin Fenzi
  0 siblings, 0 replies; 15+ messages in thread
From: Kevin Fenzi @ 2003-05-12 17:15 UTC (permalink / raw)
  To: Yu, Luming; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Sorry it took me so long to get back to you on this... 

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> I have made a patch for fixing compiling time error of
Luming> http://www.scrye.com/~kevin/dsdt.dsl-20030409 Would you please
Luming> apply it and see what's unusual and send boot log to me.

Well, I applied the patch and when I try and compile to a .hex file
with iasl I get: 


Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030228 [Feb 28 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.dsl-20030409    44: External (C1AF)
Error    1037 -                 ^ parse error, unexpected PARSEOP_EXTERNAL, expecting '}'

dsdt.dsl-20030409    52:                 Register (SystemIO, 0x08, 0x00, 0x0000000000001014)
Error    1037 -                                 ^ parse error, unexpected PARSEOP_REGISTER

ASL Input:  dsdt.dsl-20030409 - 4956 lines, 162783 bytes, 8 keywords
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

It doesn't seem to like the "External" keyword?

Any ideas?

kevin
--
Luming> 42,51d41 < { < < External (C1AF) < External (C1BA) < External
Luming> (C1BB) < External (C1B0) < External (C1B1) < External (C1B2) <
Luming> External (C1B3) < 52a43
>> {
Luming> 177,178c168,169 < If(\_OSI("Windows 2001")) < { ---
>> If(\_OSI) { "Windows 2001"
Luming> 2297c2288 < Name(_HID, "SYN0100") ---
>> Name(_HID, "*SYN0100")


Luming> Thanks, Luming


Luming> -----Original Message----- From: Kevin Fenzi
Luming> [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org] Sent: 2003?4?10? 1:30 To: Yu,
Luming> Luming Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: RE:
Luming> [ACPI] ASL help with latest acpi and compaq presario 2800t


Luming> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Is dsdt.asl modified version. I compiled it, and my error
Luming> message is slightly different with yours.  Would you please
Luming> send the original dsdt.asl to me?

Luming> You can get the dsdt.dat and dsdt.dsl from:

Luming> http://www.scrye.com/~kevin/dsdt.dat-20030409
Luming> http://www.scrye.com/~kevin/dsdt.dsl-20030409

Luming> Those are from my laptop today using the iasl-20030228

Luming> Let me know if you need any more info.

Luming> Thanks, Luming

Luming> kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1
Luming> (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8
Luming> <http://mailcrypt.sourceforge.net/>

Luming> iD8DBQE+lFil3imCezTjY0ERAiNVAJ0RbLT1+K532UBaz31tLeIODB6tAwCdF/OF
Luming> 37iSC0J5jiZDJiEmC8G3QT8= =5jP8 -----END PGP SIGNATURE-----




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

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

* RE: ASL help with latest acpi and compaq presario 2800t
@ 2003-05-13  6:01 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F842722F9-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Yu, Luming @ 2003-05-13  6:01 UTC (permalink / raw)
  To: Kevin Fenzi; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 3120 bytes --]

Maybe you were missing something.  Try attached file please.
Thanks,
Lumng

-----Original Message-----
From: Kevin Fenzi [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org]
Sent: 2003?5?13? 1:15
To: Yu, Luming
Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [ACPI] ASL help with latest acpi and compaq presario 2800t



Sorry it took me so long to get back to you on this... 

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> I have made a patch for fixing compiling time error of
Luming> http://www.scrye.com/~kevin/dsdt.dsl-20030409 Would you please
Luming> apply it and see what's unusual and send boot log to me.

Well, I applied the patch and when I try and compile to a .hex file
with iasl I get: 


Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030228 [Feb 28 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.dsl-20030409    44: External (C1AF)
Error    1037 -                 ^ parse error, unexpected PARSEOP_EXTERNAL, expecting '}'

dsdt.dsl-20030409    52:                 Register (SystemIO, 0x08, 0x00, 0x0000000000001014)
Error    1037 -                                 ^ parse error, unexpected PARSEOP_REGISTER

ASL Input:  dsdt.dsl-20030409 - 4956 lines, 162783 bytes, 8 keywords
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

It doesn't seem to like the "External" keyword?

Any ideas?

kevin
--
Luming> 42,51d41 < { < < External (C1AF) < External (C1BA) < External
Luming> (C1BB) < External (C1B0) < External (C1B1) < External (C1B2) <
Luming> External (C1B3) < 52a43
>> {
Luming> 177,178c168,169 < If(\_OSI("Windows 2001")) < { ---
>> If(\_OSI) { "Windows 2001"
Luming> 2297c2288 < Name(_HID, "SYN0100") ---
>> Name(_HID, "*SYN0100")


Luming> Thanks, Luming


Luming> -----Original Message----- From: Kevin Fenzi
Luming> [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org] Sent: 2003?4?10? 1:30 To: Yu,
Luming> Luming Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: RE:
Luming> [ACPI] ASL help with latest acpi and compaq presario 2800t


Luming> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Is dsdt.asl modified version. I compiled it, and my error
Luming> message is slightly different with yours.  Would you please
Luming> send the original dsdt.asl to me?

Luming> You can get the dsdt.dat and dsdt.dsl from:

Luming> http://www.scrye.com/~kevin/dsdt.dat-20030409
Luming> http://www.scrye.com/~kevin/dsdt.dsl-20030409

Luming> Those are from my laptop today using the iasl-20030228

Luming> Let me know if you need any more info.

Luming> Thanks, Luming

Luming> kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1
Luming> (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8
Luming> <http://mailcrypt.sourceforge.net/>

Luming> iD8DBQE+lFil3imCezTjY0ERAiNVAJ0RbLT1+K532UBaz31tLeIODB6tAwCdF/OF
Luming> 37iSC0J5jiZDJiEmC8G3QT8= =5jP8 -----END PGP SIGNATURE-----


[-- Attachment #2: dsdt_asl.fixed.ZIP --]
[-- Type: application/x-zip-compressed, Size: 18765 bytes --]

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

* RE: ASL help with latest acpi and compaq presario 2800t
       [not found] ` <3ACA40606221794F80A5670F0AF15F842722F9-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-05-13 21:10   ` Kevin Fenzi
  0 siblings, 0 replies; 15+ messages in thread
From: Kevin Fenzi @ 2003-05-13 21:10 UTC (permalink / raw)
  To: Yu, Luming; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Maybe you were missing something.  Try attached file please.
Luming> Thanks, Lumng

Yeah, I must have munged the patch or something. 
Putting the External ones in the right place made it compile just
fine. ;) 

It seems to load just as well as the previous one... 

thanks for the help. 

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+wV9U3imCezTjY0ERAvQ0AJ41yvpzBvZP597bzzu8NUlRk2CtJgCggS3O
WLP0gc7H1XCKCkyk3aOAF0A=
=PCoB
-----END PGP SIGNATURE-----


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

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

* RE: ASL help with latest acpi and compaq presario 2800t
@ 2003-05-14  7:32 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F84272309-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Yu, Luming @ 2003-05-14  7:32 UTC (permalink / raw)
  To: Kevin Fenzi; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Could you please inform me whether battery status works on your 2800t.

Thanks,
Luming

-----Original Message-----
From: Kevin Fenzi [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org]
Sent: 2003?5?14? 5:11
To: Yu, Luming
Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [ACPI] ASL help with latest acpi and compaq presario 2800t


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Maybe you were missing something.  Try attached file please.
Luming> Thanks, Lumng

Yeah, I must have munged the patch or something. 
Putting the External ones in the right place made it compile just
fine. ;) 

It seems to load just as well as the previous one... 

thanks for the help. 

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+wV9U3imCezTjY0ERAvQ0AJ41yvpzBvZP597bzzu8NUlRk2CtJgCggS3O
WLP0gc7H1XCKCkyk3aOAF0A=
=PCoB
-----END PGP SIGNATURE-----


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

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

* RE: ASL help with latest acpi and compaq presario 2800t
       [not found] ` <3ACA40606221794F80A5670F0AF15F84272309-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-05-14 15:36   ` Kevin Fenzi
  0 siblings, 0 replies; 15+ messages in thread
From: Kevin Fenzi @ 2003-05-14 15:36 UTC (permalink / raw)
  To: Yu, Luming; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Could you please inform me whether battery status works on
Luming> your 2800t.  Thanks, Luming

Yes. It works fine. 

cat /proc/acpi/battery/BAT1/info                                                                         9:31:05
present:                 yes
design capacity:         2592 mAh
last full capacity:      2592 mAh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 259 mAh
design capacity low:     0 mAh
capacity granularity 1:  100 mAh
capacity granularity 2:  100 mAh
model number:            Primary
serial number:           482F
battery type:            4E4F494C
OEM info:                 COMPAQ

cat /proc/acpi/battery/BAT1/state                                                                        9:35:37
present:                 yes
capacity state:          ok
charging state:          unknown
present rate:            0 mA
remaining capacity:      2592 mAh
present voltage:         16514 mV

kevin
- --
Luming> -----Original Message----- From: Kevin Fenzi
Luming> [mailto:kevin-acpi-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org] Sent: 2003?5?14? 5:11 To: Yu,
Luming> Luming Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Subject: RE:
Luming> [ACPI] ASL help with latest acpi and compaq presario 2800t


Luming> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

>>>>> "Luming" == Luming Yu <Yu> writes:

Luming> Maybe you were missing something.  Try attached file please.
Luming> Thanks, Lumng

Luming> Yeah, I must have munged the patch or something. Putting the
Luming> External ones in the right place made it compile just fine. ;)

Luming> It seems to load just as well as the previous one...

Luming> thanks for the help.

Luming> kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1
Luming> (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8
Luming> <http://mailcrypt.sourceforge.net/>

Luming> iD8DBQE+wV9U3imCezTjY0ERAvQ0AJ41yvpzBvZP597bzzu8NUlRk2CtJgCggS3O
Luming> WLP0gc7H1XCKCkyk3aOAF0A= =PCoB -----END PGP SIGNATURE-----


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE+wmJ13imCezTjY0ERAnC8AKCOAOyeHipOfqLd1/d2jyQJXlSljgCaAhgs
GifT6OGG1LqXfow5CSNMcHU=
=YPRr
-----END PGP SIGNATURE-----


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

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

end of thread, other threads:[~2003-05-14 15:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10  0:51 ASL help with latest acpi and compaq presario 2800t Kevin Fenzi
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14  7:32 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F84272309-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-05-14 15:36   ` Kevin Fenzi
2003-05-13  6:01 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F842722F9-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-05-13 21:10   ` Kevin Fenzi
2003-04-28  9:29 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F842722C5-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-05-12 17:15   ` Kevin Fenzi
2003-04-09  3:33 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F84272264-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-04-09 17:30   ` Kevin Fenzi
2003-02-10 21:25 Moore, Robert
     [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19BAA1-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2003-02-11 14:51   ` Ducrot Bruno
2003-02-10  0:44 Kevin Fenzi
     [not found] ` <20030210004452.1978.qmail-+bl/7iUgRMUAvxtiuMwx3w@public.gmane.org>
2003-02-10 13:57   ` Ducrot Bruno
     [not found]     ` <20030210135740.GG25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-02-10 16:32       ` Noel Flicken
     [not found]         ` <20030210163230.GA31844-G7ypqgNYaQI3r0Ub5QXD9Q@public.gmane.org>
2003-02-10 16:57           ` Kevin Fenzi

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