Page 43 of 59 FirstFirst ... 33414243444553 ... LastLast
Results 421 to 430 of 581

Thread: HOWTO Fix A Buggy DSDT File

  1. #421
    Join Date
    Jan 2007
    Beans
    48

    Re: HOWTO Fix A Buggy DSDT File

    I've got a Toshiba L505D with a severely broken DSDT table.
    It has the bug outlined here.

    (ACPI table overridden after boot)
    The DSDT that overrides it is completely broken. The DSDT that we pull using the patch posted on that thread is slightly broken, too. It works, though. Unfortunately, the patch doesn't work on the Ubuntu kernel from git. I was hoping you guys could help us fix our DSDT table. (I'm running 10.04 right now, btw. But the problem is there on all Ubuntu versions (and every other non-windows OS, unfortunately...)


    Thanks guys!
    Attached Files Attached Files

  2. #422
    Join Date
    Oct 2007
    Beans
    23

    Re: HOWTO Fix A Buggy DSDT File

    Hi,
    I have a similar issue described in post #184...

    Code:
    Maximum error count (200) exceeded
    dsdt.dsl    24:     External (^CPU0._PPC)
    Error    4014 -  From ACPI CA Subsystem ^  (AE_NOT_FOUND Failure from lookup %s
    )
    and I see different behaviour with different kernels (interesting lines highlighted):
    - 2.6.31 (Karmic)
    Code:
    [    0.000000]  BIOS-e820: 000000007fed0000 - 000000007fee3000 (ACPI NVS)
    [    0.000000]  modified: 000000007fed0000 - 000000007fee3000 (ACPI NVS)
    [    0.000000] ACPI: RSDP 000f8480 00024 (v02 HP    )
    [    0.000000] ACPI: XSDT 7fed5bdd 0007C (v01 HPQOEM SLIC-MPC 06040000  LTP 00000000)
    [    0.000000] ACPI: FACP 7fedfc6c 000F4 (v03 HP     30CC     06040000 ALAN 00000001)
    [    0.000000] ACPI: DSDT 7fed703c 08BBC (v01 HP     30D2     06040000 INTL 20061109)
    [    0.000000] ACPI: FACS 7fee2fc0 00040
    [    0.000000] ACPI: HPET 7fedfd60 00038 (v01 HP     30D2     06040000 LOHR 0000005A)
    [    0.000000] ACPI: MCFG 7fedfd98 0003C (v01 HP     30D2     06040000 LOHR 0000005A)
    [    0.000000] ACPI: TMOR 7fedfdd4 00026 (v01 HP     30CC     06040000 PTL  00000003)
    [    0.000000] ACPI: APIC 7fedfdfa 00068 (v01 HP     30D2     06040000  LTP 00000000)
    [    0.000000] ACPI: BOOT 7fedfe62 00028 (v01 HP     30D2     06040000  LTP 00000001)
    [    0.000000] ACPI: SLIC 7fedfe8a 00176 (v01 HPQOEM SLIC-MPC 06040000  LTP 00000001)
    [    0.000000] ACPI: SSDT 7fed6d5f 002DD (v01 HP     30D2     00001000 INTL 20061109)
    [    0.000000] ACPI: SSDT 7fed61e5 0025F (v01  HP    30D2     00003000 INTL 20061109)
    [    0.000000] ACPI: SSDT 7fed613f 000A6 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.000000] ACPI: SSDT 7fed5c59 004E6 (v01  HP     30D2    00003000 INTL 20061109)
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: PM-Timer IO Port: 0x1008
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    [    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [    0.000000] ACPI: IRQ0 used by override.
    [    0.000000] ACPI: IRQ2 used by override.
    [    0.000000] ACPI: IRQ9 used by override.
    [    0.000000] Using ACPI (MADT) for SMP configuration information
    [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
    [    0.018987] ACPI: Core revision 20090521
    [    0.164257] ACPI: bus type pci registered
    [    0.169172] ACPI: EC: Enabling special treatment for EC from MSI.
    [    0.169175] ACPI: EC: Look up EC in DSDT
    [    0.173050] ACPI: BIOS _OSI(Linux) query ignored
    [    0.174441] ACPI: Interpreter enabled
    [    0.174451] ACPI: (supports S0 S3 S4 S5)
    [    0.174475] ACPI: Using IOAPIC for interrupt routing
    [    0.176308] ACPI: EC: non-query interrupt received, switching to interrupt mode
    [    0.200667] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
    [    0.200671] ACPI: EC: driver started in interrupt mode
    [    0.201078] ACPI: No dock devices found.
    [    0.201743] ACPI: PCI Root Bridge [PCI0] (0000:00)
    [    0.204983] pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    [    0.207486] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [    0.207741] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT]
    [    0.207851] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
    [    0.207950] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
    [    0.208052] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP06._PRT]
    [    0.208178] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
    [    0.218415] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15)
    [    0.218542] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.218666] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15)
    [    0.218789] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.218911] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
    [    0.219034] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
    [    0.219156] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
    [    0.219278] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.219508] ACPI: WMI: Mapper loaded
    [    0.219508] PCI: Using ACPI for IRQ routing
    [    0.248010] pnp: PnP ACPI init
    [    0.248023] ACPI: bus type pnp registered
    [    0.254295] pnp: PnP ACPI: found 11 devices
    [    0.254297] ACPI: ACPI bus type pnp unregistered
    [    0.254301] PnPBIOS: Disabled by ACPI PNP
    [    0.544179] ACPI: AC Adapter [ACAD] (on-line)
    [    0.544273] ACPI: Power Button [PWRF]
    [    0.544338] ACPI: Power Button [PWRB]
    [    0.544392] ACPI: Sleep Button [SLPB]
    [    0.547297] ACPI: Lid Switch [LID]
    [    0.548058] ACPI: SSDT 7fed6aa1 001F6 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.548683] ACPI: SSDT 7fed6444 005D8 (v01  HP    30D2     00003001 INTL 20061109)
    [    0.551391] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
    [    0.551425] ACPI: Processor [CPU0] (supports 8 throttling states)
    [    0.551840] ACPI: SSDT 7fed6c97 000C8 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.552307] ACPI: SSDT 7fed6a1c 00085 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.553449] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
    [    0.553483] ACPI: Processor [CPU1] (supports 8 throttling states)
    [    0.561126] ACPI Exception: AE_OK, No or invalid critical threshold 20090521 thermal-384
    [    0.722184] ACPI: Battery Slot [BAT0] (battery present)
    [    1.241219] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
    [    1.242690] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
    [    1.561311] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
    [   15.682025] nvidia 0000:01:00.0: power state changed by ACPI to D0
    - 2.6.32 (Lucid)
    Code:
    [    0.000000]  BIOS-e820: 000000007fed0000 - 000000007fee3000 (ACPI NVS)
    [    0.000000]  modified: 000000007fed0000 - 000000007fee3000 (ACPI NVS)
    [    0.000000] ACPI: RSDP 000f8480 00024 (v02 HP    )
    [    0.000000] ACPI: XSDT 7fed5bdd 0007C (v01 HPQOEM SLIC-MPC 06040000  LTP 00000000)
    [    0.000000] ACPI: FACP 7fedfc6c 000F4 (v03 HP     30CC     06040000 ALAN 00000001)
    [    0.000000] ACPI: DSDT 7fed703c 08BBC (v01 HP     30D2     06040000 INTL 20061109)
    [    0.000000] ACPI: FACS 7fee2fc0 00040
    [    0.000000] ACPI: HPET 7fedfd60 00038 (v01 HP     30D2     06040000 LOHR 0000005A)
    [    0.000000] ACPI: MCFG 7fedfd98 0003C (v01 HP     30D2     06040000 LOHR 0000005A)
    [    0.000000] ACPI: TMOR 7fedfdd4 00026 (v01 HP     30CC     06040000 PTL  00000003)
    [    0.000000] ACPI: APIC 7fedfdfa 00068 (v01 HP     30D2     06040000  LTP 00000000)
    [    0.000000] ACPI: BOOT 7fedfe62 00028 (v01 HP     30D2     06040000  LTP 00000001)
    [    0.000000] ACPI: SLIC 7fedfe8a 00176 (v01 HPQOEM SLIC-MPC 06040000  LTP 00000001)
    [    0.000000] ACPI: SSDT 7fed6d5f 002DD (v01 HP     30D2     00001000 INTL 20061109)
    [    0.000000] ACPI: SSDT 7fed61e5 0025F (v01  HP    30D2     00003000 INTL 20061109)
    [    0.000000] ACPI: SSDT 7fed613f 000A6 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.000000] ACPI: SSDT 7fed5c59 004E6 (v01  HP     30D2    00003000 INTL 20061109)
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: PM-Timer IO Port: 0x1008
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    [    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [    0.000000] ACPI: IRQ0 used by override.
    [    0.000000] ACPI: IRQ2 used by override.
    [    0.000000] ACPI: IRQ9 used by override.
    [    0.000000] Using ACPI (MADT) for SMP configuration information
    [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
    [    0.023195] ACPI: Core revision 20090903
    [    0.177420] ACPI: bus type pci registered
    [    0.209457] ACPI: EC: Look up EC in DSDT
    [    0.210916] ACPI Error (psargs-0359): [CDW1] Namespace lookup failure, AE_NOT_FOUND
    [    0.210924] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_._OSC] (Node f700f648), AE_NOT_FOUND
    [    0.213385] ACPI: BIOS _OSI(Linux) query ignored
    [    0.214790] ACPI: Interpreter enabled
    [    0.214807] ACPI: (supports S0 S3 S4 S5)
    [    0.214833] ACPI: Using IOAPIC for interrupt routing
    [    0.224177] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
    [    0.224609] ACPI: No dock devices found.
    [    0.225293] ACPI: PCI Root Bridge [PCI0] (0000:00)
    [    0.226933] pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    [    0.229476] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [    0.229734] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT]
    [    0.229849] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
    [    0.229950] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
    [    0.230041] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP06._PRT]
    [    0.230173] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
    [    0.241506] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15)
    [    0.241635] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.241764] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15)
    [    0.241889] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.242014] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
    [    0.242138] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
    [    0.242262] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
    [    0.242385] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    [    0.243129] ACPI: WMI: Mapper loaded
    [    0.243131] PCI: Using ACPI for IRQ routing
    [    0.250606] pnp: PnP ACPI init
    [    0.250623] ACPI: bus type pnp registered
    [    0.253927] pnp: PnP ACPI: found 11 devices
    [    0.253930] ACPI: ACPI bus type pnp unregistered
    [    0.253935] PnPBIOS: Disabled by ACPI PNP
    [    0.308201] ACPI: AC Adapter [ACAD] (on-line)
    [    0.308301] ACPI: Power Button [PWRB]
    [    0.308358] ACPI: Sleep Button [SLPB]
    [    0.308749] ACPI: Lid Switch [LID]
    [    0.308827] ACPI: Power Button [PWRF]
    [    0.309600] ACPI: SSDT 7fed6aa1 001F6 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.310229] ACPI: SSDT 7fed6444 005D8 (v01  HP    30D2     00003001 INTL 20061109)
    [    0.313443] ACPI: SSDT 7fed6c97 000C8 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.313882] ACPI: SSDT 7fed6a1c 00085 (v01  HP    30D2     00003000 INTL 20061109)
    [    0.324756] ACPI Exception: AE_OK, No or invalid critical threshold (20090903/thermal-386)
    [    0.526266] ACPI: Battery Slot [BAT0] (battery present)
    [    1.213397] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    [    1.215068] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    [    4.441526] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
    [    6.326842] nouveau 0000:01:00.0: power state changed by ACPI to D0

    What's the matter ?

  3. #423
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    jaci87:

    Change
    Code:
    (^CPU0._PPC)
    to
    Code:
    (\_PR.CPU0._PPC)
    rerun iasl -tc to get your error count down to a manageable number.

  4. #424
    Join Date
    Oct 2007
    Beans
    23

    Re: HOWTO Fix A Buggy DSDT File

    Much better now, this is the report:
    Code:
    dsdt.dsl  3252:             Method (_HOT, 0, Serialized)
    Warning  1087 -                        ^ Not all control paths return a value (_HOT)
    
    dsdt.dsl  3252:             Method (_HOT, 0, Serialized)
    Warning  1080 -                        ^ Reserved method must return a value (_HOT)
    
    dsdt.dsl  3267:             Method (_CRT, 0, Serialized)
    Warning  1087 -                        ^ Not all control paths return a value (_CRT)
    
    dsdt.dsl  3267:             Method (_CRT, 0, Serialized)
    Warning  1080 -                        ^ Reserved method must return a value (_CRT)
    
    dsdt.dsl  7275:                     Method (_Q16, 0, NotSerialized)
    Warning  1087 -                                ^ Not all control paths return a value (_Q16)
    Look at the methods:
    Code:
    Method (_HOT, 0, Serialized)
                {
                    If (LEqual (OSYS, 0x07D6))
                    {
                        If (LEqual (\_SB.TJ85, Zero))
                        {
                            Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
                        }
                        Else
                        {
                            Return (Add (0x0AAC, Multiply (TP85, 0x0A)))
                        }
                    }
                }
    
    Method (_CRT, 0, Serialized)
                {
                    If (LLess (OSYS, 0x07D6))
                    {
                        If (LEqual (\_SB.TJ85, Zero))
                        {
                            Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
                        }
                        Else
                        {
                            Return (Add (0x0AAC, Multiply (TP85, 0x0A)))
                        }
                    }
                }
    Code:
    Method (_Q16, 0, NotSerialized)
                        {
                            Store ("!!! DVD/Music Button pressed !!!", Debug)
                            Store (QBBB, Local0)
                            If (LEqual (Local0, 0x03))
                            {
                                Notify (MBTN, 0x02)
                                Return (Zero)
                            }
    
                            If (LEqual (Local0, 0x06))
                            {
                                Notify (PBTN, 0x02)
                                Return (Zero)
                            }
    
                            If (LEqual (Local0, 0x12))
                            {
                                Notify (VBTN, 0x02)
                                Return (Zero)
                            }
    
                            If (LEqual (Local0, 0x11))
                            {
                                Notify (TBTN, 0x02)
                                Return (Zero)
                            }
    
                            Store (0x04, ^^^^WMID.Z014)
                            Store (Zero, ^^^^WMID.Z015)
                            Notify (WMID, 0x80)
                        }
    Does the first warnings refer to "does not return anything if first if is not entered" ?
    OSYS variable can store the following:
    Code:
                    If (_OSI ("Windows 2001"))
                    {
                        Store (0x07D1, OSYS)
                    }
    
                    If (_OSI ("Windows 2001 SP1"))
                    {
                        Store (0x07D1, OSYS)
                    }
    
                    If (_OSI ("Windows 2001 SP2"))
                    {
                        Store (0x07D2, OSYS)
                    }
    
                    If (_OSI ("Windows 2006"))
                    {
                        Store (0x07D6, OSYS)
                    }
                }
    So could I gain benefits from booting with acpi_osi="Windows 2006" grub2 option ?


    Anyway, thanks in advance.
    Last edited by jaci87; April 2nd, 2010 at 01:39 PM.

  5. #425
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    What is your PC model? You might be able to just use my dsdt. Mine is HP dv6815nr.

  6. #426
    Join Date
    Oct 2007
    Beans
    23

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by 67GTA View Post
    What is your PC model? You might be able to just use my dsdt. Mine is HP dv6815nr.
    It's HP dv6635el.

  7. #427
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    That's not close enough. There will be different hardware. I am working on several dsdt's at the moment. If you want to attach a copy of yours here, I will try to fix it. Mine has similar problems with hot and crt. This causes the kernel to not see your cpu temp, and then causes a noisy fan. The q16 error is for windows only, but we can shut it up.

  8. #428
    Join Date
    Oct 2007
    Beans
    23

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by 67GTA View Post
    If you want to attach a copy of yours here, I will try to fix it.
    Thank you very much.
    Attached Files Attached Files

  9. #429
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    I've actually moved to Opensuse, and only check this thread occasionally to see if there are any new help requests. I have about 10 dsdt's to fix, so it might take a couple of days.

  10. #430
    Join Date
    Oct 2007
    Beans
    23

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by 67GTA View Post
    I've actually moved to Opensuse, and only check this thread occasionally to see if there are any new help requests. I have about 10 dsdt's to fix, so it might take a couple of days.
    Oh no problem, take your time.

Page 43 of 59 FirstFirst ... 33414243444553 ... 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
  •