Contribute
Register

Dell Precision 7710 i7-7920HQ HD630; need help with DSDT/sleep, trackpad, last USB3 port

Status
Not open for further replies.
Let's focus on sleep then. I started on a fresh DSDT. As far as I understand the PM0H fix is just one against bad organisation of lines. Last time I fixed it, it was no problem, however now it seems to throw more PARSEOP errors, even when replacing per Find function.

Line 20811 | Code 5125 syntax error unexpected PARSEOP_OPERATIONREGION
21135 PARSEOP_INTEGER expecting PARSEOP_CLOSE_PAREN
21191 PARSEOP_OPERATIONREGION
21273 PARSEOP_INTEGER expecting PARSEOP_CLOSE_PAREN
21440 PARSEOP_NAMESEG

They seem all related to MMTB. The [syn] Fix PARSEOP_STORE/MMBT/HRPR Error - doesn't seem to be applicable to my DSDT.

Terminal output:
Code:
Mac-Pro:~ piter$ kextstat|grep -y acpiplat

   13    2 0xffffff7f825b2000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

Mac-Pro:~ piter$ kextstat|grep -y appleintelcpu

Mac-Pro:~ piter$ kextstat|grep -y applelpc

Mac-Pro:~ piter$ kextstat|grep -y applehda

   91    0 0xffffff7f824f5000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <90 73 53 12 7 6 5 4 3 1>

Mac-Pro:~ piter$ kextstat|grep -y voodoo

   40    2 0xffffff7f82714000 0xb000     0xb000     org.rehabman.voodoo.driver.PS2Controller (1.8.28) AE738E48-14BA-3D4B-82A6-F6D68DAF7D25 <11 7 5 4 3 1>

   54    0 0xffffff7f82740000 0x26000    0x26000    org.voodoo.driver.VoodooHDA (2.9.0d10) no UUID <53 12 7 5 4 3>

   55    0 0xffffff7f82766000 0x7000     0x7000     org.rehabman.voodoo.driver.PS2Keyboard (1.8.28) E0910095-2B68-3961-96F3-6D7D77AA906D <42 40 15 7 6 5 4 3 1>

   57    0 0xffffff7f8277b000 0x5000     0x5000     org.rehabman.voodoo.driver.PS2Mouse (1.8.28) B050FBE3-C360-3C9D-8E5D-6239F6AAC04F <42 40 5 4 3>

PMSet:
Code:
Mac-Pro:~ piter$ pmset -g assertions

2017-10-19 14:53:36 +0200 

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Listed by owning process:

   pid 98(hidd): [0x000000130009805d] 00:41:29 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968045.3" 

    Timeout will fire in 600 secs Action=TimeoutActionRelease

Kernel Assertions: 0x4=USB

   id=500  level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14b00000 owner=Integrated_Webcam_HD

   id=501  level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14a00000 owner=5880

   id=503  level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14200000 owner=USB Optical Mouse

Idle sleep preventers: IODisplayWrangler

Code:
Mac-Pro:~ piter$ sudo touch /System/Library/Extensions && sudo kextcache -u /

/ locked; waiting for lock.

Lock acquired; proceeding.

I hope I finally managed to provide the right amount and format of information :)
 

Attachments

  • 7710 IOREG.zip
    520.2 KB · Views: 68
  • RehabMan.zip
    58 KB · Views: 55
  • EFI.zip
    3.8 MB · Views: 83
  • DSDT.dsl
    1.3 MB · Views: 120
Let's focus on sleep then. I started on a fresh DSDT. As far as I understand the PM0H fix is just one against bad organisation of lines. Last time I fixed it, it was no problem, however now it seems to throw more PARSEOP errors, even when replacing per Find function.

Line 20811 | Code 5125 syntax error unexpected PARSEOP_OPERATIONREGION
21135 PARSEOP_INTEGER expecting PARSEOP_CLOSE_PAREN
21191 PARSEOP_OPERATIONREGION
21273 PARSEOP_INTEGER expecting PARSEOP_CLOSE_PAREN
21440 PARSEOP_NAMESEG

Disassemble as per guide: iasl -da -dl DSDT.aml SSDT*.aml
Read here:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.232984/
 
I did with refs.txt before, but I think I downloaded the iasl per Git as described in the guide. The latest version (not 51) from your repository works fine. Thanks!

With USB _PWR 0 or 6 patch the system goes to sleep (lights are off), turning back on results in a black screen. Note I only have a USB mouse connected, because the touchpad doesn't work properly anymore, and AC is plugged. Keyboard backlight goes on when touching touchpad/keys.

I attached the DSDT.dsl with PM0H patch and removed "Name already exists in scope" (BNUM, IDMN, IDPC, DLPN). By doing so there are no compilation errors, but as soon as I start removing Externals, I get referred to Scopes where some of these are used, and from there on deleting things results in panic (mostly for me ;).
 

Attachments

  • DSDT.dsl
    1.3 MB · Views: 129
I did with refs.txt before, but I think I downloaded the iasl per Git as described in the guide. The latest version (not 51) from your repository works fine. Thanks!

The guide recommends ACPI 6.1, not ACPI 5.1

With USB _PWR 0 or 6 patch the system goes to sleep (lights are off), turning back on results in a black screen. Note I only have a USB mouse connected, because the touchpad doesn't work properly anymore, and AC is plugged. Keyboard backlight goes on when touching touchpad/keys.

No problem reporting files attached.

I attached the DSDT.dsl with PM0H patch and removed "Name already exists in scope" (BNUM, IDMN, IDPC, DLPN). By doing so there are no compilation errors, but as soon as I start removing Externals, I get referred to Scopes where some of these are used, and from there on deleting things results in panic (mostly for me ;).

Why are you "removing Externals"?
 
I tried removing the External references in the DSDT as well, regarding these entires, as I understood you suggested. It compiles fine while just removing these, but just the listings where they are with a single number behind (PCI0/_CRS, lines 357, 1484, 1485, 1486 in the original DSDT after PM0H patch)

Make sure you removed the 'External' (BNUM, IDMN, IDPC, DLPN), sic.) for each of those in order to fix that error.
Anything else would be wrong.

You will need to describe the specifics of the sleep problem.

Perhaps I simply already did what had to be done and nothing else is now fine.

Regardless, this should be the clean DSDT.dsl with only PM0H patched and those four entries removed. It compiles right, but I tried booting with this DSDT + USB3 _PWR FIX 0 and 6 to no avail.

I assumed you would refer to the previous problem reporting files. Here's the full deal, all right this time I pray.

Terminal output as per https://www.tonymacx86.com/threads/...pad-last-usb3-port.234612/page-2#post-1610218
 

Attachments

  • 7710 IOREG.zip
    520.2 KB · Views: 74
  • DSDT.dsl.zip
    80.2 KB · Views: 62
  • EFI.zip
    3.9 MB · Views: 79
  • Patchmatic.zip
    58 KB · Views: 57
I tried removing the External references in the DSDT as well, regarding these entires, as I understood you suggested. It compiles fine while just removing these, but just the listings where they are with a single number behind (PCI0/_CRS, lines 357, 1484, 1485, 1486 in the original DSDT after PM0H patch)



Perhaps I simply already did what had to be done and nothing else is now fine.

Regardless, this should be the clean DSDT.dsl with only PM0H patched and those four entries removed. It compiles right, but I tried booting with this DSDT + USB3 _PWR FIX 0 and 6 to no avail.

I assumed you would refer to the previous problem reporting files. Here's the full deal, all right this time I pray.

Terminal output as per https://www.tonymacx86.com/threads/...pad-last-usb3-port.234612/page-2#post-1610218

The DSDT in ACPI/patched in EFI.zip that you attached has really wrong patches.
You changed from:
Code:
    OperationRegion (EXBU, SystemMemory, 0x78F53000, 0x0012)
    Field (EXBU, AnyAcc, Lock, Preserve)
    {
        DAT0,   8, 
        TPMD,   8, 
        TCMD,   8, 
        IDMN,   16, 
        IDPC,   16, 
        DLPN,   40, 
        PMFG,   8, 
        CAMD,   8, 
        ECSW,   8, 
        HFSE,   8, 
        CBID,   16
    }

To:
Code:
    OperationRegion (EXBU, SystemMemory, 0x78F53000, 0x12)
    Field (EXBU, AnyAcc, Lock, Preserve)
    {
        DAT0,   8, 
        TPMD,   8, 
        TCMD,   8, 
        PMFG,   8, 
        CAMD,   8, 
        ECSW,   8, 
        HFSE,   8, 
        CBID,   16
    }

You can't delete fields arbitrarily like that as it changes the offset of the fields that follow.
 
Okay, clear. What do I do with the errors reported, that these four entries already exist in scope? How do I delete them without confusing the rest of it?

What is the next step to find out how to enable sleep?
 
Okay, clear. What do I do with the errors reported, that these four entries already exist in scope? How do I delete them without confusing the rest of it?

Already answered: Delete the related External declarations at the top of the file.

What is the next step to find out how to enable sleep?

You will need to be more specific regarding the problem with sleep and will need to provide "problem reporting" files.
 
I have now removed them from the External list at the top of the file. Thank you for the pointer.

I'm trying to produce problem reporting files as asked at https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/ Q. What are typical "Problem Reporting" files?

I added IOReg, my disassembled DSDT, my EFI folder as per instructions, patchmatic output, and terminal output. The only thing I have left is KernelCache ID from "sudo touch /S/L/E && sudo kextcache -u /": CC8047FEC0C24FA453D83F9EA0A99F1A

If there is anything more specifically I can provide, please do hint..! In other words: I really don't know what else to provide you regarding this matter, besides these files and the description of the sleep problem.
 
I have now removed them from the External list at the top of the file. Thank you for the pointer.

I'm trying to produce problem reporting files as asked at https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/ Q. What are typical "Problem Reporting" files?

I added IOReg, my disassembled DSDT, my EFI folder as per instructions, patchmatic output, and terminal output. The only thing I have left is KernelCache ID from "sudo touch /S/L/E && sudo kextcache -u /": CC8047FEC0C24FA453D83F9EA0A99F1A

If there is anything more specifically I can provide, please do hint..! In other words: I really don't know what else to provide you regarding this matter, besides these files and the description of the sleep problem.

Nothing attached.
 
Status
Not open for further replies.
Back
Top