Pagina 1 di 1

Aiuto nel compilare DSDT di Acer 5920!

Inviato: lunedì 20 luglio 2009, 22:49
da bonimba3
Ciao ragazzi...
ho un ACER 5920g con ubuntu jaunty 64 bit.  :)
Come i suoi fratelli e confratelli è una vera e propria stufa  (yes) , per cui navigando nel web ho visto che si può trarre qualche vantaggio nel ricompilare il BIOS appositamente per linux.
Seguendo questa guida sono arrivato a riscontrare questo:

Codice: Seleziona tutto

root@bonimba-laptop:/home/bonimba# iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20081204 [Jan 10 2009]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl  7435:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  7546:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  7611:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  7822:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  8036:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  8279:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  8318:                 Method (WMBD, 3, NotSerialized)
Warning  1087 -                            ^ Not all control paths return a value (WMBD)

dsdt.dsl  8322:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  8424:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  8542:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

dsdt.dsl  8587:                         Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)

ASL Input:  dsdt.dsl - 8620 lines, 303227 bytes, 3641 keywords
AML Output: dsdt.aml - 33317 bytes, 834 named objects, 2807 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 10 Remarks, 1255 Optimizations
Sono in pratica 2 tipi di errori: per quanto riguarda questo

Codice: Seleziona tutto

Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)
ho letto che basta rinominare (_T_0) in (T_0).
Qui sorge il mio dubbio! : facendo quanto consigliato...salvando e riprovando mi propone molti più errori di prima.
Quindi devo risolvere tutti i problemi fino a quando ho risolto tutto o quel metodo risolutivo è errato?
Inoltre...dato che non ci sono errori...e mi ha fatto un bel pò di ottimizzazioni, potrei lasciarlo così, senza espormi alle grane descritte prima???

Allego il mio dsdt in formato zip.
Grazie a chi mi aiuterà...

Re: Aiuto nel compilare DSDT di Acer 5920!

Inviato: mercoledì 22 luglio 2009, 10:53
da bonimba3
Nessuno ha un pò di tempo da perdere per aiutarmi???  (rotfl)
Anche solo per dirmi se posso tenermelo così dato che non ci sono errori ma solo warning e remark.
Grazie!

Re: Aiuto nel compilare DSDT di Acer 5920!

Inviato: domenica 4 luglio 2010, 8:58
da Knap
Name (_T_0, 0x00)
Remark   5110 -    Use of compiler reserved name ^  (_T_0)
Apri con Kate o altro editor e usa la funzione " Sostituisci "

In Trova Scrivi : _T_0

In Sostituisci scrivi : T_0

e Poi Premi Sostituisci tutto ... Salva cosi il file .... e ridai il comando ....

iasl -tc dsdt.dsl



Dovresti risolvere i tuoi errori come nel mio caso :

Codice: Seleziona tutto

knap@kubuntu:~$ sudo cat /proc/acpi/dsdt > /home/knap/dsdt.dat
knap@kubuntu:~$ iasl -d dsdt.dat

Intel ACPI Component Architecture
AML Disassembler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file dsdt.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
...
Parsing completed
Disassembly completed, written to "dsdt.dsl"
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl  2872:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  2953:                             Name (_T_1, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_1)

dsdt.dsl  2987:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  3060:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  3137:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  6651:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6675:                 Name (_T_0, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6773:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6866:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7319:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7354:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7438:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7452:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7571:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7641:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7731:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7745:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7806:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7834:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7838:                 Name (_T_1, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_1)

dsdt.dsl  7947:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7989:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  8176:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  8248:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  8321:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  8348:             Name (_T_1, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_1)

dsdt.dsl  8394:                 Name (_T_0, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_0)

dsdt.dsl  8439:                     Name (_T_1, Zero)
Remark   5110 -                              ^ Use of compiler reserved name (_T_1)

dsdt.dsl  8956:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  8970:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  8985:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9000:             Acquire (MUTE, 0x0FFF)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9014:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9029:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9044:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10379:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10412:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

ASL Input:  dsdt.dsl - 10644 lines, 351945 bytes, 5379 keywords
AML Output: dsdt.aml - 41050 bytes, 1119 named objects, 4260 executable opcodes

Compilation complete. 0 Errors, 13 Warnings, 28 Remarks, 53 Optimizations
knap@kubuntu:~$ cp dsdt.dsl /home/knap/dsdt_backup.dsl
knap@kubuntu:~$ iasl -tc dsdt_strippy.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

Error    4068 - Could not open file "dsdt_strippy.dsl" (No such file or directory)

knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl  8956:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  8970:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  8985:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9000:             Acquire (MUTE, 0x0FFF)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9014:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9029:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9044:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10379:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10412:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

ASL Input:  dsdt.dsl - 10644 lines, 351774 bytes, 5379 keywords
AML Output: dsdt.aml - 41050 bytes, 1119 named objects, 4260 executable opcodes

Compilation complete. 0 Errors, 13 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10379:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10412:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

ASL Input:  dsdt.dsl - 10644 lines, 351774 bytes, 5379 keywords
AML Output: dsdt.aml - 41050 bytes, 1119 named objects, 4260 executable opcodes

Compilation complete. 0 Errors, 6 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10379:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10412:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

ASL Input:  dsdt.dsl - 10644 lines, 351774 bytes, 5379 keywords
AML Output: dsdt.aml - 41050 bytes, 1119 named objects, 4260 executable opcodes

Compilation complete. 0 Errors, 6 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET "Local0", Local1)
Error    4095 -                                ^ syntax error, unexpected PARSEOP_STRING_LITERAL, expecting ','

dsdt.dsl 10344:             Multiply (Local1, Add (Local2, Local3), Local5)
Error    4050 -                            ^ Method local variable is not initialized (Local1)

dsdt.dsl 10379:             Store (TGET "Local0", Local1)
Error    4095 -                                ^ syntax error, unexpected PARSEOP_STRING_LITERAL, expecting ','

dsdt.dsl 10380:             Return (Local1)
Error    4050 -                          ^ Method local variable is not initialized (Local1)

dsdt.dsl 10412:             Store (FGET "Local0", Local1)
Error    4095 -                                ^ syntax error, unexpected PARSEOP_STRING_LITERAL, expecting ','

dsdt.dsl 10413:             Return (Local1)
Error    4050 -                          ^ Method local variable is not initialized (Local1)

ASL Input:  dsdt.dsl - 10644 lines, 351774 bytes, 5379 keywords
Compilation complete. 6 Errors, 3 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET Local0, Local1)
Error    4095 -                              ^ syntax error, unexpected PARSEOP_LOCAL0, expecting ','

dsdt.dsl 10344:             Multiply (Local1, Add (Local2, Local3), Local5)
Error    4050 -                            ^ Method local variable is not initialized (Local1)

dsdt.dsl 10379:             Store (TGET Local0, Local1)
Error    4095 -                              ^ syntax error, unexpected PARSEOP_LOCAL0, expecting ','

dsdt.dsl 10380:             Return (Local1)
Error    4050 -                          ^ Method local variable is not initialized (Local1)

dsdt.dsl 10412:             Store (FGET Local0, Local1)
Error    4095 -                              ^ syntax error, unexpected PARSEOP_LOCAL0, expecting ','

dsdt.dsl 10413:             Return (Local1)
Error    4050 -                          ^ Method local variable is not initialized (Local1)

ASL Input:  dsdt.dsl - 10644 lines, 351768 bytes, 5379 keywords
Compilation complete. 6 Errors, 3 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10337:             Store (VGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10379:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10412:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

ASL Input:  dsdt.dsl - 10644 lines, 351774 bytes, 5379 keywords
AML Output: dsdt.aml - 41050 bytes, 1119 named objects, 4260 executable opcodes

Compilation complete. 0 Errors, 6 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node 20090521 nsaccess-526
ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node 20090521 nsaccess-526
ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node 20090521 nsaccess-526
ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node 20090521 nsaccess-526
ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node 20090521 nsaccess-526
ACPI Error: ACPI path has too many parent prefixes (^) - reached beyond root node 20090521 nsaccess-526
dsdt.dsl 10229:             {
Error    4095 -             ^ syntax error, unexpected '{'

dsdt.dsl 10256:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10260:                 Return (^^SIOR.HWT1 ())
Error    4064 -                                   ^ Object not found or not accessible from scope (^^SIOR.HWT1)

dsdt.dsl 10265:                 Return (^^SIOR.HWT0 ())
Error    4064 -                                   ^ Object not found or not accessible from scope (^^SIOR.HWT0)

dsdt.dsl 10309:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10313:                 Return (^^SIOR.HWF1 ())
Error    4064 -                                   ^ Object not found or not accessible from scope (^^SIOR.HWF1)

dsdt.dsl 10318:                 Return (^^SIOR.HWF2 ())
Error    4064 -                                   ^ Object not found or not accessible from scope (^^SIOR.HWF2)

dsdt.dsl 10323:                 Return (^^SIOR.HWF4 ())
Error    4064 -                                   ^ Object not found or not accessible from scope (^^SIOR.HWF4)

dsdt.dsl 10328:                 Return (^^SIOR.HWF2 ())
Error    4064 -                                   ^ Object not found or not accessible from scope (^^SIOR.HWF2)

dsdt.dsl 10334:             Return (VBUF)
Error    4067 -                        ^ Object is not accessible from this scope (VBUF)

dsdt.dsl 10340:             Store (VGET (Local0), Local1)
Error    4067 -                       ^ Object is not accessible from this scope (VGET)

dsdt.dsl 10341:             Store (DerefOf (Index (DerefOf (Index (VPAR, Local0)), Zero)), 
Error    4067 -              Object is not accessible from this scope ^  (VPAR)

dsdt.dsl 10343:             Store (DerefOf (Index (DerefOf (Index (VPAR, Local0)), One)), 
Error    4067 -              Object is not accessible from this scope ^  (VPAR)

dsdt.dsl 10345:             Store (DerefOf (Index (DerefOf (Index (VPAR, Local0)), 0x02)), 
Error    4067 -              Object is not accessible from this scope ^  (VPAR)

dsdt.dsl 10356:             Store (DerefOf (Index (VBUF, Zero)), Local1)
Error    4067 -                                       ^ Object is not accessible from this scope (VBUF)

dsdt.dsl 10363:             Store (DerefOf (Index (Arg0, One)), Index (DerefOf (Index (VBUF, 
Error    4067 -                                  Object is not accessible from this scope ^  (VBUF)

dsdt.dsl 10365:             Store (DerefOf (Index (Arg0, 0x02)), Index (DerefOf (Index (VBUF, 
Error    4067 -                                   Object is not accessible from this scope ^  (VBUF)

dsdt.dsl 10367:             Store (DerefOf (Index (Arg0, 0x03)), Index (DerefOf (Index (VBUF, 
Error    4067 -                                   Object is not accessible from this scope ^  (VBUF)

dsdt.dsl 10369:             Store (DerefOf (Index (Arg0, 0x04)), Index (DerefOf (Index (VBUF, 
Error    4067 -                                   Object is not accessible from this scope ^  (VBUF)

dsdt.dsl 10443:     Scope
Error    4095 -         ^ syntax error, unexpected PARSEOP_SCOPE, expecting $end

ASL Input:  dsdt.dsl - 10444 lines, 345821 bytes, 5308 keywords
Compilation complete. 18 Errors, 2 Warnings, 0 Remarks, 47 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 10254:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10307:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl 10380:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl 10413:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

ASL Input:  dsdt.dsl - 10645 lines, 351804 bytes, 5380 keywords
AML Output: dsdt.aml - 41052 bytes, 1119 named objects, 4261 executable opcodes

Compilation complete. 0 Errors, 4 Warnings, 0 Remarks, 53 Optimizations
knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

ASL Input:  dsdt.dsl - 10647 lines, 351864 bytes, 5382 keywords
AML Output: dsdt.aml - 41056 bytes, 1119 named objects, 4263 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 53 Optimizations

Io ho trovato tutti i difetti che all'inizio erano tanti

Ho Sostituito il Seguente codice e aggiunto questi dati :

Codice: Seleziona tutto

dsdt.dsl  2872:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)
con Kate o altro editor di testo si usa la funzione " Sostituisci "

In Trova Scrivi : _T_0

In Sostituisci scrivi : T_0

e Poi Premi Sostituisci tutto e salvi

Codice: Seleziona tutto

dsdt.dsl  2953:                             Name (_T_1, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_1)
con Kate o altro editor di testo si usa la funzione " Sostituisci "

In Trova Scrivi : _T_1

In Sostituisci scrivi : T_1

e Poi Premi Sostituisci tutto e salvi

Codice: Seleziona tutto

dsdt.dsl  8985:             Acquire (MUTE, 0x03E8)
Warning  1104 -                                 ^ Possible operator timeout is ignored

dsdt.dsl  9000:             Acquire (MUTE, 0x0FFF)
Warning  1104 -                                 ^ Possible operator timeout is ignored
con Kate o altro editor di testo si usa la funzione " Sostituisci "

In Trova Scrivi :MUTE, 0x03E8

In Sostituisci scrivi : MUTE, 0xFFFF

In Trova Scrivi :MUTE, 0x0FFF

In Sostituisci scrivi : MUTE, 0xFFFF

e Poi Premi Sostituisci tutto e salvi

Codice: Seleziona tutto

dsdt.dsl 10208:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl 10253:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl 10306:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)
con Kate o altro editor di testo si aggiunge la funzione :

Codice: Seleziona tutto

                Return (Zero)
In questo modo hai 3 errori in modo uguale ... Esempio :
Originale:

Codice: Seleziona tutto

        Method (VGET, 1, NotSerialized)
        {
            If (LEqual (Arg0, Zero))
            {
                Return (^^SIOR.HWV0 ())
            }

            If (LEqual (Arg0, One))
            {
                Return (^^SIOR.HWV3 ())
            }

            If (LEqual (Arg0, 0x02))
            {
                Return (^^SIOR.HWV5 ())
            }

            If (LEqual (Arg0, 0x03))
            {
                Return (^^SIOR.HWV1 ())
            }
        }
Modificato:

Codice: Seleziona tutto

        Method (VGET, 1, NotSerialized)
        {
            If (LEqual (Arg0, Zero))
            {
                Return (^^SIOR.HWV0 ())
            }

            If (LEqual (Arg0, One))
            {
                Return (^^SIOR.HWV3 ())
            }

            If (LEqual (Arg0, 0x02))
            {
                Return (^^SIOR.HWV5 ())
            }

            If (LEqual (Arg0, 0x03))
            {
                Return (^^SIOR.HWV1 ())
            }
                Return (Zero)
        }

Alla fine ho riscontrato questo risultato:

Codice: Seleziona tutto

knap@kubuntu:~$ iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090521 [Jun 30 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 3.0a

ASL Input:  dsdt.dsl - 10647 lines, 351864 bytes, 5382 keywords
AML Output: dsdt.aml - 41056 bytes, 1119 named objects, 4263 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 53 Optimizations

:D

Re: Aiuto nel compilare DSDT di Acer 5920!

Inviato: domenica 4 luglio 2010, 9:10
da bonimba3
Grazie.  (b2b)
Alla fine mi ero comunque avventurato ed ero riuscito a correggerli tutti anche io.

Fatto sta che da karmic in poi mi sembra che non sia più possibile sostituirlo, per cui ho lasciato perdere!
Tu che versione hai?

Re: Aiuto nel compilare DSDT di Acer 5920!

Inviato: mercoledì 7 luglio 2010, 23:26
da giorgio.01
E' possinbile ma bisogna ricompilare il kernel ;)

Re: Aiuto nel compilare DSDT di Acer 5920!

Inviato: giovedì 8 luglio 2010, 17:32
da bonimba3
C'ho già provato a suo tempo, ma con scarsi risultati!  :P