Dell 5570, drain battery, bluetooth does not get up after a long sleep, sometimes the screen flicker

Discussion in 'High Sierra Laptop Support' started by minolone, May 17, 2018.

  1. minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    May 17, 2018 at 6:52 PM #1
    minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    Hi, I have a problem with my laptop, after a long sleep bluetooth is not waking up and the battery is dropping very much. I attach debug before and after sleep, sometimes the screen flickers.

    Before sleep: 5427
    After sleep: 13830

    Regards
     

    Attached Files:

  2. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    May 17, 2018 at 7:00 PM #2
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    It is possible your Radeon is turned back on after sleep.
    Refer to solutions in the guide:
    https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/

    Also, you have duplicate symbols somewhere in your patched ACPI setup.
    You can tell if you attempt disassembly of your patchmatic output: iasl -da -dl *.aml

    If you disassemble ACPI/origin, no duplicate symbols: iasl -da -dl DSDT.aml SSDT*.aml

    But with patchmatic there are duplicates, which indicates an incorrect hotpatch setup.
     
  3. minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    May 17, 2018 at 9:02 PM #3
    minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    Can you help me with the total exclusion of Radeon?

    I used SSDT-DDGPU and SSDT-PTSWAK files

    Method _OFF
    Code:
    Scope (\_SB.PCI0.RP01.PEGP)
        {
            Method (_ON, 0, Serialized)  // _ON_: Power On
            {
                \_SB.PCI0.HGON (One)
                Notify (\_SB.PCI0.RP01, Zero)
            }
    
            Method (_OFF, 0, Serialized)  // _OFF: Power Off
            {
                \_SB.PCI0.HGOF (One)
                Notify (\_SB.PCI0.RP01, Zero)
            }
        }
    Metod _INI
    Code:
    Scope (\_SB.PCI0.RP01.PEGP)
        {
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                Store (Zero, \_SB.PCI0.RP01.PEGP._ADR)
            }
        }
    Method _REG
    Code:
    Method (_REG, 2, NotSerialized)  // _REG: Region Availability
                {
                    If (LEqual (LEqual (Arg1, One), LEqual (Arg0, 0x03)))
                    {
                        Store (One, ECRD)
                        ECIN ()
                    }
    
                    If (LAnd (LEqual (Arg1, Zero), LEqual (Arg0, 0x03)))
                    {
                        Store (Zero, ECRD)
                    }
                }
     

    Attached Files:

  4. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    May 17, 2018 at 9:07 PM #4
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    You can use the _WAK/_PTS overrides in SSDT-PTSWAK if you have the required ACPI patches for _PTS->ZPTS, _WAK->ZWAK. Refer to the config.plist in the hotpatch repo (and the hotpatch guide).

    Then you need to set DPTS=1 in SSDT-RMCF. You should probably read the comments there too.
     
  5. minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    May 17, 2018 at 9:15 PM #5
    minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    And should I use the SSDT-DDGPU file with SSDT-PTSWAK? And should I modify the _OFF _INI and _REG methods?

    SSDT-DDGPU
    Code:
    DefinitionBlock ("", "SSDT", 2, "hack", "_DDGPU", 0x00000000)
    {
        External (_SB_.PCI0.RP01.PEGP._OFF, MethodObj)    // 0 Arguments (from opcode)
    
        Device (RMD1)
        {
            Name (_HID, "RMD10000")  // _HID: Hardware ID
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                If (CondRefOf (\_SB.PCI0.RP01.PEGP._OFF))
                {
                    \_SB.PCI0.RP01.PEGP._OFF ()
                }
            }
        }
    }
    
     
  6. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    May 17, 2018 at 9:19 PM #6
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    SSDT-DGPU is for disabling upon boot.
    SSDT-PTSWAK handles sleep/wake transitions.
     
  7. minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    May 17, 2018 at 9:22 PM #7
    minolone

    minolone

    Joined:
    Jun 8, 2014
    Messages:
    42
    Motherboard:
    Dell Inspiron 5570
    CPU:
    i5-8250u
    Graphics:
    UHD 620 + Amd Radeon 530
    And what about the _OFF _INI and _REG methods? Should I modify them with a guide? How do I check in IORegistryExplorer if Radeon is turned off? Just search for AMD
     
  8. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    May 17, 2018 at 11:26 PM #8
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    You only need to patch _OFF if it contains EC related code or calls other methods that contain EC related code.
    It is covered quite clearly in the various ACPI guides.

    The difference in Radeon disabled vs. not disabled can be seen from ioreg (look in relevant nodes under PCI0) and System Information->Graphics.
     
  9. huongcongbach

    huongcongbach

    Joined:
    Aug 6, 2016
    Messages:
    4
    Motherboard:
    Dell Inspiron 5570
    CPU:
    Intel Core i7-8550U 8
    Graphics:
    Intel UHD Graphics 620
    Mac:
    MacBook Pro
    Mobile Phone:
    Android, iOS
    May 18, 2018 at 12:32 PM #9
    huongcongbach

    huongcongbach

    Joined:
    Aug 6, 2016
    Messages:
    4
    Motherboard:
    Dell Inspiron 5570
    CPU:
    Intel Core i7-8550U 8
    Graphics:
    Intel UHD Graphics 620
    Mac:
    MacBook Pro
    Mobile Phone:
    Android, iOS
    Hi minolone,

    I am using the same laptop as yours, but I got lots of troubles with installing High Sierra. Can you provide me a guide or attach your working CLOVER folder with pre and post installation? Thank a lot
     
  10. RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    May 18, 2018 at 3:48 PM #10
    RehabMan

    RehabMan Moderator

    Joined:
    May 3, 2012
    Messages:
    185,215
    Motherboard:
    Intel DH67BL
    CPU:
    Core i7-2600K
    Graphics:
    Intel HD 3000
    Mac:
    MacBook Air
    Mobile Phone:
    iOS
    Follow the Clover guide linked from the FAQ.
    http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

    Although you should read the FAQ for an overview of issues, the Clover guide is linked from the first question: "Q. Where do I start?", just after the bold face "Clover Guide".
    Here is a direct link, just to be clear:
    https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

    Also, your profile must be filled out with complete details as requested in the FAQ, again under "Q. Where do I start?". All seven details requested are equally important.

    And if you have an issue (after following the guide), or on any other problem, you must provide a detailed description of the problem including information that helps us understand what you're doing. Always attach "Problem Reporting" files as per FAQ.
    http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
    The required files and data are fully detailed in the last question in the FAQ:
    "Q. What are typical "Problem Reporting" files?"
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice