Page 53 of 59 FirstFirst ... 3435152535455 ... LastLast
Results 521 to 530 of 581

Thread: HOWTO Fix A Buggy DSDT File

  1. #521
    Join Date
    Aug 2006
    Beans
    7

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by angryelephant View Post
    I'm working on a Toshiba Satellite T235D. Worked okay on 10.04, but on upgrading to 10.10 I can't even get it to boot unless I pass acpi=off in grub. I tried recompiling the dsdt with the stock version of iasl and using the instructions for the debian testing version of iasl, but both gave me about 176 errors. Looks like scope issues but I'm not good enough in assembly to resolve them.

    DSDT is attached if anyone wants to take a wack at fixing it.
    I was able to compile without errors by commenting out generous amounts of code but the problem was not fixed.

  2. #522
    Join Date
    Feb 2008
    Beans
    18

    Re: HOWTO Fix A Buggy DSDT File

    Hi guys,

    I have a Google Netbook CR48 and I need help in fixing my DSDT. I'm having a bunch of ACPI problems (mostly fan issues) and maybe you could help me.

    My dsdt compiles fine but with warnings. 0 Errors 16 Warnings 1 Remarks

    Most of the errors are very much the same thing so I'll post the most common one:

    Code:
    Name (NBTT, Package (0x08)
    Remark   5048 -                              Initializer list shorter than declared package length 
    
    
    Method (_GTM, 0, NotSerialized)
    Warning  1088 -                              Not all control paths return a value ^  (_GTM)
    
    
    Method (_GTM, 0, NotSerialized)
    Warning  1081 -                              Reserved method must return a value ^  (_GTM)
    
    
    Method (_GTF, 0, NotSerialized)
    Warning  1088 -                              Not all control paths return a value ^  (_GTF)
    
    
    Method (_GTF, 0, NotSerialized)
    Warning  1081 -                             Reserved method must return a value ^  (_GTF)
    I currently have 10.10 right now and maybe someone could give me a tip to fix it. I've been trying to search in google but I'm really out of luck. I'll just attach my dsdt for reference.

    Thanks!
    Attached Files Attached Files

  3. #523
    Join Date
    Mar 2011
    Beans
    12

    Re: HOWTO Fix A Buggy DSDT File

    @mockingbird

    Hey, I tried running that code, because I also exceed the 200 error cap, and I had a timeout issue where it can't access the site to add it to the keyring. (Note: I also tried www.keys.eu.pgp.net incase the "wwwkeys" was a typo)

    Code:
    $ sudo gpg --keyserver wwwkeys.eu.pgp.net --recv 9AA38DCD55BE302B
    gpg: requesting key 55BE302B from hkp server wwwkeys.eu.pgp.net
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    I wasn't sure if you knew of a site to download the accurate version of iasl at, or if you know a work around to get the repository working. Any advice is appreciated!

    P.S. Running Ubuntu 10.10 Maverick

  4. #524
    Join Date
    Mar 2011
    Beans
    1

    Re: HOWTO Fix A Buggy DSDT File

    Hi, guys!

    Model: HP Pavilion dv6 1123sl
    OS: Ubuntu 10.10 x86

    Problem:
    Possible BUGGY DSDT. I think I fixed all warnigs and errors that showed the compiler, but "dmesg" still shows them. So I can' t understand whether the DSDT is overrided. Please help to deal with the problem.

    ================================================== =================
    [ 0.166209] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query honored via cmdline
    ================================================== =================
    [ 0.349558] ACPI Exception: AE_NOT_FOUND, Evaluating _PRW (20101013/scan-723)
    ================================================== =================
    [ 14.725817] ACPI Error: [T_1_] Namespace lookup failure, AE_ALREADY_EXISTS (20101013/dswload-802)
    [ 14.725825] ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20101013/psloop-231)
    [ 14.725830] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEGP.VGA_.LCD_.GBQC] (Node f3822438), AE_ALREADY_EXISTS (20101013/psparse-537)
    [ 14.725838] ACPI: Marking method GBQC as Serialized because of AE_ALREADY_EXISTS error
    [ 14.725844] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEGP.VGA_.LCD_._BQC] (Node f3822420), AE_ALREADY_EXISTS (20101013/psparse-537)
    [ 14.725851] ACPI: Marking method _BQC as Serialized because of AE_ALREADY_EXISTS error
    [ 14.725857] ACPI Warning: Evaluating _BQC failed (20101013/video-538)
    [ 14.726877] IR Sony protocol handler initialized
    [ 14.734912] acpi device:08: registered as cooling_device2
    [ 14.735689] ACPI Error: [T_1_] Namespace lookup failure, AE_ALREADY_EXISTS (20101013/dswload-802)
    [ 14.735697] ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20101013/psloop-231)
    [ 14.735702] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEGP.VGA_.LCD1.GBQC] (Node f38225b8), AE_ALREADY_EXISTS (20101013/psparse-537)
    [ 14.735710] ACPI: Marking method GBQC as Serialized because of AE_ALREADY_EXISTS error
    [ 14.735716] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEGP.VGA_.LCD1._BQC] (Node f38225a0), AE_ALREADY_EXISTS (20101013/psparse-537)
    [ 14.735723] ACPI: Marking method _BQC as Serialized because of AE_ALREADY_EXISTS error
    [ 14.735729] ACPI Warning: Evaluating _BQC failed (20101013/video-538)
    ================================================== ================

    Thanks for paying attention!

    P.S. Sorry for possible grammar or syntax mistakes. English isn't my native language.
    Attached Files Attached Files
    Last edited by h_ingmar14; March 18th, 2011 at 01:43 PM.

  5. #525
    Join Date
    Apr 2008
    Beans
    12

    Re: HOWTO Fix A Buggy DSDT File

    hey guys

    i've got a toshiba satellite u500-115, which has issues with acpi under linux. i recently found out about dsdt and decided to try and fix it. i have found a u500 dsdt table, that someone else fixed, but unfortunately, that one only fixed part of the problem. if i start my laptop when it's cold, the fan never kicks in. i need to restart it, so bios starts the fan, then it works fine.

    so i decided to try and fix it myself. i have managed to fix most errors, exept one:
    Error 4122 ^ Invalid combination of Length and Min/Max fixed flags
    the error occured here:

    DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
    0x00000000, // Granularity
    0x00000000, // Range Minimum
    0xFFFFFFFF, // Range Maximum
    0x00000000, // Translation Offset
    0x00000000, // Length
    ,, _Y09, AddressRangeMemory, TypeStatic)

    I have googled this issue, and found that Length should be Max-Min+1
    the problem, as you can see, the max value is FFFFFFFF and the min value is 00000000
    so the length should be 100000000 (one character too long)
    what exactly can i do to fix this?
    also, what are remarks? do i need to fix them? can't find anything on google about this...
    thanks in advance!
    cheers

  6. #526
    Join Date
    Mar 2011
    Beans
    1

    Re: HOWTO Fix A Buggy DSDT File

    Hello guys,

    I have this error:

    Code:
     iasl -tc /home/aflaouras/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
    
    /home/aflaouras/dsdt.dsl     1: ACPI                  Store (0x40, ^OSTB)
    Error    4095 -                    ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK
    
    ASL Input:  /home/aflaouras/dsdt.dsl - 7245 lines, 279590 bytes, 0 keywords
    Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
    Can anyone help me to fix it???

    I attach the files
    Attached Files Attached Files

  7. #527
    Join Date
    Apr 2011
    Beans
    1

    Re: HOWTO Fix A Buggy DSDT File

    Hi ubuntu-Forums!

    Since i have massive Problems with mit dsdt-File i thought i could ask for help here.
    My compiling-log looks like this:

    Code:
    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   389:             Method (_OSC, 5, NotSerialized)
    Warning  1076 -                        ^ Reserved method has too many arguments (_OSC requires 4)
    
    dsdt.dsl   403:                         And (CAPB, 0xFFFFFFFC)
    Warning  1105 -                                 ^ Result is not used, operator has no effect
    
    dsdt.dsl   404:                         Or (CAPB, 0x00)
    Warning  1105 -                                ^ Result is not used, operator has no effect
    
    dsdt.dsl  3160:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  3358:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  3557:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  3756:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  3915:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  4109:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  4302:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  4486:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  4761:                             Acquire (Z000, 0xFFFF)
    Warning  1099 -                Statement is unreachable ^
    
    dsdt.dsl  5626:     Method (_WAK, 1, NotSerialized)
    Warning  1080 -                ^ Reserved method must return a value (_WAK)
    
    ASL Input:  dsdt.dsl - 5794 lines, 228900 bytes, 2007 keywords
    AML Output: dsdt.aml - 19454 bytes, 689 named objects, 1318 executable opcodes
    
    Compilation complete. 0 Errors, 13 Warnings, 0 Remarks, 602 Optimizations
    May anyone help me fixing it?

    Greets from Austria,
    streilu

  8. #528
    Join Date
    May 2006
    Beans
    Hidden!

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by Chamwiz View Post
    @mockingbird

    Hey, I tried running that code, because I also exceed the 200 error cap, and I had a timeout issue where it can't access the site to add it to the keyring. (Note: I also tried www.keys.eu.pgp.net incase the "wwwkeys" was a typo)

    Code:
    $ sudo gpg --keyserver wwwkeys.eu.pgp.net --recv 9AA38DCD55BE302B
    gpg: requesting key 55BE302B from hkp server wwwkeys.eu.pgp.net
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    I wasn't sure if you knew of a site to download the accurate version of iasl at, or if you know a work around to get the repository working. Any advice is appreciated!

    P.S. Running Ubuntu 10.10 Maverick
    I don't know whether or not you still need this, but I found a different keyring server, so try this instead:

    sudo gpg --keyserver pgpkeys.mit.edu --recv 9AA38DCD55BE302B

    Now I myself have another question:

    I upgraded to Kubuntu 11.04, and I can't find my DSDT file.

    Did they deprecate something and thus changed the structure? I do recall reading something about /proc/acpi being deprecated.

    Does anyone know how to retrieve the DSDT file with the newer kernels?

    Thanks

  9. #529
    Join Date
    May 2006
    Beans
    Hidden!

    Re: HOWTO Fix A Buggy DSDT File

    Ok, the new location for this is /sys/firmware/acpi/tables.

    Here is my output of iasl -tc:
    Code:
    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20100528 [Oct 15 2010]
    Copyright (c) 2000 - 2010 Intel Corporation
    Supports ACPI Specification Revision 4.0a
    
    dsdt.dsl   372:     Method (\_WAK, 1, NotSerialized)
    Warning  1081 -                 ^ Reserved method must return a value (Integer/Package required for _WAK)
    
    dsdt.dsl   430:             Store (Local0, Local0)
    Error    4051 -                         ^ Method local variable is not initialized (Local0)
    
    dsdt.dsl   435:             Store (Local0, Local0)
    Error    4051 -                         ^ Method local variable is not initialized (Local0)
    
    dsdt.dsl   617:                         0xFFF00000,         // Length
    Error    4117 -                                  ^ Length is larger than Min/Max window
    
    dsdt.dsl  2890:                         Store (Local0, Local0)
    Error    4051 -                                     ^ Method local variable is not initialized (Local0)
    
    ASL Input:  dsdt.dsl - 5276 lines, 171319 bytes, 1877 keywords
    Compilation complete. 4 Errors, 1 Warnings, 0 Remarks, 568 Optimizations
    I will browse through this thread for similar problems...

  10. #530
    Join Date
    May 2006
    Beans
    Hidden!

    Re: HOWTO Fix A Buggy DSDT File

    Code:
    dsdt.dsl   372:     Method (\_WAK, 1, NotSerialized)
    Warning  1081 -                 ^ Reserved method must return a value (Integer/Package required for _WAK)
    For this error, all we do is find the \_WAK, 1, NotSerialized on line 372, look for the closing bracket "}" of its subcommands, and add "Return(Package(0x02){0x00, 0x00})" (without the quotes) before the end.
    Code:
    dsdt.dsl   430:             Store (Local0, Local0)
    Error    4051 -                         ^ Method local variable is not initialized (Local0)
    For this, all we do is comment out the "Store Local0" line by adding "/*" to the beginning of the line and "*/" to the end (w/o the quotes).
    Code:
    dsdt.dsl   435:             Store (Local0, Local0)
    Error    4051 -                         ^ Method local variable is not initialized (Local0)
    Same here.
    Code:
    dsdt.dsl   617:                         0xFFF00000,         // Length
    Error    4117 -                                  ^ Length is larger than Min/Max window
    In the DSL file, there's a Minlength here and a Maxlength. Just subtract the maxlength from the minlength and replace 0xFFF00000 witht he correct result. I've gone through this in an earlier post. When you subtract the hex values in Kcalc or whatever you use, don't try and figure out how to put the "0x" part in the calculator. Only everything hat comes after the "x".
    Code:
    dsdt.dsl  2890:                         Store (Local0, Local0)
    Error    4051 -                                     ^ Method local variable is not initialized (Local0)
    Same as before.

    ...and, our result:
    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20100528 [Oct 15 2010]
    Copyright (c) 2000 - 2010 Intel Corporation
    Supports ACPI Specification Revision 4.0a

    ASL Input: dsdt.dsl - 5278 lines, 171386 bytes, 1875 keywords
    AML Output: dsdt.aml - 16301 bytes, 620 named objects, 1255 executable opcodes

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

Page 53 of 59 FirstFirst ... 3435152535455 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •