Contribute
Register

Asus FX553VD: Keyboard working but not the Fn keys, both Smartps2 or voodoops2 not loading

Status
Not open for further replies.
Could u kindly elaborate? I did not get it.

ACPIDebug always writes to the kernel log at startup:
Code:
bool ACPIDebug::start(IOService *provider)
{
    DEBUG_LOG("ACPIDebug::start: called\n");
   
    // announce version
    extern kmod_info_t kmod_info;
    IOLog("ACPIDebug: Version %s starting on OS X Darwin %d.%d.\n", kmod_info.version, version_major, version_minor);
...

So you should at least see that.
If not, but yet ioreg shows ACPIDebug started (look at RMDT node), then the problem is your method of collecting logs.
 
ACPIDebug always writes to the kernel log at startup:
Code:
bool ACPIDebug::start(IOService *provider)
{
    DEBUG_LOG("ACPIDebug::start: called\n");
  
    // announce version
    extern kmod_info_t kmod_info;
    IOLog("ACPIDebug: Version %s starting on OS X Darwin %d.%d.\n", kmod_info.version, version_major, version_minor);
...

So you should at least see that.
If not, but yet ioreg shows ACPIDebug started (look at RMDT node), then the problem is your method of collecting logs.

I have these log

2017-10-21 21:35:02.774392+0530 0xc5 Default 0x0 0 kernel: (ACPIDebug) ACPIDebug: Version 0.1.4 starting on OS X Darwin 16.7.
(ACPIDebug) ACPIDebug: "EC _QDA enter"
2017-10-21 21:35:03.604787+0530 0xf6 Default 0x0 0 kernel: (ACPIDebug) ACPIDebug: "EC _QDA exit"
 
I have these log

2017-10-21 21:35:02.774392+0530 0xc5 Default 0x0 0 kernel: (ACPIDebug) ACPIDebug: Version 0.1.4 starting on OS X Darwin 16.7.
(ACPIDebug) ACPIDebug: "EC _QDA enter"
2017-10-21 21:35:03.604787+0530 0xf6 Default 0x0 0 kernel: (ACPIDebug) ACPIDebug: "EC _QDA exit"

Looking at your DSDT, your brightness keys will be _Q15 and _Q16.
You didn't attach "problem reporting" files.
 
Looking at your DSDT, your brightness keys will be _Q15 and _Q16.
You didn't attach "problem reporting" files.

I will look into it for now I am using brightness slider. Now I am thinking I will try to use your hotpatch method. I have created few SSDT file from your repo and your guide. Basic functionality of the laptop is fine and its stable. But when I tried to compile the files extracted with patchmatic I am getting error, looks like conflict with DSDT. How to solve this?
--------------
Input file SSDT-10.aml, Length 0x275 (629) bytes
ACPI: SSDT 0x0000000000000000 000275 (v02 hack RMCF 00000000 INTL 20161210)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1.aml
Input file SSDT-1.aml, Length 0x340B (13323) bytes
ACPI: SSDT 0x0000000000000000 00340B (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Pass 1 parse of [DSDT]
ACPI Error: [PNLL] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dsfield-732)
ACPI Error: [PRT0] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
----------------------
Last login: Sun Oct 22 15:10:23 on ttys000

Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y acpiplat
13 2 0xffffff7f82f4d000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y appleintelcpu
Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y applelpc
90 0 0xffffff7f826e6000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <85 12 5 4 3>
Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y applehda
94 1 0xffffff7f82c01000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <93 92 71 12 7 6 5 4 3 1>
120 0 0xffffff7f82d83000 0xb5000 0xb5000 com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <119 98 94 93 92 71 6 5 4 3 1>
Abhisheks-MacBook-Air:~ abanerjee$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
Abhisheks-MacBook-Air:~ abanerjee$ pmset -g assertions

2017-10-22 15:14:41 +0530

Assertion status system-wide:

BackgroundTask 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 99(hidd): [0x0000000e0009804e] 00:07:37 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968117.3"

Timeout will fire in 600 secs Action=TimeoutActionRelease

pid 193(coreaudiod): [0x00000015000180d4] 00:07:30 PreventUserIdleSystemSleep named: "com.apple.audio.Boom2Engine:0.context.preventuseridlesleep"

Created for PID: 501.

Kernel Assertions: 0x4=USB

id=502 level=255 0x4=USB mod=01/01/70, 5:30 AM description=com.apple.usb.externaldevice.14200000 owner=USB Optical Mouse

Idle sleep preventers: IODisplayWrangler

Abhisheks-MacBook-Air:~ abanerjee$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooI2C.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Shiki.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext X86PlatformPlugin.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_XHCIMux.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 42058ABF4EE6CB812F3345F774D1CCF3
 

Attachments

  • CLOVER.zip
    1.5 MB · Views: 76
  • extract.zip
    73.6 KB · Views: 88
  • Abhishek’s MacBook Air2.ioreg
    4.8 MB · Views: 109
I will look into it for now I am using brightness slider. Now I am thinking I will try to use your hotpatch method. I have created few SSDT file from your repo and your guide. Basic functionality of the laptop is fine and its stable. But when I tried to compile the files extracted with patchmatic I am getting error, looks like conflict with DSDT. How to solve this?
--------------
Input file SSDT-10.aml, Length 0x275 (629) bytes
ACPI: SSDT 0x0000000000000000 000275 (v02 hack RMCF 00000000 INTL 20161210)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1.aml
Input file SSDT-1.aml, Length 0x340B (13323) bytes
ACPI: SSDT 0x0000000000000000 00340B (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Pass 1 parse of [DSDT]
ACPI Error: [PNLL] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dsfield-732)
ACPI Error: [PRT0] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
----------------------
Last login: Sun Oct 22 15:10:23 on ttys000

Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y acpiplat
13 2 0xffffff7f82f4d000 0x60000 0x60000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y appleintelcpu
Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y applelpc
90 0 0xffffff7f826e6000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <85 12 5 4 3>
Abhisheks-MacBook-Air:~ abanerjee$ kextstat|grep -y applehda
94 1 0xffffff7f82c01000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <93 92 71 12 7 6 5 4 3 1>
120 0 0xffffff7f82d83000 0xb5000 0xb5000 com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <119 98 94 93 92 71 6 5 4 3 1>
Abhisheks-MacBook-Air:~ abanerjee$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
Abhisheks-MacBook-Air:~ abanerjee$ pmset -g assertions

2017-10-22 15:14:41 +0530

Assertion status system-wide:

BackgroundTask 0

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

PreventUserIdleSystemSleep 1

NetworkClientActive 0

Listed by owning process:

pid 99(hidd): [0x0000000e0009804e] 00:07:37 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968117.3"

Timeout will fire in 600 secs Action=TimeoutActionRelease

pid 193(coreaudiod): [0x00000015000180d4] 00:07:30 PreventUserIdleSystemSleep named: "com.apple.audio.Boom2Engine:0.context.preventuseridlesleep"

Created for PID: 501.

Kernel Assertions: 0x4=USB

id=502 level=255 0x4=USB mod=01/01/70, 5:30 AM description=com.apple.usb.externaldevice.14200000 owner=USB Optical Mouse

Idle sleep preventers: IODisplayWrangler

Abhisheks-MacBook-Air:~ abanerjee$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooI2C.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Shiki.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext X86PlatformPlugin.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_XHCIMux.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 42058ABF4EE6CB812F3345F774D1CCF3

"Problem Reporting" files are incomplete (missing ACPI/origin)
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

This patch is an example of a mistake: "change PNLF to PNLL"
 
"Problem Reporting" files are incomplete (missing ACPI/origin)
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

This patch is an example of a mistake: "change PNLF to PNLL"
Extremely sorry for that. Re-uploading that folder with extract. I removed PNLL but getting different error.
---------

ACPI: SSDT 0x0000000000000000 00340B (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Pass 1 parse of [DSDT]
ACPI Error: [PRT0] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
 

Attachments

  • extract.zip
    74.3 KB · Views: 75
  • EFI.zip
    1.5 MB · Views: 97
Last edited:
Extremely sorry for that. Re-uploading that folder with extract. I removed PNLL but getting different error.
---------

ACPI: SSDT 0x0000000000000000 00340B (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
Pass 1 parse of [DSDT]
ACPI Error: [PRT0] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)

The duplicate PRT0 is something in your native files.
You will have the same result when you disassemble ACPI/origin: iasl -da -dl DSDT.aml SSDT*.aml
It is a mistake on the part of the OEM/BIOS vendor.
Look in DSDT:
Code:
        Device (SAT0)
        {
...
            Device (PRT0)
            {
                Name (_ADR, 0xFFFF)  // _ADR: Address
            }

And then in SSDT-0:
Code:
    Scope (\_SB.PCI0.SAT0)
    {
...
        Device (PRT0)
        {

The Device(PRT0) in SSDT-0 is a duplicate of the one in DSDT and is therefore not compliant ACPI code.

The code in SSDT-0 should have been:
Code:
    Scope (\_SB.PCI0.SAT0)
    {
        Scope (PRT0)
        {
            Method (_GTF, 0, NotSerialized)  // _GTF: Get Task File
            {
                Store (Zero, CMDC)
                If (LEqual (DSSP, One))
                {
                    GTFB (STFD, 0x06)
                }
                Else
                {
                    GTFB (STFE, 0x06)
                }

                GTFB (FZTF, Zero)
                GTFB (DCFL, Zero)
                Return (SCBF)
            }
        }
 
The duplicate PRT0 is something in your native files.
You will have the same result when you disassemble ACPI/origin: iasl -da -dl DSDT.aml SSDT*.aml
It is a mistake on the part of the OEM/BIOS vendor.
Look in DSDT:
Code:
        Device (SAT0)
        {
...
            Device (PRT0)
            {
                Name (_ADR, 0xFFFF)  // _ADR: Address
            }

And then in SSDT-0:
Code:
    Scope (\_SB.PCI0.SAT0)
    {
...
        Device (PRT0)
        {

The Device(PRT0) in SSDT-0 is a duplicate of the one in DSDT and is therefore not compliant ACPI code.

The code in SSDT-0 should have been:
Code:
    Scope (\_SB.PCI0.SAT0)
    {
        Scope (PRT0)
        {
            Method (_GTF, 0, NotSerialized)  // _GTF: Get Task File
            {
                Store (Zero, CMDC)
                If (LEqual (DSSP, One))
                {
                    GTFB (STFD, 0x06)
                }
                Else
                {
                    GTFB (STFE, 0x06)
                }

                GTFB (FZTF, Zero)
                GTFB (DCFL, Zero)
                Return (SCBF)
            }
        }
Yes You suggested some changes long back . I made those changes and included SSDT-0 in /APCI/patched. I am uploading that files only and extract. Now I am getting the following error.
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-10.aml
Input file SSDT-10.aml, Length 0x35D (861) bytes
ACPI: SSDT 0x0000000000000000 00035D (v01 SataRe SataTabl 00001000 INTL 20161210)
Pass 1 parse of [SSDT]
ACPI Error: [STFE] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS
Abhisheks-MacBook-Air:extract abanerjee$ grep -l STFE *.aml
SSDT-10.aml
SSDT.aml
 

Attachments

  • SSDT-0.aml
    861 bytes · Views: 140
  • extract 2.zip
    74.8 KB · Views: 68
I made those changes and included SSDT-0 in /APCI/patched.

Now your extract as two copies of the SataTabl SSDT (SSDT-0).
Adding SSDTs to ACPI/patched without dropping the OEM table results in duplicates.

If you want to fix the error in SSDT-0, you need to create a Clover hotpatch to do it.
 
Status
Not open for further replies.
Back
Top