Contribute
Register

[Pre Final] Zbook G3 / G4 Thunderbolt hotplug (Thunderbolt Enable) + S0, S3

Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
Hi everyone!

The latest test build is on the link:


Follow the manual to make all things working correct.
Please report of any glitches or problems of build!




=== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
THE OLD POST =>
=== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====

Hi everyone!

Zbook G3\G4 doesn't have an option like G5 have to force power thunderbolt device. So every time if you want to use Thunderbolt or USB-C device - you need to plug-in it before the boot. The tool that can change that is TbtForcePower.efi, but it is good for basic needs, but it doesn't have sleep\wake functionality.

After deeper research of DSDT i have found this:
Code:
    Method (CGWR, 4, Serialized)

            {

                If (LEqual (Arg0, Zero))

                {

                    If (CondRefOf (\_SB.SGOV))

                    {

                        SGOV (Arg2, Arg3)

                    }

                }

                ElseIf (LEqual (Arg0, One))

                {

                    If (CondRefOf (\_SB.PCI0.GEXP.SGEP))

                    {

                        ^PCI0.GEXP.SGEP (Arg1, Arg2, Arg3)

                    }

                }

            }
This method injects Arg2, Arg3 to SGOV, which is basicaly PCH GPIO. After query of CGWR arguments:
CGWR (FPAT, FPEN, FPGN, FPLV)

FPAT x4 = 00000000 = ARG0
FPEN x4 = 00000004 = ARG1
FPGN x4 = 01060010 = ARG2 (GPIO ADDRESS)
FPLV x4 = 00000001 = ARG3 (GPIO STATE)
So that was clear that injecting 0x01060010 and 0x1 to SGOV will enable power to thunderbolt. So that can be used to build ACPI method which will PowerOn thunderbolt on Boot, PowerOff on sleep and back online on wake.

And first tests were perfect, except one thing: when the device is disconnected, something at dsdt will powerOFF thunderbolt again. But that is great, that this way gives more stability. So to find notification that is disabling device could be a bingo to connect notification to enable power Event.


The project results are not stable enough for day-by-day usage. But can help push even further results.



=== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====
THE OUTDATED ATTACHMENTS =>
=== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====

SSDT-TB3HP.aml Is for proper naming of Thunderbolt
SSDT-TBMacOSDebug/SSDT-TBWindowsDebug are test builds
TbtForcePower.efi - is efi that injects Thunderbolt Power but doesn't take care of sleep and wake
 

Attachments

  • TbtForcePower.efi.zip
    6.2 KB · Views: 10
  • SSDT-TBWindowsDebug.zip
    1 KB · Views: 11
  • SSDT-TBMacOSDebug.zip
    995 bytes · Views: 13
  • SSDT-TB3HP.aml
    6 KB · Views: 12
  • TBTTEST.mov.zip
    6.5 MB · Views: 26
Last edited:
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
Nice two commands for debug ACPI


BootArgs:
acpi_layer=0x8 acpi_level=0x2 debug=0x100
Terminal:
log show --last boot --predicate 'process == "kernel" AND senderImagePath CONTAINS "AppleACPIPlatform"' --style compact | awk '/ACPI Debug/{getline; getline; print}'
 
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
interesting debug from USB-C Notification
2022-05-23 23:04:38.909 Df kernel[0:152] (AppleACPIPlatform) "_E4C"
2022-05-23 23:04:38.909 Df kernel[0:152] (AppleACPIPlatform) "WWAK"
2022-05-23 23:04:38.909 Df kernel[0:152] (AppleACPIPlatform) "WSUB"
2022-05-23 23:04:38.909 Df kernel[0:152] (AppleACPIPlatform) "TSUB"
2022-05-23 23:04:38.909 Df kernel[0:152] (AppleACPIPlatform) "TBTD"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "Device no"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) 0x000000000000001C
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "TBTF"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "Function no"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "ADR"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) 0x00000000F00E4000
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "Sec Bus"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "WSUB-Finished"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "GNIS"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "GNIS_Dis=0"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "TBT-HP-Handler"
2022-05-23 23:04:38.910 Df kernel[0:152] (AppleACPIPlatform) "PEG WorkAround"
2022-05-23 23:04:39.110 Df kernel[0:152] (AppleACPIPlatform) "TBFF"
2022-05-23 23:04:39.110 Df kernel[0:152] (AppleACPIPlatform) "MMTB"
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) "TBTD"
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) "Device no"
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) 0x000000000000001C
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) "TBTF"
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) "Function no"
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) "TBT-US-ADR"
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) 0x00000000F0400000
2022-05-23 23:04:39.111 Df kernel[0:152] (AppleACPIPlatform) "OSUP"
2022-05-23 23:04:39.162 Df kernel[0:152] (AppleACPIPlatform) "Cmd acknowledged"
2022-05-23 23:04:39.162 Df kernel[0:152] (AppleACPIPlatform) "End-of-OSUP"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "OS_Up_Received"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "_E4C"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "WWAK"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "WSUB"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "TSUB"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "TBTD"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "Device no"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) 0x000000000000001C
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "TBTF"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "Function no"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "ADR"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) 0x00000000F00E4000
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "Sec Bus"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "WSUB-Finished"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "GNIS"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "GNIS_Dis=0"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "_E4C"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "WWAK"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "WSUB"
2022-05-23 23:04:39.179 Df kernel[0:152] (AppleACPIPlatform) "TSUB"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "TBTD"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "Device no"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) 0x000000000000001C
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "TBTF"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "Function no"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "ADR"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) 0x00000000F00E4000
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "Sec Bus"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "WSUB-Finished"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "GNIS"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "GNIS_Dis=0"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "TBT-HP-Handler"
2022-05-23 23:04:39.180 Df kernel[0:152] (AppleACPIPlatform) "PEG WorkAround"
2022-05-23 23:04:39.380 Df kernel[0:152] (AppleACPIPlatform) "TBFF"
2022-05-23 23:04:39.380 Df kernel[0:152] (AppleACPIPlatform) "MMTB"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "TBTD"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "Device no"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) 0x000000000000001C
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "TBTF"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "Function no"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) 0x0000000000000004
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "TBT-US-ADR"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) 0x00000000F0400000
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "Dev Present"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "TBT SW SMI"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "NTFY"
2022-05-23 23:04:39.381 Df kernel[0:152] (AppleACPIPlatform) "Notify RP05"
2022-05-23 23:04:39.398 Df kernel[0:152] (AppleACPIPlatform) "End-of-_E4C"
 
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
debugging

this log shows that tbt was force powered, but according to previous post, thunderolt was deactivated as no devices was connected to it
2022-05-24 00:04:10.760 Df kernel[0:71] (AppleACPIPlatform) "TFPS"
2022-05-24 00:04:10.765 Df kernel[0:71] (AppleACPIPlatform) "ExtFrcPwr0"
2022-05-24 00:04:10.770 Df kernel[0:71] (AppleACPIPlatform) "==================================================="
2022-05-24 00:04:10.776 Df kernel[0:71] (AppleACPIPlatform) "FPAT="
2022-05-24 00:04:10.781 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-05-24 00:04:10.787 Df kernel[0:71] (AppleACPIPlatform) "FPEN="
2022-05-24 00:04:10.792 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-05-24 00:04:10.797 Df kernel[0:71] (AppleACPIPlatform) "FPGN="
2022-05-24 00:04:10.802 Df kernel[0:71] (AppleACPIPlatform) 0x0000000001060010
2022-05-24 00:04:10.808 Df kernel[0:71] (AppleACPIPlatform) "FPLV="
2022-05-24 00:04:10.813 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-05-24 00:04:10.818 Df kernel[0:71] (AppleACPIPlatform) "==================================================="
2022-05-24 00:04:10.825 Df kernel[0:71] (AppleACPIPlatform) "TFPS"
2022-05-24 00:04:10.830 Df kernel[0:71] (AppleACPIPlatform) "ExtFrcPwr1"
 

Attachments

  • SSDT-TBTEB 7.aml
    646 bytes · Views: 10
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
Clean DSDT with Hot patches provided. That DSDT is extracted from MacOs, the only way to get internal screen working.

What is great? This DSDT provides editing Methods and making them function as need to be function.

BTW. This DSDT is based on DSDT provided in BIOS update 01.52

On other bios versions, some methods or objects could be inaccessible
 

Attachments

  • MacOS_ZbookG3_DSDT_v5.dsl
    1.1 MB · Views: 13
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
If there is nothing executed to force power thunberbolt:
default 20:26:20.159193 +0300 kernel ACPI Error:
default 20:26:20.159209 +0300 kernel ACPI Error:
default 20:26:20.159219 +0300 kernel [SPRT]
default 20:26:20.159221 +0300 kernel [SPRT]
default 20:26:20.159224 +0300 kernel Namespace lookup failure, AE_ALREADY_EXISTS
default 20:26:20.159226 +0300 kernel Namespace lookup failure, AE_ALREADY_EXISTS
default 20:26:20.159231 +0300 kernel (20160930/dswload2-411)
default 20:26:20.159232 +0300 kernel (20160930/dswload2-411)
default 20:26:20.159238 +0300 kernel
default 20:26:20.159240 +0300 kernel
default 20:26:20.159242 +0300 kernel No Local Variables are initialized for method [_E4C]
default 20:26:20.159244 +0300 kernel No Local Variables are initialized for method [_E4C]
default 20:26:20.159248 +0300 kernel
default 20:26:20.159249 +0300 kernel
default 20:26:20.159251 +0300 kernel No Arguments are initialized for method [_E4C]
default 20:26:20.159253 +0300 kernel No Arguments are initialized for method [_E4C]
default 20:26:20.159256 +0300 kernel
default 20:26:20.159258 +0300 kernel
default 20:26:20.159260 +0300 kernel ACPI Exception: AE_ALREADY_EXISTS,
default 20:26:20.159261 +0300 kernel ACPI Exception: AE_ALREADY_EXISTS,
default 20:26:20.159265 +0300 kernel During name lookup/catalog
default 20:26:20.159266 +0300 kernel During name lookup/catalog
default 20:26:20.159269 +0300 kernel (20160930/psobject-310)
default 20:26:20.159271 +0300 kernel (20160930/psobject-310)
default 20:26:20.159275 +0300 kernel ACPI Error:
default 20:26:20.159276 +0300 kernel ACPI Error:
default 20:26:20.159279 +0300 kernel Method parse/execution failed
default 20:26:20.159281 +0300 kernel Method parse/execution failed
default 20:26:20.159285 +0300 kernel [\_GPE._E4C] (Node ffffff80449fc3f0)
default 20:26:20.159287 +0300 kernel [\_GPE._E4C] (Node ffffff80449fc3f0)
default 20:26:20.159290 +0300 kernel , AE_ALREADY_EXISTS
default 20:26:20.159291 +0300 kernel , AE_ALREADY_EXISTS
default 20:26:20.159294 +0300 kernel (20160930/psparse-632)
default 20:26:20.159296 +0300 kernel (20160930/psparse-632)
default 20:26:20.159300 +0300 kernel ACPI Error:
default 20:26:20.159302 +0300 kernel ACPI Error:
default 20:26:20.159304 +0300 kernel Method parse/execution failed
default 20:26:20.159306 +0300 kernel Method parse/execution failed
default 20:26:20.159310 +0300 kernel [\_GPE._E4C] (Node ffffff80449fc3f0)
default 20:26:20.159311 +0300 kernel [\_GPE._E4C] (Node ffffff80449fc3f0)
default 20:26:20.159314 +0300 kernel , AE_ALREADY_EXISTS
default 20:26:20.159316 +0300 kernel , AE_ALREADY_EXISTS
default 20:26:20.159319 +0300 kernel (20160930/psparse-632)
default 20:26:20.159321 +0300 kernel (20160930/psparse-632)
default 20:26:20.159331 +0300 kernel ACPI Exception: AE_ALREADY_EXISTS,
default 20:26:20.159333 +0300 kernel ACPI Exception: AE_ALREADY_EXISTS,
default 20:26:20.159336 +0300 kernel while evaluating GPE method [_E4C]
default 20:26:20.159338 +0300 kernel while evaluating GPE method [_E4C]
default 20:26:20.159341 +0300 kernel (20160930/evgpe-814)
default 20:26:20.159343 +0300 kernel (20160930/evgpe-814)




Some interesting Debug when TBT device was started, but not recognized by system:

Dev Present
default 18:43:14.911612 +0300 kernel [ACPI Debug]
default 18:43:14.911630 +0300 kernel [ACPI Debug]
default 18:43:14.911635 +0300 kernel "_E4C"
default 18:43:14.911637 +0300 kernel "_E4C"
default 18:43:14.911736 +0300 kernel [ACPI Debug]
default 18:43:14.911738 +0300 kernel [ACPI Debug]
default 18:43:14.911742 +0300 kernel "WWAK"
default 18:43:14.911744 +0300 kernel "WWAK"
default 18:43:14.911891 +0300 kernel [ACPI Debug]
default 18:43:14.911893 +0300 kernel [ACPI Debug]
default 18:43:14.911897 +0300 kernel "WSUB"
default 18:43:14.911898 +0300 kernel "WSUB"
default 18:43:14.911941 +0300 kernel [ACPI Debug]
default 18:43:14.911942 +0300 kernel [ACPI Debug]
default 18:43:14.911947 +0300 kernel "TSUB"
default 18:43:14.911948 +0300 kernel "TSUB"
default 18:43:14.912121 +0300 kernel [ACPI Debug]
default 18:43:14.912123 +0300 kernel [ACPI Debug]
default 18:43:14.912126 +0300 kernel "TBTD"
default 18:43:14.912128 +0300 kernel "TBTD"
default 18:43:14.912254 +0300 kernel [ACPI Debug]
default 18:43:14.912257 +0300 kernel [ACPI Debug]
default 18:43:14.912261 +0300 kernel "Device no"
default 18:43:14.912263 +0300 kernel "Device no"
default 18:43:14.912285 +0300 kernel [ACPI Debug]
default 18:43:14.912287 +0300 kernel [ACPI Debug]
default 18:43:14.912307 +0300 kernel 0x000000000000001C
default 18:43:14.912308 +0300 kernel 0x000000000000001C
default 18:43:14.912437 +0300 kernel [ACPI Debug]
default 18:43:14.912438 +0300 kernel [ACPI Debug]
default 18:43:14.912441 +0300 kernel "TBTF"
default 18:43:14.912443 +0300 kernel "TBTF"
default 18:43:14.912619 +0300 kernel [ACPI Debug]
default 18:43:14.912621 +0300 kernel [ACPI Debug]
default 18:43:14.912627 +0300 kernel "Function no"
default 18:43:14.912628 +0300 kernel "Function no"
default 18:43:14.912636 +0300 kernel [ACPI Debug]
default 18:43:14.912637 +0300 kernel [ACPI Debug]
default 18:43:14.912641 +0300 kernel 0x0000000000000004
default 18:43:14.912641 +0300 kernel 0x0000000000000004
default 18:43:14.912669 +0300 kernel [ACPI Debug]
default 18:43:14.912671 +0300 kernel [ACPI Debug]
default 18:43:14.912673 +0300 kernel "ADR"
default 18:43:14.912674 +0300 kernel "ADR"
default 18:43:14.912682 +0300 kernel [ACPI Debug]
default 18:43:14.912683 +0300 kernel [ACPI Debug]
default 18:43:14.912686 +0300 kernel 0x00000000F00E4000
default 18:43:14.912687 +0300 kernel 0x00000000F00E4000
default 18:43:14.912715 +0300 kernel [ACPI Debug]
default 18:43:14.912716 +0300 kernel [ACPI Debug]
default 18:43:14.912720 +0300 kernel "Sec Bus"
default 18:43:14.912721 +0300 kernel "Sec Bus"
default 18:43:14.912735 +0300 kernel [ACPI Debug]
default 18:43:14.912736 +0300 kernel [ACPI Debug]
default 18:43:14.912739 +0300 kernel 0x0000000000000004
default 18:43:14.912740 +0300 kernel 0x0000000000000004
default 18:43:14.912769 +0300 kernel [ACPI Debug]
default 18:43:14.912771 +0300 kernel [ACPI Debug]
default 18:43:14.912775 +0300 kernel "WSUB-Finished"
default 18:43:14.912777 +0300 kernel "WSUB-Finished"
default 18:43:14.912854 +0300 kernel [ACPI Debug]
default 18:43:14.912855 +0300 kernel [ACPI Debug]
default 18:43:14.912875 +0300 kernel "GNIS"
default 18:43:14.912878 +0300 kernel "GNIS"
default 18:43:14.912899 +0300 kernel [ACPI Debug]
default 18:43:14.912900 +0300 kernel [ACPI Debug]
default 18:43:14.912903 +0300 kernel "GNIS_Dis=0"
default 18:43:14.912904 +0300 kernel "GNIS_Dis=0"
default 18:43:14.912927 +0300 kernel [ACPI Debug]
default 18:43:14.912928 +0300 kernel [ACPI Debug]
default 18:43:14.912931 +0300 kernel "TBT-HP-Handler"
default 18:43:14.912932 +0300 kernel "TBT-HP-Handler"
default 18:43:14.912940 +0300 kernel [ACPI Debug]
default 18:43:14.912940 +0300 kernel [ACPI Debug]
default 18:43:14.912945 +0300 kernel "PEG WorkAround"
default 18:43:14.912946 +0300 kernel "PEG WorkAround"
default 18:43:15.113162 +0300 kernel [ACPI Debug]
default 18:43:15.113170 +0300 kernel [ACPI Debug]
default 18:43:15.113174 +0300 kernel "TBFF"
default 18:43:15.113176 +0300 kernel "TBFF"
default 18:43:15.113238 +0300 kernel [ACPI Debug]
default 18:43:15.113239 +0300 kernel [ACPI Debug]
default 18:43:15.113242 +0300 kernel "MMTB"
default 18:43:15.113242 +0300 kernel "MMTB"
default 18:43:15.113332 +0300 kernel [ACPI Debug]
default 18:43:15.113333 +0300 kernel [ACPI Debug]
default 18:43:15.113336 +0300 kernel "TBTD"
default 18:43:15.113336 +0300 kernel "TBTD"
default 18:43:15.113409 +0300 kernel [ACPI Debug]
default 18:43:15.113410 +0300 kernel [ACPI Debug]
default 18:43:15.113414 +0300 kernel "Device no"
default 18:43:15.113415 +0300 kernel "Device no"
default 18:43:15.113423 +0300 kernel [ACPI Debug]
default 18:43:15.113424 +0300 kernel [ACPI Debug]
default 18:43:15.113426 +0300 kernel 0x000000000000001C
default 18:43:15.113427 +0300 kernel 0x000000000000001C
default 18:43:15.113486 +0300 kernel [ACPI Debug]
default 18:43:15.113487 +0300 kernel [ACPI Debug]
default 18:43:15.113490 +0300 kernel "TBTF"
default 18:43:15.113491 +0300 kernel "TBTF"
default 18:43:15.113602 +0300 kernel [ACPI Debug]
default 18:43:15.113603 +0300 kernel [ACPI Debug]
default 18:43:15.113607 +0300 kernel "Function no"
default 18:43:15.113608 +0300 kernel "Function no"
default 18:43:15.113616 +0300 kernel [ACPI Debug]
default 18:43:15.113617 +0300 kernel [ACPI Debug]
default 18:43:15.113620 +0300 kernel 0x0000000000000004
default 18:43:15.113621 +0300 kernel 0x0000000000000004
default 18:43:15.113718 +0300 kernel [ACPI Debug]
default 18:43:15.113719 +0300 kernel [ACPI Debug]
default 18:43:15.113722 +0300 kernel "TBT-US-ADR"
default 18:43:15.113723 +0300 kernel "TBT-US-ADR"
default 18:43:15.113731 +0300 kernel [ACPI Debug]
default 18:43:15.113732 +0300 kernel [ACPI Debug]
default 18:43:15.113735 +0300 kernel 0x00000000F0400000
default 18:43:15.113736 +0300 kernel 0x00000000F0400000
default 18:43:15.113821 +0300 kernel [ACPI Debug]
default 18:43:15.113823 +0300 kernel [ACPI Debug]
default 18:43:15.113825 +0300 kernel "OSUP"
default 18:43:15.113826 +0300 kernel "OSUP"
default 18:43:15.164480 +0300 kernel [ACPI Debug]
default 18:43:15.164489 +0300 kernel [ACPI Debug]
default 18:43:15.164513 +0300 kernel "Cmd acknowledged"
default 18:43:15.164514 +0300 kernel "Cmd acknowledged"
default 18:43:15.164554 +0300 kernel [ACPI Debug]
default 18:43:15.164555 +0300 kernel [ACPI Debug]
default 18:43:15.164559 +0300 kernel "End-of-OSUP"
default 18:43:15.164560 +0300 kernel "End-of-OSUP"
default 18:43:15.181312 +0300 kernel [ACPI Debug]
default 18:43:15.181320 +0300 kernel [ACPI Debug]
default 18:43:15.181326 +0300 kernel "OS_Up_Received"
default 18:43:15.181328 +0300 kernel "OS_Up_Received"
default 18:43:15.181456 +0300 kernel [ACPI Debug]
default 18:43:15.181458 +0300 kernel [ACPI Debug]
default 18:43:15.181461 +0300 kernel "_E4C"
default 18:43:15.181468 +0300 kernel "_E4C"
default 18:43:15.181524 +0300 kernel [ACPI Debug]
default 18:43:15.181524 +0300 kernel [ACPI Debug]
default 18:43:15.181528 +0300 kernel "WWAK"
default 18:43:15.181529 +0300 kernel "WWAK"
default 18:43:15.181645 +0300 kernel [ACPI Debug]
default 18:43:15.181647 +0300 kernel [ACPI Debug]
default 18:43:15.181649 +0300 kernel "TSUB"
default 18:43:15.181650 +0300 kernel "TSUB"
default 18:43:15.181732 +0300 kernel [ACPI Debug]
default 18:43:15.181733 +0300 kernel [ACPI Debug]
default 18:43:15.181735 +0300 kernel "TBTD"
default 18:43:15.181736 +0300 kernel "TBTD"
default 18:43:15.181800 +0300 kernel [ACPI Debug]
default 18:43:15.181801 +0300 kernel [ACPI Debug]
default 18:43:15.181803 +0300 kernel "Device no"
default 18:43:15.181804 +0300 kernel "Device no"
default 18:43:15.181809 +0300 kernel [ACPI Debug]
default 18:43:15.181810 +0300 kernel [ACPI Debug]
default 18:43:15.181812 +0300 kernel 0x000000000000001C
default 18:43:15.181812 +0300 kernel 0x000000000000001C
default 18:43:15.181860 +0300 kernel [ACPI Debug]
default 18:43:15.181860 +0300 kernel [ACPI Debug]
default 18:43:15.181862 +0300 kernel "TBTF"
default 18:43:15.181863 +0300 kernel "TBTF"
default 18:43:15.181947 +0300 kernel [ACPI Debug]
default 18:43:15.181948 +0300 kernel [ACPI Debug]
default 18:43:15.181952 +0300 kernel "Function no"
default 18:43:15.181953 +0300 kernel "Function no"
default 18:43:15.181962 +0300 kernel [ACPI Debug]
default 18:43:15.181963 +0300 kernel [ACPI Debug]
default 18:43:15.181964 +0300 kernel 0x0000000000000004
default 18:43:15.181965 +0300 kernel 0x0000000000000004
default 18:43:15.181988 +0300 kernel [ACPI Debug]
default 18:43:15.181989 +0300 kernel [ACPI Debug]
default 18:43:15.181991 +0300 kernel "ADR"
default 18:43:15.181992 +0300 kernel "ADR"
default 18:43:15.181998 +0300 kernel [ACPI Debug]
default 18:43:15.181999 +0300 kernel [ACPI Debug]
default 18:43:15.182002 +0300 kernel 0x00000000F00E4000
default 18:43:15.182002 +0300 kernel 0x00000000F00E4000
default 18:43:15.182025 +0300 kernel [ACPI Debug]
default 18:43:15.182027 +0300 kernel [ACPI Debug]
default 18:43:15.182029 +0300 kernel "Sec Bus"
default 18:43:15.182031 +0300 kernel "Sec Bus"
default 18:43:15.182042 +0300 kernel [ACPI Debug]
default 18:43:15.182043 +0300 kernel [ACPI Debug]
default 18:43:15.182045 +0300 kernel 0x0000000000000004
default 18:43:15.182047 +0300 kernel 0x0000000000000004
default 18:43:15.182072 +0300 kernel [ACPI Debug]
default 18:43:15.182072 +0300 kernel [ACPI Debug]
default 18:43:15.182076 +0300 kernel "WSUB-Finished"
default 18:43:15.182078 +0300 kernel "WSUB-Finished"
default 18:43:15.182118 +0300 kernel [ACPI Debug]
default 18:43:15.182119 +0300 kernel [ACPI Debug]
default 18:43:15.182122 +0300 kernel "GNIS"
default 18:43:15.182123 +0300 kernel "GNIS"
default 18:43:15.182147 +0300 kernel [ACPI Debug]
default 18:43:15.182148 +0300 kernel [ACPI Debug]
default 18:43:15.182152 +0300 kernel "GNIS_Dis=0"
default 18:43:15.182152 +0300 kernel "GNIS_Dis=0"
default 18:43:15.182182 +0300 kernel [ACPI Debug]
default 18:43:15.182183 +0300 kernel [ACPI Debug]
default 18:43:15.182187 +0300 kernel "TBT-HP-Handler"
default 18:43:15.182188 +0300 kernel "TBT-HP-Handler"
default 18:43:15.182204 +0300 kernel [ACPI Debug]
default 18:43:15.182205 +0300 kernel [ACPI Debug]
default 18:43:15.182215 +0300 kernel "PEG WorkAround"
default 18:43:15.182217 +0300 kernel "PEG WorkAround"
default 18:43:15.383474 +0300 kernel [ACPI Debug]
default 18:43:15.383492 +0300 kernel [ACPI Debug]
default 18:43:15.383497 +0300 kernel "TBFF"
default 18:43:15.383497 +0300 kernel "TBFF"
default 18:43:15.383575 +0300 kernel [ACPI Debug]
default 18:43:15.383577 +0300 kernel [ACPI Debug]
default 18:43:15.383580 +0300 kernel "MMTB"
default 18:43:15.383581 +0300 kernel "MMTB"
default 18:43:15.383705 +0300 kernel [ACPI Debug]
default 18:43:15.383706 +0300 kernel [ACPI Debug]
default 18:43:15.383709 +0300 kernel "TBTD"
default 18:43:15.383710 +0300 kernel "TBTD"
default 18:43:15.383789 +0300 kernel [ACPI Debug]
default 18:43:15.383790 +0300 kernel [ACPI Debug]
default 18:43:15.383794 +0300 kernel "Device no"
default 18:43:15.383795 +0300 kernel "Device no"
default 18:43:15.383803 +0300 kernel [ACPI Debug]
default 18:43:15.383804 +0300 kernel [ACPI Debug]
default 18:43:15.383809 +0300 kernel 0x000000000000001C
default 18:43:15.383810 +0300 kernel 0x000000000000001C
default 18:43:15.383934 +0300 kernel [ACPI Debug]
default 18:43:15.383936 +0300 kernel [ACPI Debug]
default 18:43:15.383939 +0300 kernel "TBTF"
default 18:43:15.383940 +0300 kernel "TBTF"
default 18:43:15.384091 +0300 kernel [ACPI Debug]
default 18:43:15.384092 +0300 kernel [ACPI Debug]
default 18:43:15.384097 +0300 kernel "Function no"
default 18:43:15.384098 +0300 kernel "Function no"
default 18:43:15.384107 +0300 kernel [ACPI Debug]
default 18:43:15.384107 +0300 kernel [ACPI Debug]
default 18:43:15.384110 +0300 kernel 0x0000000000000004
default 18:43:15.384111 +0300 kernel 0x0000000000000004
default 18:43:15.384225 +0300 kernel [ACPI Debug]
default 18:43:15.384227 +0300 kernel [ACPI Debug]
default 18:43:15.384231 +0300 kernel "TBT-US-ADR"
default 18:43:15.384233 +0300 kernel "TBT-US-ADR"
default 18:43:15.384240 +0300 kernel [ACPI Debug]
default 18:43:15.384240 +0300 kernel [ACPI Debug]
default 18:43:15.384243 +0300 kernel 0x00000000F0400000
default 18:43:15.384245 +0300 kernel 0x00000000F0400000
default 18:43:15.384309 +0300 kernel [ACPI Debug]
default 18:43:15.384310 +0300 kernel [ACPI Debug]
default 18:43:15.384315 +0300 kernel "Dev Present"
default 18:43:15.384316 +0300 kernel "Dev Present"
default 18:43:15.384393 +0300 kernel [ACPI Debug]
default 18:43:15.384396 +0300 kernel [ACPI Debug]
default 18:43:15.384400 +0300 kernel "TBT SW SMI"
default 18:43:15.384402 +0300 kernel "TBT SW SMI"
default 18:43:15.384871 +0300 kernel [ACPI Debug]
default 18:43:15.384873 +0300 kernel [ACPI Debug]
default 18:43:15.384875 +0300 kernel "NTFY"
default 18:43:15.384877 +0300 kernel "NTFY"
default 18:43:15.384977 +0300 kernel [ACPI Debug]
default 18:43:15.384978 +0300 kernel [ACPI Debug]
default 18:43:15.384981 +0300 kernel "Notify RP05"
default 18:43:15.384982 +0300 kernel "Notify RP05"
default 18:43:15.402385 +0300 kernel [ACPI Debug]
default 18:43:15.402397 +0300 kernel [ACPI Debug]
default 18:43:15.402402 +0300 kernel "End-of-_E4C"
default 18:43:15.402403 +0300 kernel "End-of-_E4C"

Dev gone:
default 18:44:53.331156 +0300 kernel [ACPI Debug]
default 18:44:53.331174 +0300 kernel [ACPI Debug]
default 18:44:53.331180 +0300 kernel "_E4C"
default 18:44:53.331182 +0300 kernel "_E4C"
default 18:44:53.331279 +0300 kernel [ACPI Debug]
default 18:44:53.331281 +0300 kernel [ACPI Debug]
default 18:44:53.331285 +0300 kernel "WWAK"
default 18:44:53.331288 +0300 kernel "WWAK"
default 18:44:53.331441 +0300 kernel [ACPI Debug]
default 18:44:53.331493 +0300 kernel [ACPI Debug]
default 18:44:53.331495 +0300 kernel [ACPI Debug]
default 18:44:53.331499 +0300 kernel "TSUB"
default 18:44:53.331500 +0300 kernel "TSUB"
default 18:44:53.331677 +0300 kernel [ACPI Debug]
default 18:44:53.331680 +0300 kernel [ACPI Debug]
default 18:44:53.331685 +0300 kernel "TBTD"
default 18:44:53.331687 +0300 kernel "TBTD"
default 18:44:53.331853 +0300 kernel [ACPI Debug]
default 18:44:53.331855 +0300 kernel [ACPI Debug]
default 18:44:53.331861 +0300 kernel "Device no"
default 18:44:53.331862 +0300 kernel "Device no"
default 18:44:53.331873 +0300 kernel [ACPI Debug]
default 18:44:53.331876 +0300 kernel [ACPI Debug]
default 18:44:53.331880 +0300 kernel 0x000000000000001C
default 18:44:53.331881 +0300 kernel 0x000000000000001C
default 18:44:53.332025 +0300 kernel [ACPI Debug]
default 18:44:53.332028 +0300 kernel [ACPI Debug]
default 18:44:53.332032 +0300 kernel "TBTF"
default 18:44:53.332033 +0300 kernel "TBTF"
default 18:44:53.332236 +0300 kernel [ACPI Debug]
default 18:44:53.332238 +0300 kernel [ACPI Debug]
default 18:44:53.332243 +0300 kernel "Function no"
default 18:44:53.332245 +0300 kernel "Function no"
default 18:44:53.332253 +0300 kernel [ACPI Debug]
default 18:44:53.332255 +0300 kernel [ACPI Debug]
default 18:44:53.332258 +0300 kernel 0x0000000000000004
default 18:44:53.332259 +0300 kernel 0x0000000000000004
default 18:44:53.332287 +0300 kernel [ACPI Debug]
default 18:44:53.332289 +0300 kernel [ACPI Debug]
default 18:44:53.332291 +0300 kernel "ADR"
default 18:44:53.332293 +0300 kernel "ADR"
default 18:44:53.332300 +0300 kernel [ACPI Debug]
default 18:44:53.332301 +0300 kernel [ACPI Debug]
default 18:44:53.332304 +0300 kernel 0x00000000F00E4000
default 18:44:53.332305 +0300 kernel 0x00000000F00E4000
default 18:44:53.332336 +0300 kernel [ACPI Debug]
default 18:44:53.332337 +0300 kernel [ACPI Debug]
default 18:44:53.332340 +0300 kernel "Sec Bus"
default 18:44:53.332342 +0300 kernel "Sec Bus"
default 18:44:53.332354 +0300 kernel [ACPI Debug]
default 18:44:53.332356 +0300 kernel [ACPI Debug]
default 18:44:53.332360 +0300 kernel 0x0000000000000004
default 18:44:53.332360 +0300 kernel 0x0000000000000004
default 18:44:53.332390 +0300 kernel [ACPI Debug]
default 18:44:53.332392 +0300 kernel [ACPI Debug]
default 18:44:53.332397 +0300 kernel "WSUB-Finished"
default 18:44:53.332398 +0300 kernel "WSUB-Finished"
default 18:44:53.332446 +0300 kernel [ACPI Debug]
default 18:44:53.332447 +0300 kernel [ACPI Debug]
default 18:44:53.332451 +0300 kernel "GNIS"
default 18:44:53.332459 +0300 kernel "GNIS"
default 18:44:53.332505 +0300 kernel [ACPI Debug]
default 18:44:53.332506 +0300 kernel [ACPI Debug]
default 18:44:53.332511 +0300 kernel "GNIS_Dis=0"
default 18:44:53.332513 +0300 kernel "GNIS_Dis=0"
default 18:44:53.332563 +0300 kernel [ACPI Debug]
default 18:44:53.332564 +0300 kernel [ACPI Debug]
default 18:44:53.332571 +0300 kernel "TBT-HP-Handler"
default 18:44:53.332573 +0300 kernel "TBT-HP-Handler"
default 18:44:53.332589 +0300 kernel [ACPI Debug]
default 18:44:53.332590 +0300 kernel [ACPI Debug]
default 18:44:53.332596 +0300 kernel "PEG WorkAround"
default 18:44:53.332599 +0300 kernel "PEG WorkAround"
default 18:44:53.533893 +0300 kernel [ACPI Debug]
default 18:44:53.533912 +0300 kernel [ACPI Debug]
default 18:44:53.533918 +0300 kernel "TBFF"
default 18:44:53.533920 +0300 kernel "TBFF"
default 18:44:53.534035 +0300 kernel [ACPI Debug]
default 18:44:53.534038 +0300 kernel [ACPI Debug]
default 18:44:53.534041 +0300 kernel "MMTB"
default 18:44:53.534043 +0300 kernel "MMTB"
default 18:44:53.534184 +0300 kernel [ACPI Debug]
default 18:44:53.534186 +0300 kernel [ACPI Debug]
default 18:44:53.534190 +0300 kernel "TBTD"
default 18:44:53.534193 +0300 kernel "TBTD"
default 18:44:53.534315 +0300 kernel [ACPI Debug]
default 18:44:53.534317 +0300 kernel [ACPI Debug]
default 18:44:53.534324 +0300 kernel "Device no"
default 18:44:53.534326 +0300 kernel "Device no"
default 18:44:53.534338 +0300 kernel [ACPI Debug]
default 18:44:53.534340 +0300 kernel [ACPI Debug]
default 18:44:53.534345 +0300 kernel 0x000000000000001C
default 18:44:53.534347 +0300 kernel 0x000000000000001C
default 18:44:53.534492 +0300 kernel [ACPI Debug]
default 18:44:53.534495 +0300 kernel [ACPI Debug]
default 18:44:53.534500 +0300 kernel "TBTF"
default 18:44:53.534502 +0300 kernel "TBTF"
default 18:44:53.534714 +0300 kernel [ACPI Debug]
default 18:44:53.534716 +0300 kernel [ACPI Debug]
default 18:44:53.534720 +0300 kernel "Function no"
default 18:44:53.534722 +0300 kernel "Function no"
default 18:44:53.534732 +0300 kernel [ACPI Debug]
default 18:44:53.534732 +0300 kernel [ACPI Debug]
default 18:44:53.534736 +0300 kernel 0x0000000000000004
default 18:44:53.534738 +0300 kernel 0x0000000000000004
default 18:44:53.534898 +0300 kernel [ACPI Debug]
default 18:44:53.534901 +0300 kernel [ACPI Debug]
default 18:44:53.534905 +0300 kernel "TBT-US-ADR"
default 18:44:53.534907 +0300 kernel "TBT-US-ADR"
default 18:44:53.534917 +0300 kernel [ACPI Debug]
default 18:44:53.534918 +0300 kernel [ACPI Debug]
default 18:44:53.534922 +0300 kernel 0x00000000F0400000
default 18:44:53.534923 +0300 kernel 0x00000000F0400000
default 18:44:53.906499 +0300 kernel [ACPI Debug]
default 18:44:53.906505 +0300 kernel [ACPI Debug]
default 18:44:53.906508 +0300 kernel "OSUP"
default 18:44:53.906509 +0300 kernel "OSUP"
default 18:44:53.906595 +0300 kernel [ACPI Debug]
default 18:44:53.906596 +0300 kernel [ACPI Debug]
default 18:44:53.906598 +0300 kernel "Dev gone"
default 18:44:53.906599 +0300 kernel "Dev gone"
default 18:44:53.906652 +0300 kernel [ACPI Debug]
default 18:44:53.906653 +0300 kernel [ACPI Debug]
default 18:44:53.906654 +0300 kernel "NTFY"
default 18:44:53.906655 +0300 kernel "NTFY"
default 18:44:53.906750 +0300 kernel [ACPI Debug]
default 18:44:53.906751 +0300 kernel [ACPI Debug]
default 18:44:53.906755 +0300 kernel "Notify RP05"
default 18:44:53.906755 +0300 kernel "Notify RP05"
default 18:44:53.924247 +0300 kernel [ACPI Debug]
default 18:44:53.924266 +0300 kernel [ACPI Debug]
default 18:44:53.924273 +0300 kernel "Disconnect"
default 18:44:53.924275 +0300 kernel "Disconnect"



========================
So after some tests i have some platform conclusion:
1. MacOs is not loading drivers of thunderbolt if device is not enabled on boot.
2. Zbook ACPI engine will disable thunderbolt if there is nothing connected to it. The exception is if the ForcePower variable is set before OS ACPI engine will be enabled

Theory: to set PowerEnable using TBTForcePowerEnable.efi, delete notification method from dsdt, to disable autopower off. Added PTS and WAKE methods to enable Thunderbolt again.
 
Last edited:
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
(AppleACPIPlatform) "Calling TBFP"
(AppleACPIPlatform) "SGOV(0x0000000001060010, 0x0000000000000001) called"
(AppleACPIPlatform) "GPIO 0x0000000001060010 has MMIO address 0x00000000FDAE0728"

So if this Ram byte is set to 1, then thunderbolt will be executed. The way of test: using uefishell execute hex editor, open memory address FDAE0728, and then patch 00 to 01. Exit uefishell and get back to bootloader. After that Thunderbolt will be always on. But sleep will not work.

The question does Macbook disables Thunderbolt device on sleep?



RAM PATCH AML IS AT ATTACHMENTS
 

Attachments

  • SSDT-TDRAM.aml
    179 bytes · Views: 15
Last edited:
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
PIN MacBook Spectre x360
TBT_X_FORCE_PWR
0=Enable
1=Disable
Pin=>100k=>GND Pin=>100k=>GND
Pin=>PCH
TBT_X_USB_PWR_EN Pin=>PCH
Pin=>100k=>3.3v
Pin=>Usb Power Controller CD3215A
Pin=>100k=>3.3v
Pin=>100k=>GND
Pin=>Usb Power Controller
TBT_X_CIO_PWR_EN Pin=>PCH
Pin=>Usb Power Controller CD3215A
Pin=>3.3v
Pin=>100k=>3.3v
Pin=>100k=>GND
Pin=>Usb Power Controller
PM_SLP_S3_L Pin=>PCH
Pin=>S3L
Pin=>R=>MAINON


Force Power Pin is №158.
So to solve Force Power, the PCB trace can be identified and cut on Zbook. This will make it full time operation.
But the key problem still is auto power off of controller. If this can be solved, then it would be a full solution.
 

Attachments

  • Hp spectre X360 Datasheet.zip
    1.9 MB · Views: 15
  • MacBookPro13,3 Datasheets.zip
    2.3 MB · Views: 16
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
This short code gives an ability to read the GPIO state from ram
0xFDAE0728 - is location. And this one is the same as on G3 and G4
DefinitionBlock ("", "SSDT", 2, "ReaRAM", "ReaRAM", 0x00001000)
{
External (_SB_.RMRX, DeviceObj) // (from opcode)
External (_SB_.TRED, MethodObj) // 0 Arguments (from opcode)
External (FPPS, FieldUnitObj) // (from opcode)

OperationRegion (RMRA, SystemMemory, 0xFDAE0728, One)
Field (RMRA, AnyAcc, Lock, Preserve)
{
FPPS, 8
}

Scope (_SB)
{
Method (TRED, 0, NotSerialized)
{
Store ("===================================================", Debug)
Store ("Force Power Pin State (0=Disable, 1=Enable)", Debug)
Store (FPPS, Debug)
Store ("===================================================", Debug)
}

Device (RMRX)
{
Name (_HID, "RAMREAD0") // _HID: Hardware ID
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
\_SB.TRED ()
}
}
}
}
But even if thunderbolt is powered on, I cant see Thunderbolt device. So. If TBT is operating, it could be set to some power state by firmware or ssdt.


AND FINALLY LOG SHOWS THAT CONTROL METHODS ARE WORKING!!!!!


default 03:43:10.534748 +0300 kernel [ACPI Debug]
default 03:43:10.534757 +0300 kernel [ACPI Debug]
default 03:43:10.534772 +0300 kernel "==================================================="
default 03:43:10.534774 +0300 kernel "==================================================="
default 03:43:10.534796 +0300 kernel [ACPI Debug]
default 03:43:10.534797 +0300 kernel [ACPI Debug]
default 03:43:10.534834 +0300 kernel "Force Power Pin State (0=Disable, 1=Enable)"
default 03:43:10.534853 +0300 kernel "Force Power Pin State (0=Disable, 1=Enable)"
default 03:43:10.535066 +0300 kernel [ACPI Debug]
default 03:43:10.535068 +0300 kernel [ACPI Debug]
default 03:43:10.535070 +0300 kernel 0x0000000000000001
default 03:43:10.535071 +0300 kernel 0x0000000000000001
default 03:43:10.535088 +0300 kernel [ACPI Debug]
default 03:43:10.535089 +0300 kernel [ACPI Debug]
default 03:43:10.535102 +0300 kernel "==================================================="
default 03:43:10.535102 +0300 kernel "==================================================="
default 03:43:10.535719 +0300 kernel ACPIDebug: { "ReaRAM RAMREAD0", "===================================================", }
default 03:43:50.881080 +0300 kernel ACPI: \RMDT.DBG1:
default 03:43:50.881086 +0300 kernel ACPI: \RMDT.DBG1:
default 03:43:50.881090 +0300 kernel Excess arguments - Caller passed 1, method requires 0
default 03:43:50.881092 +0300 kernel Excess arguments - Caller passed 1, method requires 0
default 03:43:50.881095 +0300 kernel (20160930/nsarguments-340)
default 03:43:50.881097 +0300 kernel (20160930/nsarguments-340)
default 03:43:50.881268 +0300 kernel [ACPI Debug]
default 03:43:50.881269 +0300 kernel [ACPI Debug]
default 03:43:50.881272 +0300 kernel "SGOV(0x0000000001060010, 0x0000000000000000) called"
default 03:43:50.881273 +0300 kernel "SGOV(0x0000000001060010, 0x0000000000000000) called"
default 03:43:50.881549 +0300 kernel [ACPI Debug]
default 03:43:50.881550 +0300 kernel [ACPI Debug]
default 03:43:50.881552 +0300 kernel "GPIO 0x0000000001060010 has MMIO address 0x00000000FDAE0728"
default 03:43:50.881553 +0300 kernel "GPIO 0x0000000001060010 has MMIO address 0x00000000FDAE0728"
default 03:43:50.881955 +0300 kernel ACPIDebug: { "Disable", 0x0, }
default 03:43:50.892318 +0300 kernel [ACPI Debug]
default 03:43:50.892328 +0300 kernel [ACPI Debug]
default 03:43:50.892332 +0300 kernel "_E4C"
default 03:43:50.892333 +0300 kernel "_E4C"
default 03:43:50.892402 +0300 kernel [ACPI Debug]
default 03:43:50.892408 +0300 kernel [ACPI Debug]
default 03:43:50.892417 +0300 kernel "WWAK"
default 03:43:50.892417 +0300 kernel "WWAK"
default 03:43:50.892516 +0300 kernel [ACPI Debug]
default 03:43:50.892517 +0300 kernel [ACPI Debug]
default 03:43:50.892520 +0300 kernel "WSUB"
default 03:43:50.892521 +0300 kernel "WSUB"
default 03:43:50.892548 +0300 kernel [ACPI Debug]
default 03:43:50.892549 +0300 kernel [ACPI Debug]
default 03:43:50.892551 +0300 kernel "TSUB"
default 03:43:50.892551 +0300 kernel "TSUB"
default 03:43:50.892656 +0300 kernel [ACPI Debug]
default 03:43:50.892656 +0300 kernel [ACPI Debug]
default 03:43:50.892659 +0300 kernel "TBTD"
default 03:43:50.892660 +0300 kernel "TBTD"
default 03:43:50.892729 +0300 kernel [ACPI Debug]
default 03:43:50.892729 +0300 kernel [ACPI Debug]
default 03:43:50.892733 +0300 kernel "Device no"
default 03:43:50.892734 +0300 kernel "Device no"
default 03:43:50.892740 +0300 kernel [ACPI Debug]
default 03:43:50.892741 +0300 kernel [ACPI Debug]
default 03:43:50.892743 +0300 kernel 0x000000000000001C
default 03:43:50.892745 +0300 kernel 0x000000000000001C
default 03:43:50.892809 +0300 kernel [ACPI Debug]
default 03:43:50.892811 +0300 kernel [ACPI Debug]
default 03:43:50.892813 +0300 kernel "TBTF"
default 03:43:50.892814 +0300 kernel "TBTF"
default 03:43:50.892988 +0300 kernel [ACPI Debug]
default 03:43:50.892989 +0300 kernel [ACPI Debug]
default 03:43:50.892993 +0300 kernel "Function no"
default 03:43:50.892995 +0300 kernel "Function no"
default 03:43:50.893000 +0300 kernel [ACPI Debug]
default 03:43:50.893001 +0300 kernel [ACPI Debug]
default 03:43:50.893002 +0300 kernel 0x0000000000000004
default 03:43:50.893003 +0300 kernel 0x0000000000000004
default 03:43:50.893021 +0300 kernel [ACPI Debug]
default 03:43:50.893022 +0300 kernel [ACPI Debug]
default 03:43:50.893024 +0300 kernel "ADR"
default 03:43:50.893025 +0300 kernel "ADR"
default 03:43:50.893030 +0300 kernel [ACPI Debug]
default 03:43:50.893031 +0300 kernel [ACPI Debug]
default 03:43:50.893033 +0300 kernel 0x00000000F00E4000
default 03:43:50.893034 +0300 kernel 0x00000000F00E4000
default 03:43:50.893054 +0300 kernel [ACPI Debug]
default 03:43:50.893055 +0300 kernel [ACPI Debug]
default 03:43:50.893057 +0300 kernel "Sec Bus"
default 03:43:50.893058 +0300 kernel "Sec Bus"
default 03:43:50.893067 +0300 kernel [ACPI Debug]
default 03:43:50.893068 +0300 kernel [ACPI Debug]
default 03:43:50.893070 +0300 kernel 0x0000000000000004
default 03:43:50.893071 +0300 kernel 0x0000000000000004
default 03:43:50.893091 +0300 kernel [ACPI Debug]
default 03:43:50.893093 +0300 kernel [ACPI Debug]
default 03:43:50.893096 +0300 kernel "WSUB-Finished"
default 03:43:50.893096 +0300 kernel "WSUB-Finished"
default 03:43:50.893131 +0300 kernel [ACPI Debug]
default 03:43:50.893132 +0300 kernel [ACPI Debug]
default 03:43:50.893134 +0300 kernel "GNIS"
default 03:43:50.893136 +0300 kernel "GNIS"
default 03:43:50.893158 +0300 kernel [ACPI Debug]
default 03:43:50.893158 +0300 kernel [ACPI Debug]
default 03:43:50.893162 +0300 kernel "GNIS_Dis=0"
default 03:43:50.893162 +0300 kernel "GNIS_Dis=0"
default 03:43:50.893186 +0300 kernel [ACPI Debug]
default 03:43:50.893187 +0300 kernel [ACPI Debug]
default 03:43:50.893191 +0300 kernel "TBT-HP-Handler"
default 03:43:50.893191 +0300 kernel "TBT-HP-Handler"
default 03:43:50.893199 +0300 kernel [ACPI Debug]
default 03:43:50.893201 +0300 kernel [ACPI Debug]
default 03:43:50.893204 +0300 kernel "PEG WorkAround"
default 03:43:50.893205 +0300 kernel "PEG WorkAround"
default 03:43:51.093434 +0300 kernel [ACPI Debug]
default 03:43:51.093445 +0300 kernel [ACPI Debug]
default 03:43:51.093449 +0300 kernel "TBFF"
default 03:43:51.093455 +0300 kernel "TBFF"
default 03:43:51.093527 +0300 kernel [ACPI Debug]
default 03:43:51.093529 +0300 kernel [ACPI Debug]
default 03:43:51.093531 +0300 kernel "MMTB"
default 03:43:51.093532 +0300 kernel "MMTB"
default 03:43:51.093632 +0300 kernel [ACPI Debug]
default 03:43:51.093633 +0300 kernel [ACPI Debug]
default 03:43:51.093636 +0300 kernel "TBTD"
default 03:43:51.093637 +0300 kernel "TBTD"
default 03:43:51.093706 +0300 kernel [ACPI Debug]
default 03:43:51.093707 +0300 kernel [ACPI Debug]
default 03:43:51.093711 +0300 kernel "Device no"
default 03:43:51.093712 +0300 kernel "Device no"
default 03:43:51.093717 +0300 kernel [ACPI Debug]
default 03:43:51.093719 +0300 kernel [ACPI Debug]
default 03:43:51.093721 +0300 kernel 0x000000000000001C
default 03:43:51.093723 +0300 kernel 0x000000000000001C
default 03:43:51.093792 +0300 kernel [ACPI Debug]
default 03:43:51.093793 +0300 kernel [ACPI Debug]
default 03:43:51.093796 +0300 kernel "TBTF"
default 03:43:51.093797 +0300 kernel "TBTF"
default 03:43:51.093916 +0300 kernel [ACPI Debug]
default 03:43:51.093917 +0300 kernel [ACPI Debug]
default 03:43:51.093921 +0300 kernel "Function no"
default 03:43:51.093923 +0300 kernel "Function no"
default 03:43:51.093929 +0300 kernel [ACPI Debug]
default 03:43:51.093930 +0300 kernel [ACPI Debug]
default 03:43:51.093932 +0300 kernel 0x0000000000000004
default 03:43:51.093934 +0300 kernel 0x0000000000000004
default 03:43:51.094020 +0300 kernel [ACPI Debug]
default 03:43:51.094021 +0300 kernel [ACPI Debug]
default 03:43:51.094026 +0300 kernel "TBT-US-ADR"
default 03:43:51.094027 +0300 kernel "TBT-US-ADR"
default 03:43:51.094036 +0300 kernel [ACPI Debug]
default 03:43:51.094038 +0300 kernel [ACPI Debug]
default 03:43:51.094041 +0300 kernel 0x00000000F0400000
default 03:43:51.094043 +0300 kernel 0x00000000F0400000
default 03:43:51.094091 +0300 kernel [ACPI Debug]
default 03:43:51.094092 +0300 kernel [ACPI Debug]
default 03:43:51.094096 +0300 kernel "Dev Present"
default 03:43:51.094097 +0300 kernel "Dev Present"
default 03:43:51.094163 +0300 kernel [ACPI Debug]
default 03:43:51.094164 +0300 kernel [ACPI Debug]
default 03:43:51.094168 +0300 kernel "TBT SW SMI"
default 03:43:51.094169 +0300 kernel "TBT SW SMI"
default 03:43:51.094650 +0300 kernel [ACPI Debug]
default 03:43:51.094651 +0300 kernel [ACPI Debug]
default 03:43:51.094654 +0300 kernel "NTFY"
default 03:43:51.094654 +0300 kernel "NTFY"
default 03:43:51.094749 +0300 kernel [ACPI Debug]
default 03:43:51.094749 +0300 kernel [ACPI Debug]
default 03:43:51.094753 +0300 kernel "Notify RP05"
default 03:43:51.094754 +0300 kernel "Notify RP05"
default 03:43:51.112073 +0300 kernel [ACPI Debug]
default 03:43:51.112079 +0300 kernel [ACPI Debug]
default 03:43:51.112084 +0300 kernel "End-of-_E4C"
default 03:43:51.112084 +0300 kernel "End-of-_E4C"
default 03:43:56.029627 +0300 kernel [ACPI Debug]
default 03:43:56.029646 +0300 kernel [ACPI Debug]
default 03:43:56.029652 +0300 kernel "_E4C"
default 03:43:56.029654 +0300 kernel "_E4C"
default 03:43:56.029759 +0300 kernel [ACPI Debug]
default 03:43:56.029760 +0300 kernel [ACPI Debug]
default 03:43:56.029764 +0300 kernel "WWAK"
default 03:43:56.029766 +0300 kernel "WWAK"
default 03:43:56.029918 +0300 kernel [ACPI Debug]
default 03:43:56.029921 +0300 kernel [ACPI Debug]
default 03:43:56.029925 +0300 kernel "WSUB"
default 03:43:56.029969 +0300 kernel [ACPI Debug]
default 03:43:56.029971 +0300 kernel [ACPI Debug]
default 03:43:56.029976 +0300 kernel "TSUB"
default 03:43:56.029977 +0300 kernel "TSUB"
default 03:43:56.030164 +0300 kernel [ACPI Debug]
default 03:43:56.030167 +0300 kernel [ACPI Debug]
default 03:43:56.030172 +0300 kernel "TBTD"
default 03:43:56.030173 +0300 kernel "TBTD"
default 03:43:56.030317 +0300 kernel [ACPI Debug]
default 03:43:56.030320 +0300 kernel [ACPI Debug]
default 03:43:56.030325 +0300 kernel "Device no"
default 03:43:56.030326 +0300 kernel "Device no"
default 03:43:56.030337 +0300 kernel [ACPI Debug]
default 03:43:56.030338 +0300 kernel [ACPI Debug]
default 03:43:56.030341 +0300 kernel 0x000000000000001C
default 03:43:56.030343 +0300 kernel 0x000000000000001C
default 03:43:56.030478 +0300 kernel [ACPI Debug]
default 03:43:56.030479 +0300 kernel [ACPI Debug]
default 03:43:56.030483 +0300 kernel "TBTF"
default 03:43:56.030485 +0300 kernel "TBTF"
default 03:43:56.030662 +0300 kernel [ACPI Debug]
default 03:43:56.030664 +0300 kernel [ACPI Debug]
default 03:43:56.030668 +0300 kernel "Function no"
default 03:43:56.030669 +0300 kernel "Function no"
default 03:43:56.030678 +0300 kernel [ACPI Debug]
default 03:43:56.030679 +0300 kernel [ACPI Debug]
default 03:43:56.030682 +0300 kernel 0x0000000000000004
default 03:43:56.030698 +0300 kernel 0x0000000000000004
default 03:43:56.030726 +0300 kernel [ACPI Debug]
default 03:43:56.030728 +0300 kernel [ACPI Debug]
default 03:43:56.030730 +0300 kernel "ADR"
default 03:43:56.030731 +0300 kernel "ADR"
default 03:43:56.030736 +0300 kernel [ACPI Debug]
default 03:43:56.030738 +0300 kernel [ACPI Debug]
default 03:43:56.030740 +0300 kernel 0x00000000F00E4000
default 03:43:56.030741 +0300 kernel 0x00000000F00E4000
default 03:43:56.030765 +0300 kernel [ACPI Debug]
default 03:43:56.030766 +0300 kernel [ACPI Debug]
default 03:43:56.030768 +0300 kernel "Sec Bus"
default 03:43:56.030769 +0300 kernel "Sec Bus"
default 03:43:56.030780 +0300 kernel [ACPI Debug]
default 03:43:56.030781 +0300 kernel [ACPI Debug]
default 03:43:56.030782 +0300 kernel 0x0000000000000004
default 03:43:56.030784 +0300 kernel 0x0000000000000004
default 03:43:56.030807 +0300 kernel [ACPI Debug]
default 03:43:56.030809 +0300 kernel [ACPI Debug]
default 03:43:56.030813 +0300 kernel "WSUB-Finished"
default 03:43:56.030814 +0300 kernel "WSUB-Finished"
default 03:43:56.030854 +0300 kernel [ACPI Debug]
default 03:43:56.030854 +0300 kernel [ACPI Debug]
default 03:43:56.030857 +0300 kernel "GNIS"
default 03:43:56.030858 +0300 kernel "GNIS"
default 03:43:56.030883 +0300 kernel [ACPI Debug]
default 03:43:56.030884 +0300 kernel [ACPI Debug]
default 03:43:56.030888 +0300 kernel "GNIS_Dis=0"
default 03:43:56.030888 +0300 kernel "GNIS_Dis=0"
default 03:43:56.030916 +0300 kernel [ACPI Debug]
default 03:43:56.030917 +0300 kernel [ACPI Debug]
default 03:43:56.030922 +0300 kernel "TBT-HP-Handler"
default 03:43:56.030922 +0300 kernel "TBT-HP-Handler"
default 03:43:56.030932 +0300 kernel [ACPI Debug]
default 03:43:56.030933 +0300 kernel [ACPI Debug]
default 03:43:56.030938 +0300 kernel "PEG WorkAround"
default 03:43:56.030939 +0300 kernel "PEG WorkAround"
default 03:43:56.232201 +0300 kernel [ACPI Debug]
default 03:43:56.232218 +0300 kernel [ACPI Debug]
default 03:43:56.232224 +0300 kernel "TBFF"
default 03:43:56.232226 +0300 kernel "TBFF"
default 03:43:56.232346 +0300 kernel [ACPI Debug]
default 03:43:56.232348 +0300 kernel [ACPI Debug]
default 03:43:56.232352 +0300 kernel "MMTB"
default 03:43:56.232353 +0300 kernel "MMTB"
default 03:43:56.232502 +0300 kernel [ACPI Debug]
default 03:43:56.232504 +0300 kernel [ACPI Debug]
default 03:43:56.232509 +0300 kernel "TBTD"
default 03:43:56.232511 +0300 kernel "TBTD"
default 03:43:56.232634 +0300 kernel [ACPI Debug]
default 03:43:56.232636 +0300 kernel [ACPI Debug]
default 03:43:56.232652 +0300 kernel "Device no"
default 03:43:56.232654 +0300 kernel "Device no"
default 03:43:56.232670 +0300 kernel [ACPI Debug]
default 03:43:56.232671 +0300 kernel [ACPI Debug]
default 03:43:56.232676 +0300 kernel 0x000000000000001C
default 03:43:56.232679 +0300 kernel 0x000000000000001C
default 03:43:56.232840 +0300 kernel [ACPI Debug]
default 03:43:56.232843 +0300 kernel [ACPI Debug]
default 03:43:56.232848 +0300 kernel "TBTF"
default 03:43:56.232855 +0300 kernel "TBTF"
default 03:43:56.233056 +0300 kernel [ACPI Debug]
default 03:43:56.233057 +0300 kernel [ACPI Debug]
default 03:43:56.233062 +0300 kernel "Function no"
default 03:43:56.233064 +0300 kernel "Function no"
default 03:43:56.233073 +0300 kernel [ACPI Debug]
default 03:43:56.233075 +0300 kernel [ACPI Debug]
default 03:43:56.233078 +0300 kernel 0x0000000000000004
default 03:43:56.233079 +0300 kernel 0x0000000000000004
default 03:43:56.233210 +0300 kernel [ACPI Debug]
default 03:43:56.233212 +0300 kernel [ACPI Debug]
default 03:43:56.233216 +0300 kernel "TBT-US-ADR"
default 03:43:56.233217 +0300 kernel "TBT-US-ADR"
default 03:43:56.233226 +0300 kernel [ACPI Debug]
default 03:43:56.233227 +0300 kernel [ACPI Debug]
default 03:43:56.233231 +0300 kernel 0x00000000F0400000
default 03:43:56.233232 +0300 kernel 0x00000000F0400000
default 03:43:56.618514 +0300 kernel [ACPI Debug]
default 03:43:56.618529 +0300 kernel [ACPI Debug]
default 03:43:56.618535 +0300 kernel "OSUP"
default 03:43:56.618537 +0300 kernel "OSUP"
default 03:43:56.618740 +0300 kernel [ACPI Debug]
default 03:43:56.618743 +0300 kernel [ACPI Debug]
default 03:43:56.618749 +0300 kernel "Dev gone"
default 03:43:56.618750 +0300 kernel "Dev gone"
default 03:43:56.618884 +0300 kernel [ACPI Debug]
default 03:43:56.618887 +0300 kernel [ACPI Debug]
default 03:43:56.618892 +0300 kernel "NTFY"
default 03:43:56.618895 +0300 kernel "NTFY"
default 03:43:56.619090 +0300 kernel [ACPI Debug]
default 03:43:56.619092 +0300 kernel [ACPI Debug]
default 03:43:56.619098 +0300 kernel "Notify RP05"
default 03:43:56.619100 +0300 kernel "Notify RP05"
default 03:43:56.636782 +0300 kernel [ACPI Debug]
default 03:43:56.636817 +0300 kernel [ACPI Debug]
default 03:43:56.636824 +0300 kernel "Disconnect"
default 03:43:56.636827 +0300 kernel "Disconnect"
default 03:44:18.842901 +0300 kernel [ACPI Debug]
default 03:44:18.842908 +0300 kernel [ACPI Debug]
default 03:44:18.842940 +0300 kernel "==================================================="
default 03:44:18.842941 +0300 kernel "==================================================="
default 03:44:18.842956 +0300 kernel [ACPI Debug]
default 03:44:18.842957 +0300 kernel [ACPI Debug]
default 03:44:18.842966 +0300 kernel "Force Power Pin State (0=Disable, 1=Enable)"
default 03:44:18.842967 +0300 kernel "Force Power Pin State (0=Disable, 1=Enable)"
default 03:44:18.843017 +0300 kernel [ACPI Debug]
default 03:44:18.843018 +0300 kernel [ACPI Debug]
default 03:44:18.843020 +0300 kernel 0x0000000000000000
default 03:44:18.843021 +0300 kernel 0x0000000000000000
default 03:44:18.843035 +0300 kernel [ACPI Debug]
default 03:44:18.843036 +0300 kernel [ACPI Debug]
default 03:44:18.843047 +0300 kernel "==================================================="
default 03:44:18.843048 +0300 kernel "==================================================="
default 03:44:18.843452 +0300 kernel ACPIDebug: { "ReaRAM RAMREAD0", "===================================================", }
default 03:44:39.937337 +0300 kernel ACPI: \RMDT.DBG0:
default 03:44:39.937343 +0300 kernel ACPI: \RMDT.DBG0:
default 03:44:39.937347 +0300 kernel Excess arguments - Caller passed 1, method requires 0
default 03:44:39.937351 +0300 kernel Excess arguments - Caller passed 1, method requires 0
default 03:44:39.937356 +0300 kernel (20160930/nsarguments-340)
default 03:44:39.937356 +0300 kernel (20160930/nsarguments-340)
default 03:44:39.937544 +0300 kernel [ACPI Debug]
default 03:44:39.937545 +0300 kernel [ACPI Debug]
default 03:44:39.937548 +0300 kernel "SGOV(0x0000000001060010, 0x0000000000000001) called"
default 03:44:39.937549 +0300 kernel "SGOV(0x0000000001060010, 0x0000000000000001) called"
default 03:44:39.937963 +0300 kernel [ACPI Debug]
default 03:44:39.937965 +0300 kernel [ACPI Debug]
default 03:44:39.937968 +0300 kernel "GPIO 0x0000000001060010 has MMIO address 0x00000000FDAE0728"
default 03:44:39.937970 +0300 kernel "GPIO 0x0000000001060010 has MMIO address 0x00000000FDAE0728"
default 03:44:39.938486 +0300 kernel ACPIDebug: { "Enable", 0x1, }
default 03:44:40.303752 +0300 kernel [ACPI Debug]
default 03:44:40.303770 +0300 kernel [ACPI Debug]
default 03:44:40.303776 +0300 kernel "_E4C"
default 03:44:40.303778 +0300 kernel "_E4C"
default 03:44:40.303880 +0300 kernel [ACPI Debug]
default 03:44:40.303882 +0300 kernel [ACPI Debug]
default 03:44:40.303886 +0300 kernel "WWAK"
default 03:44:40.303888 +0300 kernel "WWAK"
default 03:44:40.304033 +0300 kernel [ACPI Debug]
default 03:44:40.304035 +0300 kernel [ACPI Debug]
default 03:44:40.304039 +0300 kernel "WSUB"
default 03:44:40.304041 +0300 kernel "WSUB"
default 03:44:40.304085 +0300 kernel [ACPI Debug]
default 03:44:40.304087 +0300 kernel [ACPI Debug]
default 03:44:40.304091 +0300 kernel "TSUB"
default 03:44:40.304093 +0300 kernel "TSUB"
default 03:44:40.304256 +0300 kernel [ACPI Debug]
default 03:44:40.304258 +0300 kernel [ACPI Debug]
default 03:44:40.304263 +0300 kernel "TBTD"
default 03:44:40.304264 +0300 kernel "TBTD"
default 03:44:40.304387 +0300 kernel [ACPI Debug]
default 03:44:40.304389 +0300 kernel [ACPI Debug]
default 03:44:40.304395 +0300 kernel "Device no"
default 03:44:40.304397 +0300 kernel "Device no"
default 03:44:40.304415 +0300 kernel [ACPI Debug]
default 03:44:40.304417 +0300 kernel [ACPI Debug]
default 03:44:40.304422 +0300 kernel 0x000000000000001C
default 03:44:40.304423 +0300 kernel 0x000000000000001C
default 03:44:40.304558 +0300 kernel [ACPI Debug]
default 03:44:40.304559 +0300 kernel [ACPI Debug]
default 03:44:40.304564 +0300 kernel "TBTF"
default 03:44:40.304565 +0300 kernel "TBTF"
default 03:44:40.304735 +0300 kernel [ACPI Debug]
default 03:44:40.304737 +0300 kernel [ACPI Debug]
default 03:44:40.304741 +0300 kernel "Function no"
default 03:44:40.304743 +0300 kernel "Function no"
default 03:44:40.304752 +0300 kernel [ACPI Debug]
default 03:44:40.304753 +0300 kernel [ACPI Debug]
default 03:44:40.304756 +0300 kernel 0x0000000000000004
default 03:44:40.304758 +0300 kernel 0x0000000000000004
default 03:44:40.304788 +0300 kernel [ACPI Debug]
default 03:44:40.304789 +0300 kernel [ACPI Debug]
default 03:44:40.304793 +0300 kernel "ADR"
default 03:44:40.304793 +0300 kernel "ADR"
default 03:44:40.304801 +0300 kernel [ACPI Debug]
default 03:44:40.304802 +0300 kernel [ACPI Debug]
default 03:44:40.304805 +0300 kernel 0x00000000F00E4000
default 03:44:40.304807 +0300 kernel 0x00000000F00E4000
default 03:44:40.304837 +0300 kernel [ACPI Debug]
default 03:44:40.304839 +0300 kernel [ACPI Debug]
default 03:44:40.304842 +0300 kernel "Sec Bus"
default 03:44:40.304844 +0300 kernel "Sec Bus"
default 03:44:40.304856 +0300 kernel [ACPI Debug]
default 03:44:40.304858 +0300 kernel [ACPI Debug]
default 03:44:40.304860 +0300 kernel 0x0000000000000004
default 03:44:40.304869 +0300 kernel 0x0000000000000004
default 03:44:40.304900 +0300 kernel [ACPI Debug]
default 03:44:40.304902 +0300 kernel [ACPI Debug]
default 03:44:40.304907 +0300 kernel "WSUB-Finished"
default 03:44:40.304908 +0300 kernel "WSUB-Finished"
default 03:44:40.304966 +0300 kernel [ACPI Debug]
default 03:44:40.304968 +0300 kernel [ACPI Debug]
default 03:44:40.304970 +0300 kernel "GNIS"
default 03:44:40.304985 +0300 kernel "GNIS"
default 03:44:40.305010 +0300 kernel [ACPI Debug]
default 03:44:40.305012 +0300 kernel [ACPI Debug]
default 03:44:40.305015 +0300 kernel "GNIS_Dis=0"
default 03:44:40.305017 +0300 kernel "GNIS_Dis=0"
default 03:44:40.305057 +0300 kernel [ACPI Debug]
default 03:44:40.305058 +0300 kernel [ACPI Debug]
default 03:44:40.305066 +0300 kernel "TBT-HP-Handler"
default 03:44:40.305067 +0300 kernel "TBT-HP-Handler"
default 03:44:40.305077 +0300 kernel [ACPI Debug]
default 03:44:40.305078 +0300 kernel [ACPI Debug]
default 03:44:40.305082 +0300 kernel "PEG WorkAround"
default 03:44:40.305083 +0300 kernel "PEG WorkAround"
default 03:44:40.506342 +0300 kernel [ACPI Debug]
default 03:44:40.506361 +0300 kernel [ACPI Debug]
default 03:44:40.506367 +0300 kernel "TBFF"
default 03:44:40.506368 +0300 kernel "TBFF"
default 03:44:40.506466 +0300 kernel [ACPI Debug]
default 03:44:40.506468 +0300 kernel [ACPI Debug]
default 03:44:40.506472 +0300 kernel "MMTB"
default 03:44:40.506473 +0300 kernel "MMTB"
default 03:44:40.506633 +0300 kernel [ACPI Debug]
default 03:44:40.506636 +0300 kernel [ACPI Debug]
default 03:44:40.506640 +0300 kernel "TBTD"
default 03:44:40.506641 +0300 kernel "TBTD"
default 03:44:40.506762 +0300 kernel [ACPI Debug]
default 03:44:40.506765 +0300 kernel [ACPI Debug]
default 03:44:40.506770 +0300 kernel "Device no"
default 03:44:40.506773 +0300 kernel "Device no"
default 03:44:40.506785 +0300 kernel [ACPI Debug]
default 03:44:40.506788 +0300 kernel [ACPI Debug]
default 03:44:40.506792 +0300 kernel 0x000000000000001C
default 03:44:40.506794 +0300 kernel 0x000000000000001C
default 03:44:40.506930 +0300 kernel [ACPI Debug]
default 03:44:40.506932 +0300 kernel [ACPI Debug]
default 03:44:40.506936 +0300 kernel "TBTF"
default 03:44:40.506938 +0300 kernel "TBTF"
default 03:44:40.507156 +0300 kernel [ACPI Debug]
default 03:44:40.507159 +0300 kernel [ACPI Debug]
default 03:44:40.507163 +0300 kernel "Function no"
default 03:44:40.507165 +0300 kernel "Function no"
default 03:44:40.507174 +0300 kernel [ACPI Debug]
default 03:44:40.507175 +0300 kernel [ACPI Debug]
default 03:44:40.507179 +0300 kernel 0x0000000000000004
default 03:44:40.507180 +0300 kernel 0x0000000000000004
default 03:44:40.507311 +0300 kernel [ACPI Debug]
default 03:44:40.507313 +0300 kernel [ACPI Debug]
default 03:44:40.507318 +0300 kernel "TBT-US-ADR"
default 03:44:40.507320 +0300 kernel "TBT-US-ADR"
default 03:44:40.507329 +0300 kernel [ACPI Debug]
default 03:44:40.507331 +0300 kernel [ACPI Debug]
default 03:44:40.507335 +0300 kernel 0x00000000F0400000
default 03:44:40.507337 +0300 kernel 0x00000000F0400000
default 03:44:40.507449 +0300 kernel [ACPI Debug]
default 03:44:40.507451 +0300 kernel [ACPI Debug]
default 03:44:40.507453 +0300 kernel "OSUP"
default 03:44:40.507455 +0300 kernel "OSUP"
default 03:44:40.558816 +0300 kernel [ACPI Debug]
default 03:44:40.558832 +0300 kernel [ACPI Debug]
default 03:44:40.558841 +0300 kernel "Cmd acknowledged"
default 03:44:40.558844 +0300 kernel "Cmd acknowledged"
default 03:44:40.558877 +0300 kernel [ACPI Debug]
default 03:44:40.558878 +0300 kernel [ACPI Debug]
default 03:44:40.558884 +0300 kernel "End-of-OSUP"
default 03:44:40.558886 +0300 kernel "End-of-OSUP"
default 03:44:40.576257 +0300 kernel [ACPI Debug]
default 03:44:40.576277 +0300 kernel [ACPI Debug]
default 03:44:40.576286 +0300 kernel "OS_Up_Received"
default 03:44:40.576288 +0300 kernel "OS_Up_Received"
default 03:44:40.576385 +0300 kernel [ACPI Debug]
default 03:44:40.576386 +0300 kernel [ACPI Debug]
default 03:44:40.576391 +0300 kernel "_E4C"
default 03:44:40.576392 +0300 kernel "_E4C"
default 03:44:40.576479 +0300 kernel [ACPI Debug]
default 03:44:40.576481 +0300 kernel [ACPI Debug]
default 03:44:40.576485 +0300 kernel "WWAK"
default 03:44:40.576486 +0300 kernel "WWAK"
default 03:44:40.576623 +0300 kernel [ACPI Debug]
default 03:44:40.576625 +0300 kernel [ACPI Debug]
default 03:44:40.576630 +0300 kernel "WSUB"
default 03:44:40.576673 +0300 kernel [ACPI Debug]
default 03:44:40.576675 +0300 kernel [ACPI Debug]
default 03:44:40.576678 +0300 kernel "TSUB"
default 03:44:40.576681 +0300 kernel "TSUB"
default 03:44:40.576851 +0300 kernel [ACPI Debug]
default 03:44:40.576853 +0300 kernel [ACPI Debug]
default 03:44:40.576857 +0300 kernel "TBTD"
default 03:44:40.576859 +0300 kernel "TBTD"
default 03:44:40.576981 +0300 kernel [ACPI Debug]
default 03:44:40.576984 +0300 kernel [ACPI Debug]
default 03:44:40.576990 +0300 kernel "Device no"
default 03:44:40.576991 +0300 kernel "Device no"
default 03:44:40.577004 +0300 kernel [ACPI Debug]
default 03:44:40.577006 +0300 kernel [ACPI Debug]
default 03:44:40.577010 +0300 kernel 0x000000000000001C
default 03:44:40.577013 +0300 kernel 0x000000000000001C
default 03:44:40.577142 +0300 kernel [ACPI Debug]
default 03:44:40.577143 +0300 kernel [ACPI Debug]
default 03:44:40.577147 +0300 kernel "TBTF"
default 03:44:40.577148 +0300 kernel "TBTF"
default 03:44:40.577309 +0300 kernel [ACPI Debug]
default 03:44:40.577310 +0300 kernel [ACPI Debug]
default 03:44:40.577314 +0300 kernel "Function no"
default 03:44:40.577315 +0300 kernel "Function no"
default 03:44:40.577324 +0300 kernel [ACPI Debug]
default 03:44:40.577325 +0300 kernel [ACPI Debug]
default 03:44:40.577328 +0300 kernel 0x0000000000000004
default 03:44:40.577329 +0300 kernel 0x0000000000000004
default 03:44:40.577356 +0300 kernel [ACPI Debug]
default 03:44:40.577358 +0300 kernel [ACPI Debug]
default 03:44:40.577360 +0300 kernel "ADR"
default 03:44:40.577361 +0300 kernel "ADR"
default 03:44:40.577368 +0300 kernel [ACPI Debug]
default 03:44:40.577369 +0300 kernel [ACPI Debug]
default 03:44:40.577372 +0300 kernel 0x00000000F00E4000
default 03:44:40.577373 +0300 kernel 0x00000000F00E4000
default 03:44:40.577402 +0300 kernel [ACPI Debug]
default 03:44:40.577403 +0300 kernel [ACPI Debug]
default 03:44:40.577408 +0300 kernel "Sec Bus"
default 03:44:40.577408 +0300 kernel "Sec Bus"
default 03:44:40.577422 +0300 kernel [ACPI Debug]
default 03:44:40.577423 +0300 kernel [ACPI Debug]
default 03:44:40.577425 +0300 kernel 0x0000000000000004
default 03:44:40.577427 +0300 kernel 0x0000000000000004
default 03:44:40.577456 +0300 kernel [ACPI Debug]
default 03:44:40.577458 +0300 kernel [ACPI Debug]
default 03:44:40.577462 +0300 kernel "WSUB-Finished"
default 03:44:40.577463 +0300 kernel "WSUB-Finished"
default 03:44:40.577513 +0300 kernel [ACPI Debug]
default 03:44:40.577515 +0300 kernel [ACPI Debug]
default 03:44:40.577518 +0300 kernel "GNIS"
default 03:44:40.577519 +0300 kernel "GNIS"
default 03:44:40.577550 +0300 kernel [ACPI Debug]
default 03:44:40.577551 +0300 kernel [ACPI Debug]
default 03:44:40.577557 +0300 kernel "GNIS_Dis=0"
default 03:44:40.577558 +0300 kernel "GNIS_Dis=0"
default 03:44:40.577591 +0300 kernel [ACPI Debug]
default 03:44:40.577593 +0300 kernel [ACPI Debug]
default 03:44:40.577604 +0300 kernel "TBT-HP-Handler"
default 03:44:40.577607 +0300 kernel "TBT-HP-Handler"
default 03:44:40.577618 +0300 kernel [ACPI Debug]
default 03:44:40.577619 +0300 kernel [ACPI Debug]
default 03:44:40.577624 +0300 kernel "PEG WorkAround"
default 03:44:40.577626 +0300 kernel "PEG WorkAround"
default 03:44:40.778909 +0300 kernel [ACPI Debug]
default 03:44:40.778924 +0300 kernel [ACPI Debug]
default 03:44:40.778930 +0300 kernel "TBFF"
default 03:44:40.778933 +0300 kernel "TBFF"
default 03:44:40.779029 +0300 kernel [ACPI Debug]
default 03:44:40.779031 +0300 kernel [ACPI Debug]
default 03:44:40.779035 +0300 kernel "MMTB"
default 03:44:40.779037 +0300 kernel "MMTB"
default 03:44:40.779182 +0300 kernel [ACPI Debug]
default 03:44:40.779183 +0300 kernel [ACPI Debug]
default 03:44:40.779188 +0300 kernel "TBTD"
default 03:44:40.779190 +0300 kernel "TBTD"
default 03:44:40.779317 +0300 kernel [ACPI Debug]
default 03:44:40.779319 +0300 kernel [ACPI Debug]
default 03:44:40.779325 +0300 kernel "Device no"
default 03:44:40.779327 +0300 kernel "Device no"
default 03:44:40.779340 +0300 kernel [ACPI Debug]
default 03:44:40.779342 +0300 kernel [ACPI Debug]
default 03:44:40.779346 +0300 kernel 0x000000000000001C
default 03:44:40.779349 +0300 kernel 0x000000000000001C
default 03:44:40.779489 +0300 kernel [ACPI Debug]
default 03:44:40.779490 +0300 kernel [ACPI Debug]
default 03:44:40.779495 +0300 kernel "TBTF"
default 03:44:40.779496 +0300 kernel "TBTF"
default 03:44:40.779704 +0300 kernel [ACPI Debug]
default 03:44:40.779706 +0300 kernel [ACPI Debug]
default 03:44:40.779711 +0300 kernel "Function no"
default 03:44:40.779712 +0300 kernel "Function no"
default 03:44:40.779723 +0300 kernel [ACPI Debug]
default 03:44:40.779724 +0300 kernel [ACPI Debug]
default 03:44:40.779727 +0300 kernel 0x0000000000000004
default 03:44:40.779729 +0300 kernel 0x0000000000000004
default 03:44:40.779861 +0300 kernel [ACPI Debug]
default 03:44:40.779863 +0300 kernel [ACPI Debug]
default 03:44:40.779867 +0300 kernel "TBT-US-ADR"
default 03:44:40.779869 +0300 kernel "TBT-US-ADR"
default 03:44:40.779878 +0300 kernel [ACPI Debug]
default 03:44:40.779880 +0300 kernel [ACPI Debug]
default 03:44:40.779883 +0300 kernel 0x00000000F0400000
default 03:44:40.779885 +0300 kernel 0x00000000F0400000
default 03:44:40.779952 +0300 kernel [ACPI Debug]
default 03:44:40.779954 +0300 kernel [ACPI Debug]
default 03:44:40.779958 +0300 kernel "Dev Present"
default 03:44:40.779959 +0300 kernel "Dev Present"
default 03:44:40.780029 +0300 kernel [ACPI Debug]
default 03:44:40.780031 +0300 kernel [ACPI Debug]
default 03:44:40.780035 +0300 kernel "TBT SW SMI"
default 03:44:40.780036 +0300 kernel "TBT SW SMI"
default 03:44:40.780619 +0300 kernel [ACPI Debug]
default 03:44:40.780621 +0300 kernel [ACPI Debug]
default 03:44:40.780625 +0300 kernel "NTFY"
default 03:44:40.780626 +0300 kernel "NTFY"
default 03:44:40.780753 +0300 kernel [ACPI Debug]
default 03:44:40.780755 +0300 kernel [ACPI Debug]
default 03:44:40.780759 +0300 kernel "Notify RP05"
default 03:44:40.780761 +0300 kernel "Notify RP05"
default 03:44:40.798386 +0300 kernel [ACPI Debug]
default 03:44:40.798403 +0300 kernel [ACPI Debug]
default 03:44:40.798412 +0300 kernel "End-of-_E4C"
default 03:44:40.798414 +0300 kernel "End-of-_E4C"
default 03:44:48.615486 +0300 kernel [ACPI Debug]
default 03:44:48.615493 +0300 kernel [ACPI Debug]
default 03:44:48.615506 +0300 kernel "==================================================="
default 03:44:48.615508 +0300 kernel "==================================================="
default 03:44:48.615526 +0300 kernel [ACPI Debug]
default 03:44:48.615527 +0300 kernel [ACPI Debug]
default 03:44:48.615552 +0300 kernel "Force Power Pin State (0=Disable, 1=Enable)"
default 03:44:48.615555 +0300 kernel "Force Power Pin State (0=Disable, 1=Enable)"
default 03:44:48.615638 +0300 kernel [ACPI Debug]
default 03:44:48.615639 +0300 kernel [ACPI Debug]
default 03:44:48.615642 +0300 kernel 0x0000000000000001
default 03:44:48.615643 +0300 kernel 0x0000000000000001
default 03:44:48.615658 +0300 kernel [ACPI Debug]
default 03:44:48.615658 +0300 kernel [ACPI Debug]
default 03:44:48.615670 +0300 kernel "==================================================="
default 03:44:48.615671 +0300 kernel "==================================================="
default 03:44:48.616126 +0300 kernel ACPIDebug: { "ReaRAM RAMREAD0", "===================================================", }



Loging Sleep and wake

============ Boot

12:40.401 "TINI"
12:40.401 "TBTD"
12:40.406 "Device no"
12:40.411 0x000000000000001C
12:40.416 "TBTF"
12:40.420 "Function no"
12:40.425 0x0000000000000004
12:40.430 "MMTB"
12:40.435 "TBTD"
12:40.439 "Device no"
12:40.444 0x000000000000001C
12:40.448 "TBTF"
12:40.453 "Function no"
12:40.457 0x0000000000000004
12:40.462 "TBT-US-ADR"
12:40.466 0x00000000F7800000
12:40.470 "OSUP"
12:40.475 "Dev gone"
12:40.479 "End-of-TINI"
12:40.484 "GFX DockEvent Enter"
12:40.488 "Dock Status"
12:40.492 0x0000000000000000
12:40.497 "GFX DockEvent Exit"
12:40.510 "Method _PR_.CPU0._DSM Called"


============ End Boot. WindowServer running


============ Sleep set

14:09.563 "Method-_PTS-----START-----"
14:09.563 "Method-_PTS-----END-----"


============ Wake

14:09.571 "Method-_WAK-----START-----"
14:09.580 "TINI"
14:09.580 "TBTD"
14:09.580 "Device no"
14:09.580 0x000000000000001C
14:09.580 "TBTF"
14:09.580 "Function no"
14:09.580 0x0000000000000004
14:09.580 "MMTB"
14:09.581 "TBTD"
14:09.581 "Device no"
14:09.581 0x000000000000001C
14:09.581 "TBTF"
14:09.581 "Function no"
14:09.581 0x0000000000000004
14:09.581 "TBT-US-ADR"
14:09.581 0x00000000F7800000
14:09.581 "OSUP"
14:09.581 "Dev gone"
14:09.581 "End-of-TINI"
14:09.587 "Method-_WAK-----END-----"
So device reinitializing itself every poweron
 

Attachments

  • SSDT-ReadRam.aml
    320 bytes · Views: 10
  • SSDT-TB-DBG.aml
    1.2 KB · Views: 14
Last edited:
Joined
Mar 29, 2019
Messages
215
Motherboard
Zbook G4 17
CPU
i7-7820HQ
Graphics
HD630+WX4150
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
At G4, native hot plug (Force power option) is included in bios, but not accessible for user
Screen Shot 2022-05-27 at 11.53.19.png


Interesting material

ADBG to Functional Debug
 
Last edited:
Top